OSLC Jira Provider v7.1.7 Java classes/JiraChangeRequest.java
public static String parseId(String uri) {
		if (uri != null) {
			int idx = uri.lastIndexOf('/');
			if (idx != -1 && idx < uri.length() - 1) {
				return uri.substring(idx + 1);
			}
		}
		return null;
	}
/**
	 * Extract id from last segment of uri
	 * 
	 * @param uri
	 *            the uri containing if in the last segment of uri
	 * @return id from last segment of uri
	 */
Extract id from last segment of uri

@param uri
the uri containing if in the last segment of uri
@return id from last segment of uri
Extract id from last segment of uri @param uri the uri containing if in the last segment of uri @return id from last segment of uri
public static String parseId(String uri) {
		if (uri != null) {
			int idx = uri.lastIndexOf('/');
			if (idx != -1 && idx < uri.length() - 1) {
				return uri.substring(idx + 1);
			}
		}
		return null;
	}
public static String parseId ( String uri ) { if ( uri != null ) { int idx = uri . lastIndexOf ( '/' ) ; if ( idx != - 1 && idx < uri . length ( ) - 1 ) { return uri . substring ( idx + 1 ) ; } } return null ; }
Extract id from last segment of uri
Extract id from last segment of uri