Skip to content

Commit

Permalink
replaced StringBuilder with String
Browse files Browse the repository at this point in the history
  • Loading branch information
doneill committed Jul 27, 2015
1 parent 4485bec commit 6279d34
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,7 @@ public static void setContext(Context context){
* Create the geodatabase file location and name structure
*/
static String createGeodatabaseFilePath() {
StringBuilder sb = new StringBuilder();
sb.append(demoDataFile.getAbsolutePath());
sb.append(File.separator);
sb.append(offlineDataSDCardDirName);
sb.append(File.separator);
sb.append(filename);
sb.append(OFFLINE_FILE_EXTENSION);
return sb.toString();
return demoDataFile.getAbsolutePath() + File.separator + offlineDataSDCardDirName + File.separator + filename + OFFLINE_FILE_EXTENSION;
}

@Override
Expand Down

0 comments on commit 6279d34

Please sign in to comment.