Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
haoyuan committed Jan 23, 2015
1 parent ba94742 commit 87853fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/src/main/java/tachyon/client/TachyonFS.java
Expand Up @@ -577,11 +577,11 @@ public synchronized int getFileId(TachyonURI path) {
* @param fileId the id of the queried file. If it is -1, uses path.
* @param path the path of the queried file. If fielId is not -1, this parameter is ignored.
* @param useCachedMetaData whether to use the cached data or not.
* @return
* @return the clientFileInfo.
* @throws IOException
*/
private synchronized <KeyType> ClientFileInfo getFileStatus(Map<KeyType, ClientFileInfo> cache,
KeyType key, int fileId, String path, boolean useCachedMetaData) throws IOException {
private synchronized <K> ClientFileInfo getFileStatus(Map<K, ClientFileInfo> cache, K key,
int fileId, String path, boolean useCachedMetaData) throws IOException {
ClientFileInfo info = null;
if (useCachedMetaData) {
info = cache.get(key);
Expand Down

0 comments on commit 87853fc

Please sign in to comment.