small typos in source comments
This commit is contained in:
parent
7b8688b87d
commit
ec348ca36c
|
@ -335,7 +335,7 @@ public class PackOut extends SvrProcess
|
||||||
String targetDirectoryModified=null;
|
String targetDirectoryModified=null;
|
||||||
char fileseperator1 = '/';
|
char fileseperator1 = '/';
|
||||||
char fileseperator2 = '\\';
|
char fileseperator2 = '\\';
|
||||||
//Correct package for proper file seperator
|
//Correct package for proper file separator
|
||||||
if (File.separator.equals("/")){
|
if (File.separator.equals("/")){
|
||||||
targetDirectoryModified = fullDirectory.replace(fileseperator2,fileseperator1);
|
targetDirectoryModified = fullDirectory.replace(fileseperator2,fileseperator1);
|
||||||
}
|
}
|
||||||
|
@ -346,7 +346,7 @@ public class PackOut extends SvrProcess
|
||||||
success = (new File(target_File).mkdirs());
|
success = (new File(target_File).mkdirs());
|
||||||
fullDirectory = rs.getString(X_AD_Package_Exp_Detail.COLUMNNAME_File_Directory);
|
fullDirectory = rs.getString(X_AD_Package_Exp_Detail.COLUMNNAME_File_Directory);
|
||||||
targetDirectoryModified=null;
|
targetDirectoryModified=null;
|
||||||
//Correct package for proper file seperator
|
//Correct package for proper file separator
|
||||||
if (File.separator.equals("/")){
|
if (File.separator.equals("/")){
|
||||||
targetDirectoryModified = fullDirectory.replace(fileseperator2,fileseperator1);
|
targetDirectoryModified = fullDirectory.replace(fileseperator2,fileseperator1);
|
||||||
}
|
}
|
||||||
|
@ -364,7 +364,7 @@ public class PackOut extends SvrProcess
|
||||||
fullDirectory = rs.getString(X_AD_Package_Exp_Detail.COLUMNNAME_Destination_Directory);
|
fullDirectory = rs.getString(X_AD_Package_Exp_Detail.COLUMNNAME_Destination_Directory);
|
||||||
String destinationDirectoryModified=null;
|
String destinationDirectoryModified=null;
|
||||||
|
|
||||||
//Correct package for proper file seperator
|
//Correct package for proper file separator
|
||||||
if (File.separator.equals("/")){
|
if (File.separator.equals("/")){
|
||||||
destinationDirectoryModified = fullDirectory.replace(fileseperator2,fileseperator1);
|
destinationDirectoryModified = fullDirectory.replace(fileseperator2,fileseperator1);
|
||||||
}
|
}
|
||||||
|
|
|
@ -85,7 +85,7 @@ public class DistFileElementHandler extends AbstractElementHandler {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//Correct target directory for proper file seperator
|
//Correct target directory for proper file separator
|
||||||
String fullTargetPath = adempiereSourcePath+targetDirectory;
|
String fullTargetPath = adempiereSourcePath+targetDirectory;
|
||||||
char slash1 = '\\';
|
char slash1 = '\\';
|
||||||
char slash2 = '/';
|
char slash2 = '/';
|
||||||
|
@ -118,7 +118,7 @@ public class DistFileElementHandler extends AbstractElementHandler {
|
||||||
log.info("Backup Complete");
|
log.info("Backup Complete");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Correct dist directory for proper file seperator
|
// Correct dist directory for proper file separator
|
||||||
String fullSourcePath=null;
|
String fullSourcePath=null;
|
||||||
if (File.separator.equals("/"))
|
if (File.separator.equals("/"))
|
||||||
fullSourcePath = sourceDirectory.replace(slash1,slash2);
|
fullSourcePath = sourceDirectory.replace(slash1,slash2);
|
||||||
|
|
|
@ -100,7 +100,7 @@ public class Graph extends CPanel implements ChartMouseListener
|
||||||
|
|
||||||
/** Graph Size */
|
/** Graph Size */
|
||||||
//private Dimension m_size = null;
|
//private Dimension m_size = null;
|
||||||
/** Zero/Zero Coordibate point */
|
/** Zero/Zero Coordinate point */
|
||||||
private Point m_point0_0 = null;
|
private Point m_point0_0 = null;
|
||||||
// /** Layout */
|
// /** Layout */
|
||||||
// private BarGraphLayout m_layout = new BarGraphLayout(this);
|
// private BarGraphLayout m_layout = new BarGraphLayout(this);
|
||||||
|
|
|
@ -59,7 +59,7 @@ public class XLookup extends Lookup
|
||||||
*/
|
*/
|
||||||
public String getDisplay (Object key)
|
public String getDisplay (Object key)
|
||||||
{
|
{
|
||||||
// linear seatch in m_data
|
// linear search in m_data
|
||||||
for (int i = 0; i < p_data.size(); i++)
|
for (int i = 0; i < p_data.size(); i++)
|
||||||
{
|
{
|
||||||
Object oo = p_data.get(i);
|
Object oo = p_data.get(i);
|
||||||
|
|
Loading…
Reference in New Issue