Skip to content

Commit cc860c7

Browse files
committed
Added annotations
1 parent 192de48 commit cc860c7

File tree

1 file changed

+2
-0
lines changed
  • stubbornjava-examples/src/main/java/com/stubbornjava/examples/common

1 file changed

+2
-0
lines changed

stubbornjava-examples/src/main/java/com/stubbornjava/examples/common/HashIds.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import org.hashids.Hashids;
44

5+
// {{start:hashids}}
56
public class HashIds {
67
/*
78
* The salt is important so that your ids cannot be guessed.
@@ -22,3 +23,4 @@ public static long decode(String hash) {
2223
return hashids.decode(hash)[0];
2324
}
2425
}
26+
// {{end:hashids}}

0 commit comments

Comments
 (0)