summaryrefslogtreecommitdiffstats
path: root/src/junit/com/jogamp/common/util/TestIOUtilURICompose.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-07-03 16:06:47 +0200
committerSven Gothel <[email protected]>2014-07-03 16:06:47 +0200
commitdf9ff7f340a5ab4e07efc613f5f264eeae63d4c7 (patch)
tree239ae276b82024b140428e6c0fe5d739fdd686a4 /src/junit/com/jogamp/common/util/TestIOUtilURICompose.java
parenteb47aaba63e3b1bf55f274a0f338f1010a017ae4 (diff)
Code Clean-Up based on our Recommended Settings (jogamp-scripting c47bc86ae2ee268a1f38c5580d11f93d7f8d6e74)
Code Clean-Up based on our Recommended Settings (jogamp-scripting c47bc86ae2ee268a1f38c5580d11f93d7f8d6e74) - Change non static accesses to static members using declaring type - Change indirect accesses to static members to direct accesses (accesses through subtypes) - Add final modifier to private fields - Add final modifier to method parameters - Add final modifier to local variables - Remove unnecessary casts - Remove unnecessary '$NON-NLS$' tags - Remove trailing white spaces on all lines
Diffstat (limited to 'src/junit/com/jogamp/common/util/TestIOUtilURICompose.java')
-rw-r--r--src/junit/com/jogamp/common/util/TestIOUtilURICompose.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/junit/com/jogamp/common/util/TestIOUtilURICompose.java b/src/junit/com/jogamp/common/util/TestIOUtilURICompose.java
index 0809599..3369afd 100644
--- a/src/junit/com/jogamp/common/util/TestIOUtilURICompose.java
+++ b/src/junit/com/jogamp/common/util/TestIOUtilURICompose.java
@@ -39,15 +39,15 @@ public class TestIOUtilURICompose extends JunitTracer {
testURLCompositioning(file1URL, new URL("asset:jar:file:/web1/file1.jar!/rootDir/dummyParent/../file1.txt"));
}
- static void testURNCompositioning(String urn) throws MalformedURLException, URISyntaxException {
+ static void testURNCompositioning(final String urn) throws MalformedURLException, URISyntaxException {
testURICompositioning( new URI(urn) );
testURLCompositioning( new URL(urn) );
}
- static void testURICompositioning(URI uri) throws MalformedURLException, URISyntaxException {
+ static void testURICompositioning(final URI uri) throws MalformedURLException, URISyntaxException {
testURICompositioning(uri, uri);
}
- static void testURICompositioning(URI refURI, URI uri1) throws MalformedURLException, URISyntaxException {
+ static void testURICompositioning(final URI refURI, final URI uri1) throws MalformedURLException, URISyntaxException {
final String scheme = uri1.getScheme();
final String ssp = uri1.getRawSchemeSpecificPart();
final String fragment = uri1.getRawFragment();
@@ -62,10 +62,10 @@ public class TestIOUtilURICompose extends JunitTracer {
Assert.assertEquals(refURI, uri2);
}
- static void testURLCompositioning(URL url) throws MalformedURLException, URISyntaxException {
+ static void testURLCompositioning(final URL url) throws MalformedURLException, URISyntaxException {
testURLCompositioning(url, url);
}
- static void testURLCompositioning(URL refURL, URL url1) throws MalformedURLException, URISyntaxException {
+ static void testURLCompositioning(final URL refURL, final URL url1) throws MalformedURLException, URISyntaxException {
final URI uri1 = url1.toURI();
final String scheme = uri1.getScheme();
final String ssp = uri1.getRawSchemeSpecificPart();
@@ -85,8 +85,8 @@ public class TestIOUtilURICompose extends JunitTracer {
Assert.assertTrue(refURL.sameFile(uri2.toURL()));
}
- public static void main(String args[]) throws IOException {
- String tstname = TestIOUtilURICompose.class.getName();
+ public static void main(final String args[]) throws IOException {
+ final String tstname = TestIOUtilURICompose.class.getName();
org.junit.runner.JUnitCore.main(tstname);
}
}