fix indentation checkstyle errors
[bgpcep.git] / pcep / impl / src / main / java / org / opendaylight / protocol / pcep / impl / tls / SslKeyStore.java
index 5c49c083d6d1fbbda919f3cc63cffcb1036a2164..6b68dd199394534ddb80b1a6a9409171913d2515 100644 (file)
@@ -37,21 +37,21 @@ public final class SslKeyStore {
     public static InputStream asInputStream(final String filename, final PathType pathType) {
         InputStream in;
         switch (pathType) {
-        case CLASSPATH:
-            in = SslKeyStore.class.getResourceAsStream(filename);
-            Preconditions.checkArgument(in != null, "KeyStore file not found: %s", filename);
-            break;
-        case PATH:
-            LOG.debug("Current dir using System: {}", System.getProperty("user.dir"));
-            final File keystorefile = new File(filename);
-            try {
-                in = new FileInputStream(keystorefile);
-            } catch (final FileNotFoundException e) {
-                throw new IllegalStateException("KeyStore file not found: " + filename,e);
-            }
-            break;
-        default:
-            throw new IllegalArgumentException("Unknown path type: " + pathType);
+            case CLASSPATH:
+                in = SslKeyStore.class.getResourceAsStream(filename);
+                Preconditions.checkArgument(in != null, "KeyStore file not found: %s", filename);
+                break;
+            case PATH:
+                LOG.debug("Current dir using System: {}", System.getProperty("user.dir"));
+                final File keystorefile = new File(filename);
+                try {
+                    in = new FileInputStream(keystorefile);
+                } catch (final FileNotFoundException e) {
+                    throw new IllegalStateException("KeyStore file not found: " + filename,e);
+                }
+                break;
+            default:
+                throw new IllegalArgumentException("Unknown path type: " + pathType);
         }
         return in;
     }