@Test public void testGetIDNullAuthorizable() { assertNull(QueryUtil.getID(null)); }
@Nullable public static String getID(@Nullable Authorizable authorizable) { if (authorizable != null) { try { return authorizable.getID(); } catch (RepositoryException e) { log.debug("Error while retrieving ID for authorizable {}", authorizable, e); } } return null; }
QueryUtil { @Nullable public static String getID(@Nullable Authorizable authorizable) { if (authorizable != null) { try { return authorizable.getID(); } catch (RepositoryException e) { log.debug("Error while retrieving ID for authorizable {}", authorizable, e); } } return null; } }
QueryUtil { @Nullable public static String getID(@Nullable Authorizable authorizable) { if (authorizable != null) { try { return authorizable.getID(); } catch (RepositoryException e) { log.debug("Error while retrieving ID for authorizable {}", authorizable, e); } } return null; } private  QueryUtil(); }
QueryUtil { @Nullable public static String getID(@Nullable Authorizable authorizable) { if (authorizable != null) { try { return authorizable.getID(); } catch (RepositoryException e) { log.debug("Error while retrieving ID for authorizable {}", authorizable, e); } } return null; } private  QueryUtil(); @NotNull static String getSearchRoot(AuthorizableType type, ConfigurationParameters config); @NotNull static String getNodeTypeName(@NotNull AuthorizableType type); @NotNull static String escapeNodeName(@NotNull String string); @NotNull static String format(@NotNull Value value); @NotNull static String escapeForQuery(@NotNull String oakName, @NotNull NamePathMapper namePathMapper); @NotNull static String escapeForQuery(@NotNull String value); @NotNull static RelationOp getCollation(@NotNull QueryBuilder.Direction direction); @Nullable static String getID(@Nullable Authorizable authorizable); }
QueryUtil { @Nullable public static String getID(@Nullable Authorizable authorizable) { if (authorizable != null) { try { return authorizable.getID(); } catch (RepositoryException e) { log.debug("Error while retrieving ID for authorizable {}", authorizable, e); } } return null; } private  QueryUtil(); @NotNull static String getSearchRoot(AuthorizableType type, ConfigurationParameters config); @NotNull static String getNodeTypeName(@NotNull AuthorizableType type); @NotNull static String escapeNodeName(@NotNull String string); @NotNull static String format(@NotNull Value value); @NotNull static String escapeForQuery(@NotNull String oakName, @NotNull NamePathMapper namePathMapper); @NotNull static String escapeForQuery(@NotNull String value); @NotNull static RelationOp getCollation(@NotNull QueryBuilder.Direction direction); @Nullable static String getID(@Nullable Authorizable authorizable);  }