HomeSort by relevance Sort by last modified time
    Searched refs:oldString (Results 1 - 4 of 4) sorted by null

  /external/smack/src/org/jivesoftware/smackx/workgroup/ext/notes/
ChatNotes.java 114 * Replaces all instances of oldString with newString in string.
117 * @param oldString the String that should be replaced by newString
118 * @param newString the String that will replace all instances of oldString
119 * @return a String will all instances of oldString replaced by newString
121 public static final String replace(String string, String oldString, String newString) {
131 // Make sure that oldString appears at least once before doing any processing.
132 if ((i = string.indexOf(oldString, i)) >= 0) {
136 int oLength = oldString.length();
141 // Replace all remaining instances of oldString with newString.
142 while ((i = string.indexOf(oldString, i)) > 0) {
    [all...]
  /external/smack/src/org/jivesoftware/smackx/workgroup/util/
ModelUtil.java 216 * @param oldString is the initial value of the String
218 * @return true If both oldString and newString are null or if they are
221 public static boolean hasStringChanged(String oldString, String newString) {
222 if (oldString == null && newString == null) {
225 else if ((oldString == null && newString != null)
226 || (oldString != null && newString == null)) {
230 return !oldString.equals(newString);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
ReplaceStringsVisitor.java 71 String oldString,
77 mOldString = oldString;
  /external/webkit/Tools/DumpRenderTree/gtk/
DumpRenderTree.cpp 131 gchar* oldString = target;
133 g_free(oldString);
    [all...]

Completed in 315 milliseconds