summaryrefslogtreecommitdiffstats
path: root/server/src/test
diff options
context:
space:
mode:
authorAhmed Ashour <asashour@yahoo.com>2017-09-21 14:25:46 +0200
committerHenri Sara <henri.sara@gmail.com>2017-09-21 15:25:46 +0300
commit11ddb11cbc72b0ee233e503058d4e104030e4aa3 (patch)
treea3cef3be53ee41bba3d8ab8b64b0e10b2483a5fa /server/src/test
parente118f4d860adeaca1690ef095906ae6be84f3cb5 (diff)
downloadvaadin-framework-11ddb11cbc72b0ee233e503058d4e104030e4aa3.tar.gz
vaadin-framework-11ddb11cbc72b0ee233e503058d4e104030e4aa3.zip
Update modifier order to follow Java Specification suggestions (#10050)
Also includes some other minor cleanup.
Diffstat (limited to 'server/src/test')
-rw-r--r--server/src/test/java/com/vaadin/tests/server/ClassesSerializableTest.java4
-rw-r--r--server/src/test/java/com/vaadin/tests/server/ClasspathHelper.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/server/src/test/java/com/vaadin/tests/server/ClassesSerializableTest.java b/server/src/test/java/com/vaadin/tests/server/ClassesSerializableTest.java
index d2d25b4777..085c0ec348 100644
--- a/server/src/test/java/com/vaadin/tests/server/ClassesSerializableTest.java
+++ b/server/src/test/java/com/vaadin/tests/server/ClassesSerializableTest.java
@@ -271,7 +271,7 @@ public class ClassesSerializableTest {
*
* @return List of class path segment strings
*/
- private final static List<String> getRawClasspathEntries() {
+ private static final List<String> getRawClasspathEntries() {
// try to keep the order of the classpath
List<String> locations = new ArrayList<>();
@@ -382,7 +382,7 @@ public class ClassesSerializableTest {
* File representing the directory to scan
* @return collection of fully qualified class names in the directory
*/
- private final static Collection<String> findClassesInDirectory(
+ private static final Collection<String> findClassesInDirectory(
String parentPackage, File parent) {
if (parent.isHidden()
|| parent.getPath().contains(File.separator + ".")) {
diff --git a/server/src/test/java/com/vaadin/tests/server/ClasspathHelper.java b/server/src/test/java/com/vaadin/tests/server/ClasspathHelper.java
index 0a7ae5fe75..946a51a9f1 100644
--- a/server/src/test/java/com/vaadin/tests/server/ClasspathHelper.java
+++ b/server/src/test/java/com/vaadin/tests/server/ClasspathHelper.java
@@ -112,7 +112,7 @@ public class ClasspathHelper {
}
}
- private final static List<String> getRawClasspathEntries() {
+ private static final List<String> getRawClasspathEntries() {
List<String> locations = new ArrayList<>();
String pathSep = System.getProperty("path.separator");