projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
🚧 Lock Sone if after loading it’s empty
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
core
/
SoneUri.java
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
(file)
--- 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
*
* 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;
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 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.
import freenet.keys.FreenetURI;
/**
* Helper class that creates {@link FreenetURI}s for Sone to insert to and
* request from.
- *
- * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
*/
public class SoneUri {
/** The logger. */
*/
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.
/**
* Generate a Sone URI from the given URI.