(FindBugs) use %n rather than \n for locale-dependent EOLs

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/net/trunk@1788521 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/java/examples/cidr/SubnetUtilsExample.java b/src/main/java/examples/cidr/SubnetUtilsExample.java
index 35a4432..4c322cb 100644
--- a/src/main/java/examples/cidr/SubnetUtilsExample.java
+++ b/src/main/java/examples/cidr/SubnetUtilsExample.java
@@ -33,27 +33,27 @@
         SubnetUtils utils = new SubnetUtils(subnet);
         SubnetInfo info = utils.getInfo();
 
-        System.out.printf("Subnet Information for %s:\n", subnet);
+        System.out.printf("Subnet Information for %s:%n", subnet);
         System.out.println("--------------------------------------");
-        System.out.printf("IP Address:\t\t\t%s\t[%s]\n", info.getAddress(),
+        System.out.printf("IP Address:\t\t\t%s\t[%s]%n", info.getAddress(),
                 Integer.toBinaryString(info.asInteger(info.getAddress())));
-        System.out.printf("Netmask:\t\t\t%s\t[%s]\n", info.getNetmask(),
+        System.out.printf("Netmask:\t\t\t%s\t[%s]%n", info.getNetmask(),
                 Integer.toBinaryString(info.asInteger(info.getNetmask())));
-        System.out.printf("CIDR Representation:\t\t%s\n\n", info.getCidrSignature());
+        System.out.printf("CIDR Representation:\t\t%s%n%n", info.getCidrSignature());
 
-        System.out.printf("Supplied IP Address:\t\t%s\n\n", info.getAddress());
+        System.out.printf("Supplied IP Address:\t\t%s%n%n", info.getAddress());
 
-        System.out.printf("Network Address:\t\t%s\t[%s]\n", info.getNetworkAddress(),
+        System.out.printf("Network Address:\t\t%s\t[%s]%n", info.getNetworkAddress(),
                 Integer.toBinaryString(info.asInteger(info.getNetworkAddress())));
-        System.out.printf("Broadcast Address:\t\t%s\t[%s]\n", info.getBroadcastAddress(),
+        System.out.printf("Broadcast Address:\t\t%s\t[%s]%n", info.getBroadcastAddress(),
                 Integer.toBinaryString(info.asInteger(info.getBroadcastAddress())));
-        System.out.printf("Low Address:\t\t\t%s\t[%s]\n", info.getLowAddress(),
+        System.out.printf("Low Address:\t\t\t%s\t[%s]%n", info.getLowAddress(),
                 Integer.toBinaryString(info.asInteger(info.getLowAddress())));
-        System.out.printf("High Address:\t\t\t%s\t[%s]\n", info.getHighAddress(),
+        System.out.printf("High Address:\t\t\t%s\t[%s]%n", info.getHighAddress(),
                 Integer.toBinaryString(info.asInteger(info.getHighAddress())));
 
-        System.out.printf("Total usable addresses: \t%d\n", Long.valueOf(info.getAddressCountLong()));
-        System.out.printf("Address List: %s\n\n", Arrays.toString(info.getAllAddresses()));
+        System.out.printf("Total usable addresses: \t%d%n", Long.valueOf(info.getAddressCountLong()));
+        System.out.printf("Address List: %s%n%n", Arrays.toString(info.getAllAddresses()));
 
         final String prompt ="Enter an IP address (e.g. 192.168.0.10):";
         System.out.println(prompt);