Search Results
OK to copy?
Examples 1 through 10 of
1421 (0.009999999999999998 seconds)
Class:
org.springframework.core.io.FileSystemResourceLoader
©,
Rating:
0% of 1,
C1
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.config.WebResourceCollection ©, Rating: 0% of 0, C3
Class: com.technoetic.xplanner.security.config.WebResourceCollection ©, Rating: 0% of 0, C3
Class: com.technoetic.xplanner.security.auth.Permission ©, Rating: 0% of 0, C1
Class: org.apache.jmeter.functions.ThreadNumber ©, Rating: 0% of 0, C1
Class: com.technoetic.xplanner.wiki.ExternalTwikiAdapter ©, Rating: 0% of 0, C1
42 protected Resource getResourceByPath(String path) {
43 if (path != null && path.startsWith("/")) {
44 path = path.substring(1);
45 }
46 return new FileSystemResource(path);
Class: org.springframework.web.servlet.mvc.multiaction.InternalPathMethodNameResolver ©, Rating: 0% of 0, C1
44 int dotIndex = name.lastIndexOf('.');
45 if (dotIndex != -1) {
46 name = name.substring(0, dotIndex);
47 }
48 return name;
Class: org.springframework.web.servlet.mvc.multiaction.InternalPathMethodNameResolver ©, Rating: 0% of 0, C1
39 int slashIndex = name.lastIndexOf('/');
40 if (slashIndex != -1) {
41 name = name.substring(slashIndex+1);
42 }
43 // ignore extension
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
48 end = uri.length();
49 }
50 String fileName = uri.substring(begin, end);
51 if (fileName.indexOf(".") != -1) {
52 fileName = fileName.substring(0, fileName.lastIndexOf("."));
Class: com.technoetic.xplanner.security.config.WebResourceCollection ©, Rating: 0% of 0, C3
42 String path = request.getServletPath() +
43 (request.getPathInfo() == null ? "" : request.getPathInfo());
44 return (urlPattern.equals("/") && (path.equals("/"))) ||
45 (urlPattern.length() > 2 && urlPattern.startsWith("*.") && path != null && path.endsWith(urlPattern.substring(2))) ||
46 (urlPattern.endsWith("*") && path != null && path.startsWith(urlPattern.substring(0, urlPattern.length() - 1))) ||
Class: com.technoetic.xplanner.security.config.WebResourceCollection ©, Rating: 0% of 0, C3
42 String path = request.getServletPath() +
43 (request.getPathInfo() == null ? "" : request.getPathInfo());
44 return (urlPattern.equals("/") && (path.equals("/"))) ||
45 (urlPattern.length() > 2 && urlPattern.startsWith("*.") && path != null && path.endsWith(urlPattern.substring(2))) ||
46 (urlPattern.endsWith("*") && path != null && path.startsWith(urlPattern.substring(0, urlPattern.length() - 1))) ||
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: org.apache.jmeter.functions.ThreadNumber ©, Rating: 0% of 0, C1
42 throws InvalidVariableException
43 {
44 return Thread.currentThread().getName().substring(
45 Thread.currentThread().getName().indexOf("-") + 1);
46 }
Class: com.technoetic.xplanner.wiki.ExternalTwikiAdapter ©, Rating: 0% of 0, C1
47 private String getWord(String wikiWord) {
48 int periodOffset = wikiWord.lastIndexOf(".");
49 return periodOffset != -1
50 ? wikiWord.substring(periodOffset + 1, wikiWord.length())
51 : wikiWord;