projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move exception to correct class.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
data
/
impl
/
AbstractReplyBuilder.java
diff --git
a/src/main/java/net/pterodactylus/sone/data/impl/AbstractReplyBuilder.java
b/src/main/java/net/pterodactylus/sone/data/impl/AbstractReplyBuilder.java
index
e04e854
..
2a68a13
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/data/impl/AbstractReplyBuilder.java
+++ b/
src/main/java/net/pterodactylus/sone/data/impl/AbstractReplyBuilder.java
@@
-17,8
+17,7
@@
package net.pterodactylus.sone.data.impl;
package net.pterodactylus.sone.data.impl;
-import net.pterodactylus.sone.data.ReplyBuilder;
-import net.pterodactylus.sone.data.Sone;
+import net.pterodactylus.sone.database.ReplyBuilder;
/**
* Abstract implementation of a {@link ReplyBuilder}.
/**
* Abstract implementation of a {@link ReplyBuilder}.
@@
-36,7
+35,7
@@
public class AbstractReplyBuilder<B extends ReplyBuilder<B>> implements ReplyBui
protected String id;
/** The sender of the reply. */
protected String id;
/** The sender of the reply. */
- protected S
one sender
;
+ protected S
tring senderId
;
/** Whether to use the current time when creating the reply. */
protected boolean currentTime;
/** Whether to use the current time when creating the reply. */
protected boolean currentTime;
@@
-72,8
+71,8
@@
public class AbstractReplyBuilder<B extends ReplyBuilder<B>> implements ReplyBui
*/
@Override
@SuppressWarnings("unchecked")
*/
@Override
@SuppressWarnings("unchecked")
- public B from(S
one sender
) {
- this.sender
= sender
;
+ public B from(S
tring senderId
) {
+ this.sender
Id = senderId
;
return (B) this;
}
return (B) this;
}