Skip to content

Commit 955375c

Browse files
committed
Updating API
1 parent 4c3177a commit 955375c

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
}
55

66
group = 'com.labelzoom.api'
7-
version = '1.0.3'
7+
version = '1.0.4'
88

99
repositories {
1010
mavenCentral()

src/main/java/com/labelzoom/api/model/components/IContainer.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22

33
public interface IContainer extends IComponent
44
{
5-
Iterable<IComponent> getChildren();
5+
Iterable<? extends IComponent> getChildren();
66
}

src/main/java/com/labelzoom/api/model/components/ILabel.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ public interface ILabel
2222
PageOrientation getOrientation();
2323
void setOrientation(PageOrientation orientation);
2424

25-
List<ILayer> getLayers();
26-
void setLayers(List<ILayer> layers);
25+
List<? extends ILayer> getLayers();
26+
void setLayers(List<? extends ILayer> layers);
2727

2828
IDataCommand getDataCommand();
2929
void setDataCommand(IDataCommand dataCommand);
@@ -37,9 +37,9 @@ public interface ILabel
3737
UUID getId();
3838
void setId(UUID id);
3939

40-
List<IComponent> getElements();
41-
List<IComponent> getSortedElements();
42-
void setElements(List<IComponent> elements);
40+
List<? extends IComponent> getElements();
41+
List<? extends IComponent> getSortedElements();
42+
void setElements(List<? extends IComponent> elements);
4343

4444
void addElement(IComponent element);
4545
}

src/main/java/com/labelzoom/api/model/components/ILayer.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ public interface ILayer
77
String getName();
88
void setName(String name);
99

10-
List<IComponent> getElements();
11-
void setElements(List<IComponent> elements);
10+
List<? extends IComponent> getElements();
11+
void setElements(List<? extends IComponent> elements);
1212
}

src/main/java/com/labelzoom/api/model/components/IVariableField.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
@Deprecated
1616
public interface IVariableField
1717
{
18-
void setDataField(String fldnam);
18+
void setDataField(String fieldName);
1919
String getDataField();
2020

2121
void setFieldValue(String value);

0 commit comments

Comments
 (0)