refactor 'final static' to 'static final' convention

This commit is contained in:
Gustl22
2018-12-06 21:06:04 +01:00
parent 62132937da
commit 70dd6554c3
110 changed files with 306 additions and 306 deletions

View File

@@ -11,8 +11,8 @@ import org.oscim.theme.styles.RenderStyle;
public class DebugTheme implements IRenderTheme {
private final static LineStyle[] line = {new LineStyle(1, Color.MAGENTA, 2)};
private final static AreaStyle[] area = {new AreaStyle(0, Color.CYAN)};
private static final LineStyle[] line = {new LineStyle(1, Color.MAGENTA, 2)};
private static final AreaStyle[] area = {new AreaStyle(0, Color.CYAN)};
@Override
public RenderStyle[] matchElement(GeometryType type, TagSet tags, int zoomLevel) {

View File

@@ -144,7 +144,7 @@ public class CustomRenderer extends LayerRenderer {
return true;
}
private final static String vShaderStr = "" +
private static final String vShaderStr = "" +
"precision mediump float;"
+ "uniform mat4 u_mvp;"
+ "attribute vec4 a_pos;"
@@ -155,7 +155,7 @@ public class CustomRenderer extends LayerRenderer {
+ " alpha = a_pos.z;"
+ "}";
private final static String fShaderStr = "" +
private static final String fShaderStr = "" +
"precision mediump float;"
+ "varying float alpha;"
+ "void main()"

View File

@@ -200,7 +200,7 @@ public class HexagonRenderTest extends GdxMapApp {
return true;
}
private final static String vShaderStr = ""
private static final String vShaderStr = ""
+ "#ifdef GLES\n"
+ "precision mediump float;\n"
+ "#endif\n"
@@ -212,7 +212,7 @@ public class HexagonRenderTest extends GdxMapApp {
+ " gl_Position = u_mvp * vec4(u_center + a_pos, 0.0, 1.0);"
+ "}";
private final static String fShaderStr = ""
private static final String fShaderStr = ""
+ "#ifdef GLES\n"
+ "precision mediump float;\n"
+ "#endif\n"