Skip to content

Commit fc3b599

Browse files
committed
Emergency Release for 1.5.3 (Switch Bug)
1 parent 18bd8a7 commit fc3b599

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

gwt-material/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<artifactId>gwt-material-parent</artifactId>
55
<groupId>com.github.gwtmaterialdesign</groupId>
6-
<version>1.5.2</version>
6+
<version>1.5.3</version>
77
</parent>
88
<modelVersion>4.0.0</modelVersion>
99

gwt-material/src/main/java/gwt/material/design/client/ui/MaterialSwitch.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public MaterialSwitch(boolean value) {
8383
@Override
8484
protected void onLoad() {
8585
super.onLoad();
86-
if(!offLabel.getText().isEmpty()) {
86+
if(offLabel.getText() != null && !offLabel.getText().isEmpty()) {
8787
label.add(offLabel);
8888
}
8989
label.add(input);
@@ -102,7 +102,7 @@ public void onClick(ClickEvent event) {
102102
event.stopPropagation();
103103
}
104104
});
105-
if(!onLabel.getText().isEmpty()) {
105+
if(onLabel.getText() != null && !onLabel.getText().isEmpty()) {
106106
label.add(onLabel);
107107
}
108108
}

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<groupId>com.github.gwtmaterialdesign</groupId>
66
<artifactId>gwt-material-parent</artifactId>
77
<packaging>pom</packaging>
8-
<version>1.5.2</version>
8+
<version>1.5.3</version>
99

1010
<modules>
1111
<module>gwt-material</module>
@@ -62,7 +62,7 @@
6262
<connection>scm:git:[email protected]:GwtMaterialDesign/gwt-material.git</connection>
6363
<developerConnection>scm:git:[email protected]:GwtMaterialDesign/gwt-material.git</developerConnection>
6464
<url>http://github.com/GwtMaterialDesign/gwt-material</url>
65-
<tag>v1.5.2</tag>
65+
<tag>v1.5.3</tag>
6666
</scm>
6767

6868
<licenses>

0 commit comments

Comments
 (0)