Skip to content

Commit 91d3f1b

Browse files
fix: Javadoc error
1 parent 10a04e8 commit 91d3f1b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The Java tools are compiled and packaged by [Maven](https://maven.apache.org/).
1111
java -cp target/cc-webgraph-0.1-SNAPSHOT-jar-with-dependencies.jar <classname> <args>...
1212
```
1313

14-
The assembly jar file includes also the [WebGraph](https://webgraph.di.unimi.it/) and [LAW](https://law.di.unimi.it/software.php) packages required to compute [PageRank](https://en.wikipedia.org/wiki/PageRank) and [Harmonic Centrality](https://en.wikipedia.org/wiki/Centrality#Harmonic_centrality).
14+
The assembly jar file includes also the [WebGraph](https://webgraph.di.unimi.it/) and [LAW](https://law.di.unimi.it/software.php) packages required to process the webgraphs and compute [PageRank](https://en.wikipedia.org/wiki/PageRank) or [Harmonic Centrality](https://en.wikipedia.org/wiki/Centrality#Harmonic_centrality).
1515

1616

1717
### Javadocs

src/main/java/org/commoncrawl/webgraph/explore/Graph.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -403,12 +403,12 @@ public static String getRegisteredDomainReversed(String reversedHostName, boolea
403403
* Reverse or "unreverse" a host/domain name: <code>com.example.www</code> is
404404
* reversed to <code>www.example.com</code> and vice versa.
405405
*
406-
* @param domain name
406+
* @param domainName domain name
407407
* @return domain name with <a href=
408408
* "https://en.wikipedia.org/wiki/Reverse_domain_name_notation">reverse
409409
* domain name notation</a> (un)applied
410410
*/
411-
public static String reverseDomainName(String reversedDomainName) {
412-
return HostToDomainGraph.reverseHost(reversedDomainName);
411+
public static String reverseDomainName(String domainName) {
412+
return HostToDomainGraph.reverseHost(domainName);
413413
}
414414
}

0 commit comments

Comments
 (0)