X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fcore%2FSoneUri.java;h=373077fb943b1128e6122e0d7b54431e80a82a53;hp=6c5bf1687076f546cd1978fe16cbfc39f247fabf;hb=b4d2d68b5ea4f4edc7337f380cfe078756678126;hpb=3b751d0c053450961bb66d2507d6187ce56f8785 diff --git a/src/main/java/net/pterodactylus/sone/core/SoneUri.java b/src/main/java/net/pterodactylus/sone/core/SoneUri.java index 6c5bf16..373077f 100644 --- a/src/main/java/net/pterodactylus/sone/core/SoneUri.java +++ b/src/main/java/net/pterodactylus/sone/core/SoneUri.java @@ -1,5 +1,5 @@ /* - * Sone - SoneUri.java - Copyright © 2013 David Roden + * Sone - SoneUri.java - Copyright © 2013–2019 David Roden * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -17,23 +17,22 @@ package net.pterodactylus.sone.core; +import static java.util.logging.Logger.getLogger; + import java.net.MalformedURLException; import java.util.logging.Level; import java.util.logging.Logger; -import net.pterodactylus.util.logging.Logging; import freenet.keys.FreenetURI; /** * Helper class that creates {@link FreenetURI}s for Sone to insert to and * request from. - * - * @author David ‘Bombe’ Roden */ public class SoneUri { /** The logger. */ - private static final Logger logger = Logging.getLogger(SoneUri.class); + private static final Logger logger = getLogger(SoneUri.class.getName()); /** * Generate a Sone URI from the given URI.