Skip to content

Commit 431d0cd

Browse files
committed
WTF
1 parent f0fb3e5 commit 431d0cd

File tree

4 files changed

+15
-6
lines changed

4 files changed

+15
-6
lines changed

CodenameOne/src/com/codename1/components/Accordion.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public Accordion() {
8181
FontImage.createMaterial(FontImage.MATERIAL_KEYBOARD_ARROW_RIGHT, UIManager.getInstance().getComponentStyle(uiidOpenCloseIcon));
8282
this.openIcon = FontImage.createMaterial(FontImage.MATERIAL_KEYBOARD_ARROW_DOWN, UIManager.getInstance().getComponentStyle(uiidOpenCloseIcon));
8383

84-
setScrollableY(true);
84+
super.setScrollableY(true);
8585
}
8686

8787
/**

CodenameOne/src/com/codename1/ui/Component.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7252,7 +7252,7 @@ protected void deinitializeCustomStyle(Style s) {
72527252
*
72537253
* @return true if the component is working in a right to left mode
72547254
*/
7255-
public boolean isRTL() {
7255+
public final boolean isRTL() {
72567256
return rtl;
72577257
}
72587258

CodenameOne/src/com/codename1/ui/Form.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4406,6 +4406,7 @@ public boolean isScrollableY() {
44064406
/**
44074407
* {@inheritDoc}
44084408
*/
4409+
@Override
44094410
public void setScrollableY(boolean scrollableY) {
44104411
getContentPane().setScrollableY(scrollableY);
44114412
}

maven/core-unittests/spotbugs-exclude.xml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@
2525
<Bug pattern="BC_UNCONFIRMED_CAST_OF_RETURN_VALUE"/>
2626
</Match>
2727

28+
<!--
29+
This inspection seems buggy. It highlighted the wrong line in
30+
a file that didn't have any visible related problem.
31+
-->
32+
<Match>
33+
<Bug pattern="NM_CONFUSING"/>
34+
</Match>
35+
2836
<!--
2937
This fails on writing to a static field from a non-static method.
3038
This is a bad practice in general because it could indicate a state
@@ -118,13 +126,13 @@
118126

119127
<!-- Excluded classes... -->
120128

121-
<!-- Deprecated classes that should be excluded from checks -->
129+
<!-- Badly written 3rd party class -->
122130
<Match>
123-
<Class name="~com\.codename1\.db\.ThreadSafeDatabase(\$.*)?" />
131+
<Class name="com.codename1.io.tar.TarEntry" />
124132
</Match>
125133

126-
<!-- Badly written 3rd party classes -->
134+
<!-- Deprecated classes that should be excluded from checks -->
127135
<Match>
128-
<Class name="com.codename1.io.tar.TarEntry" />
136+
<Class name="~com\.codename1\.db\.ThreadSafeDatabase(\$.*)?" />
129137
</Match>
130138
</FindBugsFilter>

0 commit comments

Comments
 (0)