Skip to content

Commit 9db198c

Browse files
author
Danny Becker
committed
Address javadoc and checkstyle
1 parent 2079744 commit 9db198c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImage.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1564,13 +1564,13 @@ public long getMostRecentCheckpointTxId() {
15641564
}
15651565

15661566
/**
1567-
* Given a NameNodeFile type, retrieve the latest txid for that file or
1568-
* {@link HdfsServerConstants::INVALID_TXID} if the file does not exist
1567+
* Given a NameNodeFile type, retrieve the latest txid for that file or {@link
1568+
* HdfsServerConstants::INVALID_TXID} if the file does not exist.
15691569
*
15701570
* @param nnf The NameNodeFile type to retrieve the latest txid from.
1571-
* @return the latest txid for the NameNodeFile type, or
1572-
* {@link HdfsServerConstants::INVALID_TXID} if there is no FSImage file of
1573-
* the type requested
1571+
* @return the latest txid for the NameNodeFile type, or {@link
1572+
* HdfsServerConstants::INVALID_TXID} if there is no FSImage file of the type
1573+
* requested.
15741574
* @throws IOException
15751575
*/
15761576
public long getMostRecentNameNodeFileTxId(NameNodeFile nnf)

hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/protocol/NamenodeProtocol.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ BlocksWithLocations getBlocks(DatanodeInfo datanode, long size, long
110110
* Get the transaction ID of the most recent checkpoint.
111111
*/
112112
@Idempotent
113-
public long getMostRecentCheckpointTxId() throws IOException;
113+
long getMostRecentCheckpointTxId() throws IOException;
114114

115115
/**
116116
* Get the transaction ID of the most recent checkpoint for the given NameNodeFile.

0 commit comments

Comments
 (0)