gustawho / arxiv-mobile

Automatically exported from code.google.com/p/arxiv-mobile
0 stars 0 forks source link

Build problem #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

-compile:
    [javac] Compiling 18 source files to /home/gerry/com.commonsware.android.arXiv/bin/classes
    [javac] /home/gerry/com.commonsware.android.arXiv/src/com/commonsware/android/arXiv/SingleItemWindow.java:307: unclosed string literal
    [javac]                             pdfPath = "storeagePath+"/";
    [javac]                                                       ^
    [javac] 1 error
==== stdout end ====
==== stderr begin ====

Original issue reported on code.google.com by david8bl...@gmail.com on 14 Feb 2013 at 1:15

GoogleCodeExporter commented 9 years ago
Thanks to Reiner

diff --git a/src/com/commonsware/android/arXiv/SingleItemWindow.java 
b/src/com/commonsware/android/arXiv/SingleItemWindow.java
index 9b00d85..66d5a18 100644
--- a/src/com/commonsware/android/arXiv/SingleItemWindow.java
+++ b/src/com/commonsware/android/arXiv/SingleItemWindow.java
@@ -304,7 +304,7 @@ public class SingleItemWindow extends Activity implements 
View.OnClickListener {
                         Log.d("arXiv - ","Storage path: "+success);

                         if (fare.exists()) {
-                            pdfPath = "storeagePath+"/";
+                            pdfPath = storagePath+"/";
                             vStorage = true;
                         } else {
                             File efare = new File("/mnt/sdcard/arXiv");
@@ -313,7 +313,7 @@ public class SingleItemWindow extends Activity implements 
View.OnClickListener {
                                 pdfPath = "/mnt/sdcard/arXiv/";
                                 vStorage = true;
                             } else {
-                                File efare = new File("/emmc/arXiv");
+                                efare = new File("/emmc/arXiv");
                                 efare.mkdir();
                                 if (efare.exists()) {
                                     pdfPath = "/emmc/arXiv/";
~                                                        

Original comment by david8bl...@gmail.com on 14 Feb 2013 at 1:35