/trunk/src/org/tela_botanica/del/client/utils/URLUtils.java |
---|
1,7 → 1,6 |
package org.tela_botanica.del.client.utils; |
import com.google.gwt.user.client.History; |
import com.google.gwt.user.client.Window; |
public class URLUtils { |
13,11 → 12,7 |
public static String getURLSpecialParameterValue() { |
String historyToken = History.getToken(); |
int debutParam = historyToken.indexOf("~"); |
String specialParam = null; |
if(debutParam != -1) { |
specialParam = historyToken.substring(debutParam + 1); |
} |
return specialParam; |
return historyToken.substring(debutParam + 1); |
} |
} |