Merge "Fix putTopic hook firing"
This commit is contained in:
commit
2df725626c
@ -101,8 +101,8 @@ public class PutTopic implements RestModifyView<ChangeResource, Input>,
|
|||||||
@Override
|
@Override
|
||||||
public void updateChange(ChangeContext ctx) throws OrmException {
|
public void updateChange(ChangeContext ctx) throws OrmException {
|
||||||
change = ctx.getChange();
|
change = ctx.getChange();
|
||||||
String newTopicName = Strings.nullToEmpty(input.topic);
|
newTopicName = Strings.nullToEmpty(input.topic);
|
||||||
String oldTopicName = Strings.nullToEmpty(change.getTopic());
|
oldTopicName = Strings.nullToEmpty(change.getTopic());
|
||||||
if (oldTopicName.equals(newTopicName)) {
|
if (oldTopicName.equals(newTopicName)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user