Revert "Replace utils’ Numbers by Guava’s Optional and Ints/Longs.tryParse."
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 18 Jan 2013 05:27:52 +0000 (06:27 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 18 Jan 2013 05:27:52 +0000 (06:27 +0100)
commit9cb50c365e3bf7a74ffa40a45630a0e7be40b526
tree95f0c4d80fd61b4548d544db84b48fd9c1cd9394
parentb767ceb6adea75829f9eeb417d2a3f3e3f445ba9
Revert "Replace utils’ Numbers by Guava’s Optional and Ints/Longs.tryParse."

This reverts commit d5efb086bee8f103cbe90c7a953ffbb7ff27b689 because Ints/
Longs.tryParse() throws an NPE if the given String is null.
15 files changed:
src/main/java/net/pterodactylus/sone/core/Core.java
src/main/java/net/pterodactylus/sone/core/SoneDownloader.java
src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java
src/main/java/net/pterodactylus/sone/template/ImageLinkFilter.java
src/main/java/net/pterodactylus/sone/template/ParserFilter.java
src/main/java/net/pterodactylus/sone/web/BookmarksPage.java
src/main/java/net/pterodactylus/sone/web/EditProfilePage.java
src/main/java/net/pterodactylus/sone/web/ImageBrowserPage.java
src/main/java/net/pterodactylus/sone/web/IndexPage.java
src/main/java/net/pterodactylus/sone/web/KnownSonesPage.java
src/main/java/net/pterodactylus/sone/web/NewPage.java
src/main/java/net/pterodactylus/sone/web/OptionsPage.java
src/main/java/net/pterodactylus/sone/web/RescuePage.java
src/main/java/net/pterodactylus/sone/web/SearchPage.java
src/main/java/net/pterodactylus/sone/web/ViewSonePage.java