aboutsummaryrefslogtreecommitdiffstats
path: root/src/junit/com/jogamp/common/net/URIDumpUtil.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/net/URIDumpUtil.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/net/URIDumpUtil.java')
-rw-r--r--src/junit/com/jogamp/common/net/URIDumpUtil.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/junit/com/jogamp/common/net/URIDumpUtil.java b/src/junit/com/jogamp/common/net/URIDumpUtil.java
index 132a19c..8d94b6d 100644
--- a/src/junit/com/jogamp/common/net/URIDumpUtil.java
+++ b/src/junit/com/jogamp/common/net/URIDumpUtil.java
@@ -6,14 +6,14 @@ import java.net.URISyntaxException;
import java.net.URL;
public class URIDumpUtil {
- public static void showURX(String urx) throws MalformedURLException, URISyntaxException {
+ public static void showURX(final String urx) throws MalformedURLException, URISyntaxException {
System.err.println("XXXXXX "+urx);
showURL(new URL(urx));
showURI(new URI(urx));
System.err.println("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
}
- public static void showURL(URL url) {
+ public static void showURL(final URL url) {
System.err.println("YYYYYY URL "+url);
System.err.println("protocol: "+url.getProtocol());
System.err.println("auth: "+url.getAuthority());
@@ -22,7 +22,7 @@ public class URIDumpUtil {
System.err.println("file: "+url.getFile() + " ( path " + url.getPath() + ", query " + url.getQuery() + " ) " );
System.err.println("ref: "+url.getRef());
}
- public static void showURI(URI uri) {
+ public static void showURI(final URI uri) {
System.err.println("ZZZZZZ URI "+uri);
// 1 [scheme:]scheme-specific-part[#fragment]
System.err.println("1 scheme: "+uri.getScheme());