Permalink
Browse files

use system dependent dir separator

  • Loading branch information...
1 parent 39cebb4 commit 17590d47563a3c3574e7ee2bf283e30906e2e696 taylorchu committed May 6, 2012
View
4 src/edu/ucla/loni/server/FileServiceImpl.java
@@ -526,7 +526,7 @@ protected String extractFileName(String s)
String res = "";
for( int i = s.length() - 1; i >= 0; i-- )
{
- if( s.charAt(i) == '\\' )
+ if( s.charAt(i) == File.pathSeparatorChar )
{
res = s.substring(i + 1, s.length());
break;
@@ -545,7 +545,7 @@ protected String extractDirName(String s)
String res = "";
for( int i = s.length() - 1; i >= 0; i-- )
{
- if( s.charAt(i) == '\\')
+ if( s.charAt(i) == File.pathSeparatorChar )
{
res = s.substring(0, i);
break;
View
0 test-classes/placeholder
No changes.
View
BIN war/WEB-INF/classes/edu/ucla/loni/shared/Pipefile.class
Binary file not shown.
View
40 war/serverlibrarymanager/sc/modules/ISC_Core.js
@@ -1,15 +1,15 @@
-/*
- * Isomorphic SmartClient
- * Version v8.2p_2012-04-27 (2012-04-27)
- * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
- * "SmartClient" is a trademark of Isomorphic Software, Inc.
- *
- * licensing@smartclient.com
- *
- * http://smartclient.com/license
+/*
+ * Isomorphic SmartClient
+ * Version v8.2p_2012-04-27 (2012-04-27)
+ * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
+ * "SmartClient" is a trademark of Isomorphic Software, Inc.
+ *
+ * licensing@smartclient.com
+ *
+ * http://smartclient.com/license
*/
if(typeof isomorphicDir == 'undefined'){isomorphicDir = 'serverlibrarymanager/sc/';}
-
+
var isc = window.isc ? window.isc : {};if(window.isc&&!window.isc.module_Core){isc.module_Core=1;isc._moduleStart=isc._Core_start=(isc.timestamp?isc.timestamp():new Date().getTime());if(isc._moduleEnd&&(!isc.Log||(isc.Log && isc.Log.logIsDebugEnabled('loadTime')))){isc._pTM={ message:'Core load/parse time: ' + (isc._moduleStart-isc._moduleEnd) + 'ms', category:'loadTime'};
if(isc.Log && isc.Log.logDebug)isc.Log.logDebug(isc._pTM.message,'loadTime')
@@ -4276,14 +4276,14 @@ default:var _20=parseInt(_23.index);return this.data.get(_20)}}})}
if(isc.Calendar)isc.AutoTest.customizeCalendar();if(!isc.Page.isLoaded()){isc.Page.setEvent("load","isc.ApplyAutoTestMethods()")}else{isc.ApplyAutoTestMethods()}
isc.Page.logInfo("SmartClient Core ("+isc.version+" "+isc.buildDate+") initialized: "+(isc.timeStamp()-isc.$d)+"ms");isc.Page.logInfo("document.compatMode: "+document.compatMode);if(isc.Log.hasFireBug()){isc.Log.logWarn("NOTE: Firebug is enabled. Firebug greatly slows the performance of "+"applications that make heavy use of JavaScript. Isomorphic highly recommends Firebug "+"for troubleshooting, but Firebug and other development tools should be disabled when "+"assessing the real-world performance of SmartClient applications.")}
isc._moduleEnd=isc._Core_end=(isc.timestamp?isc.timestamp():new Date().getTime());if(isc.Log&&isc.Log.logIsInfoEnabled('loadTime'))isc.Log.logInfo('Core module init time: ' + (isc._moduleEnd-isc._moduleStart) + 'ms','loadTime');delete isc.definingFramework;}else{if(window.isc && isc.Log && isc.Log.logWarn)isc.Log.logWarn("Duplicate load of module 'Core'.");}
-/*
- * Isomorphic SmartClient
- * Version v8.2p_2012-04-27 (2012-04-27)
- * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
- * "SmartClient" is a trademark of Isomorphic Software, Inc.
- *
- * licensing@smartclient.com
- *
- * http://smartclient.com/license
- */
+/*
+ * Isomorphic SmartClient
+ * Version v8.2p_2012-04-27 (2012-04-27)
+ * Copyright(c) 1998 and beyond Isomorphic Software, Inc. All rights reserved.
+ * "SmartClient" is a trademark of Isomorphic Software, Inc.
+ *
+ * licensing@smartclient.com
+ *
+ * http://smartclient.com/license
+ */

0 comments on commit 17590d4

Please sign in to comment.