Fix Typos

This commit is contained in:
Yoginth
2019-06-05 03:52:40 +00:00
parent 3ea365a1f5
commit 0851fea8eb
15 changed files with 20 additions and 20 deletions

View File

@@ -57,9 +57,9 @@ public class CleanCacheServiceTest {
assertFalse(first.exists());
assertFalse(second.exists());
// make sure it doesn't freak out on a non-existant file
File nonexistant = new File(tempDir, "nonexistant");
CleanCacheService.clearOldFiles(nonexistant, 1);
// make sure it doesn't freak out on a non-existent file
File nonexistent = new File(tempDir, "nonexistent");
CleanCacheService.clearOldFiles(nonexistent, 1);
CleanCacheService.clearOldFiles(null, 1);
}
}

View File

@@ -141,7 +141,7 @@ public class Netstat {
try {
c.setStatus(STATES[Integer.parseInt(statusHexa, 16) - 1]);
} catch (Exception ex) {
c.setStatus(STATES[11]); // unknwon
c.setStatus(STATES[11]); // unknown
}
c.setPID(-1); // unknown
c.setPName("UNKNOWN");
@@ -174,7 +174,7 @@ public class Netstat {
try {
c.setStatus(STATES[Integer.parseInt(statusHexa, 16) - 1]);
} catch (Exception ex) {
c.setStatus(STATES[11]); // unknwon
c.setStatus(STATES[11]); // unknown
}
c.setPID(-1); // unknown
c.setPName("UNKNOWN");
@@ -208,7 +208,7 @@ public class Netstat {
try {
c.setStatus(STATES[Integer.parseInt(statusHexa, 16) - 1]);
} catch (Exception ex) {
c.setStatus(STATES[11]); // unknwon
c.setStatus(STATES[11]); // unknown
}
c.setPID(-1); // unknown
c.setPName("UNKNOWN");

View File

@@ -117,7 +117,7 @@ public class UiWatchers {
return false; // no trigger
}
});
Log.i(LOG_TAG, "Registed GUI Exception watchers");
Log.i(LOG_TAG, "Registered GUI Exception watchers");
}
public void onAnrDetected(String errorText) {