< prev index next >

src/java.corba/share/classes/com/sun/tools/corba/se/idl/RepositoryID.java

Print this page

        

*** 66,77 **** } // toString /** * Determine is a supplied string meets the minimal format requirement * for a Repository ID. ! * @return true iff supplied string has form '<format>:<string>', where ! * <format> is any non-empty string not containing ':'. **/ public static boolean hasValidForm (String string) { return string != null && string.indexOf (':') > 0; } // hasValidForm --- 66,77 ---- } // toString /** * Determine is a supplied string meets the minimal format requirement * for a Repository ID. ! * @return true if supplied string has form {@literal '<format>:<string>'}, where ! * {@literal <format>} is any non-empty string not containing ':'. **/ public static boolean hasValidForm (String string) { return string != null && string.indexOf (':') > 0; } // hasValidForm
< prev index next >