@Test(expected = ProviderMismatchException.class) public void checkSchemeTest() { GfsUriUtils.checkScheme(URI.create("/somepath")); }
static void checkScheme(URI uri) throws ProviderMismatchException { if(!GitFileSystemProvider.GFS.equalsIgnoreCase(uri.getScheme())) throw new ProviderMismatchException(uri.getScheme()); }
GfsUriUtils { static void checkScheme(URI uri) throws ProviderMismatchException { if(!GitFileSystemProvider.GFS.equalsIgnoreCase(uri.getScheme())) throw new ProviderMismatchException(uri.getScheme()); } }
GfsUriUtils { static void checkScheme(URI uri) throws ProviderMismatchException { if(!GitFileSystemProvider.GFS.equalsIgnoreCase(uri.getScheme())) throw new ProviderMismatchException(uri.getScheme()); }  }
GfsUriUtils { static void checkScheme(URI uri) throws ProviderMismatchException { if(!GitFileSystemProvider.GFS.equalsIgnoreCase(uri.getScheme())) throw new ProviderMismatchException(uri.getScheme()); }  @Nonnull static String getRepository(URI uri); @Nonnull static String getFile(URI uri); @Nonnull static Map<String, String> parseQuery(@Nullable String query, @Nullable Set<String> keys); @Nullable static String getSession(URI uri); }
GfsUriUtils { static void checkScheme(URI uri) throws ProviderMismatchException { if(!GitFileSystemProvider.GFS.equalsIgnoreCase(uri.getScheme())) throw new ProviderMismatchException(uri.getScheme()); }  @Nonnull static String getRepository(URI uri); @Nonnull static String getFile(URI uri); @Nonnull static Map<String, String> parseQuery(@Nullable String query, @Nullable Set<String> keys); @Nullable static String getSession(URI uri); final static String SID_KEY; }