Don't replace in comments and strings when you refactor...

This commit is contained in:
wizjany 2019-07-02 17:39:21 -04:00
parent 8ca01b37a4
commit a9cd23c6ef
3 changed files with 13 additions and 14 deletions

View File

@ -65,7 +65,7 @@ public interface ApplicableRegionSet extends Iterable<ProtectedRegion> {
*
* <p>{@code subject} can be non-null to satisfy region group requirements,
* otherwise it will be assumed that the caller that is not a member of any
* regions. (FlagUtil on a region can be changed so that they only apply
* regions. (Flags on a region can be changed so that they only apply
* to certain users.) The subject argument is required if the
* {@link Flags#BUILD} flag is in the list of flags.</p>
*
@ -83,7 +83,7 @@ public interface ApplicableRegionSet extends Iterable<ProtectedRegion> {
*
* <p>{@code subject} can be non-null to satisfy region group requirements,
* otherwise it will be assumed that the caller that is not a member of any
* regions. (FlagUtil on a region can be changed so that they only apply
* regions. (Flags on a region can be changed so that they only apply
* to certain users.) The subject argument is required if the
* {@link Flags#BUILD} flag is in the list of flags.</p>
*
@ -108,7 +108,7 @@ public interface ApplicableRegionSet extends Iterable<ProtectedRegion> {
*
* <p>{@code subject} can be non-null to satisfy region group requirements,
* otherwise it will be assumed that the caller that is not a member of any
* regions. (FlagUtil on a region can be changed so that they only apply
* regions. (Flags on a region can be changed so that they only apply
* to certain users.) The subject argument is required if the
* {@link Flags#BUILD} flag is the flag being queried.</p>
*
@ -126,7 +126,7 @@ public interface ApplicableRegionSet extends Iterable<ProtectedRegion> {
*
* <p>{@code subject} can be non-null to satisfy region group requirements,
* otherwise it will be assumed that the caller that is not a member of any
* regions. (FlagUtil on a region can be changed so that they only apply
* regions. (Flags on a region can be changed so that they only apply
* to certain users.) The subject argument is required if the
* {@link Flags#BUILD} flag is the flag being queried.</p>
*

View File

@ -67,7 +67,6 @@ public RegionQuery(QueryCache cache) {
this.config = WorldGuard.getInstance().getPlatform().getGlobalStateManager();
this.cache = cache;
//noinspection deprecation
}
/**
@ -178,7 +177,7 @@ public boolean testBuild(Location location, RegionAssociable associable, StateFl
*
* <p>{@code player} can be non-null to satisfy region group requirements,
* otherwise it will be assumed that the caller that is not a member of any
* regions. (FlagUtil on a region can be changed so that they only apply
* regions. (Flags on a region can be changed so that they only apply
* to certain users.) The player argument is required if the
* {@link Flags#BUILD} flag is in the list of flags.</p>
*
@ -201,7 +200,7 @@ public boolean testState(Location location, @Nullable LocalPlayer player, StateF
*
* <p>{@code player} can be non-null to satisfy region group requirements,
* otherwise it will be assumed that the caller that is not a member of any
* regions. (FlagUtil on a region can be changed so that they only apply
* regions. (Flags on a region can be changed so that they only apply
* to certain users.) The player argument is required if the
* {@link Flags#BUILD} flag is in the list of flags.</p>
*
@ -225,7 +224,7 @@ public boolean testState(Location location, @Nullable RegionAssociable associabl
*
* <p>{@code player} can be non-null to satisfy region group requirements,
* otherwise it will be assumed that the caller that is not a member of any
* regions. (FlagUtil on a region can be changed so that they only apply
* regions. (Flags on a region can be changed so that they only apply
* to certain users.) The player argument is required if the
* {@link Flags#BUILD} flag is in the list of flags.</p>
*
@ -247,7 +246,7 @@ public State queryState(Location location, @Nullable LocalPlayer player, StateFl
*
* <p>{@code player} can be non-null to satisfy region group requirements,
* otherwise it will be assumed that the caller that is not a member of any
* regions. (FlagUtil on a region can be changed so that they only apply
* regions. (Flags on a region can be changed so that they only apply
* to certain users.) The player argument is required if the
* {@link Flags#BUILD} flag is in the list of flags.</p>
*
@ -276,7 +275,7 @@ public State queryState(Location location, @Nullable RegionAssociable associable
*
* <p>{@code player} can be non-null to satisfy region group requirements,
* otherwise it will be assumed that the caller that is not a member of any
* regions. (FlagUtil on a region can be changed so that they only apply
* regions. (Flags on a region can be changed so that they only apply
* to certain users.) The player argument is required if the
* {@link Flags#BUILD} flag is the flag being queried.</p>
*
@ -305,7 +304,7 @@ public <V> V queryValue(Location location, @Nullable LocalPlayer player, Flag<V>
*
* <p>{@code player} can be non-null to satisfy region group requirements,
* otherwise it will be assumed that the caller that is not a member of any
* regions. (FlagUtil on a region can be changed so that they only apply
* regions. (Flags on a region can be changed so that they only apply
* to certain users.) The player argument is required if the
* {@link Flags#BUILD} flag is the flag being queried.</p>
*
@ -327,7 +326,7 @@ public <V> V queryValue(Location location, @Nullable RegionAssociable associable
*
* <p>{@code player} can be non-null to satisfy region group requirements,
* otherwise it will be assumed that the caller that is not a member of any
* regions. (FlagUtil on a region can be changed so that they only apply
* regions. (Flags on a region can be changed so that they only apply
* to certain users.) The player argument is required if the
* {@link Flags#BUILD} flag is the flag being queried.</p>
*
@ -348,7 +347,7 @@ public <V> Collection<V> queryAllValues(Location location, @Nullable LocalPlayer
*
* <p>{@code player} can be non-null to satisfy region group requirements,
* otherwise it will be assumed that the caller that is not a member of any
* regions. (FlagUtil on a region can be changed so that they only apply
* regions. (Flags on a region can be changed so that they only apply
* to certain users.) The player argument is required if the
* {@link Flags#BUILD} flag is the flag being queried.</p>
*

View File

@ -34,7 +34,7 @@ public RegionReport(ProtectedRegion region) {
append("Priority", region.getPriority());
append("Owners", region.getOwners());
append("Members", region.getMembers());
append("FlagUtil", region.getFlags());
append("Flags", region.getFlags());
}
}