moving property showing thingy into namespace package
This commit is contained in:
parent
098acfcf2d
commit
87e7008caf
@ -1,3 +1,5 @@
|
|||||||
|
package com.meatballhat.learningjava;
|
||||||
|
|
||||||
import java.io.FileInputStream;
|
import java.io.FileInputStream;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
|
||||||
@ -5,7 +7,7 @@ import java.util.Properties;
|
|||||||
public class ShowProps {
|
public class ShowProps {
|
||||||
public static String USAGE = "Usage: ShowProps <properties-file>";
|
public static String USAGE = "Usage: ShowProps <properties-file>";
|
||||||
|
|
||||||
public static void main(String[] args)
|
public static void main(String[] args)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
|
||||||
@ -24,7 +26,7 @@ public class ShowProps {
|
|||||||
System.out.println("OMG FAIL");
|
System.out.println("OMG FAIL");
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user