Search Results
OK to copy?
Examples 1 through 10 of
14 (0.0010 seconds)
Class:
org.springframework.web.multipart.cos.CosMultipartHttpServletRequest
©,
Rating:
0% of 0,
C3
Class: org.apache.catalina.cluster.deploy.FarmWarDeployer ©, Rating: 0% of 0, C2
Class: org.apache.catalina.users.MemoryUserDatabase ©, Rating: 0% of 0, C3
Class: org.apache.catalina.users.MemoryUserDatabase ©, Rating: 0% of 0, C3
Class: org.apache.catalina.users.MemoryUserDatabase ©, Rating: 0% of 0, C3
Class: org.apache.jasper.compiler.SmapUtil ©, Rating: 0% of 0, C1
Class: org.apache.jasper.compiler.SmapUtil ©, Rating: 0% of 0, C1
Class: org.apache.tools.ant.taskdefs.Move ©, Rating: 0% of 0, C3
Class: org.apache.naming.resources.FileDirContext ©, Rating: 0% of 0, C1
Class: org.apache.catalina.valves.ExtendedAccessLogValve ©, Rating: 0% of 0, C1
169 boolean moved = false;
170 if (this.file != null) {
171 moved = this.file.renameTo(dest);
172 if (!moved) {
173 FileCopyUtils.copy(this.file, dest);
Class: org.apache.catalina.cluster.deploy.FarmWarDeployer ©, Rating: 0% of 0, C2
106 name = name + ".war";
107 File deployable = new File(getDeployDir(), name);
108 factory.getFile().renameTo(deployable);
109 // FIXME
110 /*
Class: org.apache.catalina.users.MemoryUserDatabase ©, Rating: 0% of 0, C3
528 if (!fileNew.renameTo(fileOrig)) {
529 if (fileOld.exists()) {
530 fileOld.renameTo(fileOrig);
531 }
532 throw new IOException
Class: org.apache.catalina.users.MemoryUserDatabase ©, Rating: 0% of 0, C3
526 }
527 }
528 if (!fileNew.renameTo(fileOrig)) {
529 if (fileOld.exists()) {
530 fileOld.renameTo(fileOrig);
Class: org.apache.catalina.users.MemoryUserDatabase ©, Rating: 0% of 0, C3
520 if (fileOrig.exists()) {
521 fileOld.delete();
522 if (!fileOrig.renameTo(fileOld)) {
523 throw new IOException
524 (sm.getString("memoryUserDatabase.renameOld",
Class: org.apache.jasper.compiler.SmapUtil ©, Rating: 0% of 0, C1
238 throw new IOException("classFile.delete() failed");
239 }
240 if (!tmpFile.renameTo(classFile)) {
241 throw new IOException("tmpFile.renameTo(classFile) failed");
242 }
Class: org.apache.jasper.compiler.SmapUtil ©, Rating: 0% of 0, C1
227 throw new IOException("inOutClassFile.delete() failed");
228 }
229 if (!tmpFile.renameTo(inOutClassFile)) {
230 throw new IOException("tmpFile.renameTo(inOutClassFile) failed");
231 }
Class: org.apache.tools.ant.taskdefs.Move ©, Rating: 0% of 0, C3
Class: org.apache.naming.resources.FileDirContext ©, Rating: 0% of 0, C1
Class: org.apache.catalina.valves.ExtendedAccessLogValve ©, Rating: 0% of 0, C1
0622 if (currentLogFile!=null) {
0623 File holder = currentLogFile;
0624 close();
0625 try {
0626 holder.renameTo(new File(newFileName));