1. Stanislav Kozina
  2. opengrok-tag

Commits

"Sta...@redhat.com>"  committed 0021236

Revert unneccessary changes in FileHistoryCache.java

  • Participants
  • Parent commits 6b71459
  • Branches default

Comments (0)

Files changed (1)

File src/org/opensolaris/opengrok/history/FileHistoryCache.java

View file
             // invalidates the cache entry.
             RuntimeEnvironment env = RuntimeEnvironment.getInstance();
             if ((cache != null) &&
-                    (cache.exists() ||
-                    (time > env.getHistoryReaderTimeLimit()))) {
+                        (cache.exists() ||
+                             (time > env.getHistoryReaderTimeLimit()))) {
                 // retrieving the history takes too long, cache it!
                 storeFile(history, file);
             }
         try {
             dir = new File(dir, env.getPathRelativeToSourceRoot(new File(repos.getDirectoryName()), 0));
         } catch (IOException e) {
-            throw new HistoryException("Could not resolve " + repos.getDirectoryName() + " relative to source root", e);
+            throw new HistoryException("Could not resolve "+repos.getDirectoryName()+" relative to source root", e);
         }
         return dir.exists();
     }