Search Results
OK to copy?
Examples 1 through 10 of
278 (0.446 seconds)
Class:
org.apache.batik.apps.svgbrowser.LocalHistory
©,
Rating:
100% of 2,
C2
Class: org.springframework.web.servlet.mvc.multiaction.InternalPathMethodNameResolver ©, Rating: 0% of 0, C1
Class: org.springframework.web.servlet.mvc.multiaction.InternalPathMethodNameResolver ©, Rating: 0% of 0, C1
Class: org.springframework.web.servlet.mvc.UrlFilenameViewController ©, Rating: 0% of 0, C2
Class: org.springframework.web.servlet.mvc.UrlFilenameViewController ©, Rating: 0% of 0, C2
Class: com.technoetic.xplanner.security.auth.Permission ©, Rating: 0% of 0, C1
Class: com.technoetic.xplanner.wiki.ExternalTwikiAdapter ©, Rating: 0% of 0, C1
Class: com.technoetic.xplanner.wiki.ExternalTwikiAdapter ©, Rating: 0% of 0, C1
Class: com.technoetic.xplanner.security.auth.PermissionSetKey ©, Rating: 0% of 0, C1
Class: org.springframework.beans.factory.xml.BeansDtdResolver ©, Rating: 0% of 0, C1
228 // Computes the button text.
229 String text = uri;
230 int i = uri.lastIndexOf("/");
231 if (i == -1) {
232 i = uri.lastIndexOf("\\");
Class: org.springframework.web.servlet.mvc.multiaction.InternalPathMethodNameResolver ©, Rating: 0% of 0, C1
42 }
43 // ignore extension
44 int dotIndex = name.lastIndexOf('.');
45 if (dotIndex != -1) {
46 name = name.substring(0, dotIndex);
Class: org.springframework.web.servlet.mvc.multiaction.InternalPathMethodNameResolver ©, Rating: 0% of 0, C1
37 String name = urlPath;
38 // look at resource name after last slash
39 int slashIndex = name.lastIndexOf('/');
40 if (slashIndex != -1) {
41 name = name.substring(slashIndex+1);
Class: org.springframework.web.servlet.mvc.UrlFilenameViewController ©, Rating: 0% of 0, C2
50 String fileName = uri.substring(begin, end);
51 if (fileName.indexOf(".") != -1) {
52 fileName = fileName.substring(0, fileName.lastIndexOf("."));
53 }
54 return new ModelAndView(fileName);
Class: org.springframework.web.servlet.mvc.UrlFilenameViewController ©, Rating: 0% of 0, C2
31 public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) {
32 String uri = request.getRequestURI();
33 int begin = uri.lastIndexOf('/');
34 if (begin == -1) {
35 begin = 0;
Class: com.technoetic.xplanner.security.auth.Permission ©, Rating: 0% of 0, C1
59
60 public String toString() {
61 return getClass().getName().substring(getClass().getName().lastIndexOf(".")+1)+"(" +
62 "id="+id +", principalId=" +principalId +", resourceType='" +
63 resourceType+"'"+", resourceId="+resourceId+", name='"+name +"')";
Class: com.technoetic.xplanner.wiki.ExternalTwikiAdapter ©, Rating: 0% of 0, C1
46
47 private String getWord(String wikiWord) {
48 int periodOffset = wikiWord.lastIndexOf(".");
49 return periodOffset != -1
50 ? wikiWord.substring(periodOffset + 1, wikiWord.length())
Class: com.technoetic.xplanner.wiki.ExternalTwikiAdapter ©, Rating: 0% of 0, C1
35
36 private String getSubWiki(String wikiWord) {
37 int periodOffset = wikiWord.lastIndexOf(".");
38 String subwiki;
39 if (periodOffset != -1) {
Class: com.technoetic.xplanner.security.auth.PermissionSetKey ©, Rating: 0% of 0, C1
54
55 public String toString() {
56 return getClass().getName().substring(getClass().getName().lastIndexOf(".")+1) +
57 "("+principalId+","+resourceType+","+resourceId+","+permission+")";
58 }
Class: org.springframework.beans.factory.xml.BeansDtdResolver ©, Rating: 0% of 0, C1
50 logger.debug("Trying to resolve XML entity with public ID [" + publicId +
51 "] and system ID [" + systemId + "]");
52 if (systemId != null && systemId.indexOf(DTD_NAME) > systemId.lastIndexOf("/")) {
53 String dtdFile = systemId.substring(systemId.indexOf(DTD_NAME));
54 logger.debug("Trying to locate [" + dtdFile + "] under [" + SEARCH_PACKAGE + "]");