Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Style/codacity style fixes #2078

Merged
merged 6 commits into from
Jan 23, 2018
Merged

Style/codacity style fixes #2078

merged 6 commits into from
Jan 23, 2018

Conversation

Raycoms
Copy link
Contributor

@Raycoms Raycoms commented Jan 22, 2018

Fixes several codacity style issues.

Review please

@@ -400,7 +400,7 @@ public BuildingWareHouse getWareHouse()
*/
private AIState deliver()

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MAJOR Reduce the number of returns of this method 7, down to the maximum allowed 6. rule
MAJOR The Cyclomatic Complexity of this method "deliver" is 19 which is greater than 15 authorized. rule
MAJOR Refactor this method to reduce its Cognitive Complexity from 29 to the 20 allowed. rule

@@ -296,7 +297,7 @@ private static StructureWrapper loadStructure(
*/
public Structure(final World targetWorld, final StructureWrapper structure, final Stage stageProgress)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MINOR Move this constructor to comply with Java Code Conventions. rule

@@ -310,7 +310,7 @@ public String getJobName()
public void serializeToView(@NotNull final ByteBuf buf)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MAJOR Refactor this method to reduce its Cognitive Complexity from 24 to the 20 allowed. rule

@@ -381,7 +381,7 @@ private StandardRequestFactories()
{
}

public static <T extends IRequestable> NBTTagCompound serializeToNBT(IFactoryController controller, IRequest<T> request, IObjectToNBTConverter<T> typeSerialization)
public static <T extends IRequestable> NBTTagCompound serializeToNBT(final IFactoryController controller, final IRequest<T> request, final IObjectToNBTConverter<T> typeSerialization)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MAJOR Split this 186 characters long line (which is greater than 180 authorized). rule

@@ -51,11 +51,11 @@ public StandardPlayerRequestResolver getNewInstance(
@NotNull final Object... context)
throws IllegalArgumentException

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MINOR Remove the declaration of thrown exception 'java.lang.IllegalArgumentException' which is a runtime exception. rule

@@ -51,11 +51,11 @@ public StandardPlayerRequestResolver getNewInstance(
@NotNull final Object... context)
throws IllegalArgumentException
{
ILocation location;
final ILocation location;
try {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MINOR Move this left curly brace to the beginning of next line of code. rule

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed XD

try {
location =
factoryController.getNewInstance(TypeConstants.ILOCATION, iRequestManager.getColony().getCenter(), iRequestManager.getColony().getWorld().provider.getDimension());
} catch (Exception ex)
} catch (final Exception ex)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MINOR Move this "catch" keyword to a new dedicated line. rule

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please

try {
location =
factoryController.getNewInstance(TypeConstants.ILOCATION, iRequestManager.getColony().getCenter(), iRequestManager.getColony().getWorld().provider.getDimension());
} catch (Exception ex)
} catch (final Exception ex)
{
throw ex;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MINOR Add logic to this catch clause or eliminate it and rethrow the exception automatically. rule

@@ -810,7 +810,7 @@ public static void addToZipFile(final String fileName, final ZipOutputStream zos
Files.copy(file, zos);
fis.close();
}
catch (Exception e)
catch (final Exception e)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MAJOR Either log or rethrow this exception. rule

@@ -332,7 +332,7 @@ public ColonyView getColony()
public <R> ImmutableList<IRequest<? extends R>> getOpenRequestsOfTypeFiltered(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CRITICAL Remove usage of generic wildcard type. rule

int i = 222;
int j = 114;
final int i = 222;
final int j = 114;
this.inventoryRows = containerMinecoloniesBuildingInventory.getLowerChestInventory().getSizeInventory() / 9;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MAJOR Assign this magic number 9 to a well-named constant, and use the constant instead. rule

int i = 222;
int j = 114;
final int i = 222;
final int j = 114;
this.inventoryRows = containerMinecoloniesBuildingInventory.getLowerChestInventory().getSizeInventory() / 9;
this.ySize = 114 + this.inventoryRows * 18;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MAJOR Assign this magic number 114 to a well-named constant, and use the constant instead. rule
MAJOR Assign this magic number 18 to a well-named constant, and use the constant instead. rule

int i = (this.width - this.xSize) / 2;
int j = (this.height - this.ySize) / 2;
final int i = (this.width - this.xSize) / 2;
final int j = (this.height - this.ySize) / 2;
this.drawTexturedModalRect(i, j, 0, 0, this.xSize, this.inventoryRows * 18 + 17);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MAJOR Assign this magic number 18 to a well-named constant, and use the constant instead. rule
MAJOR Assign this magic number 17 to a well-named constant, and use the constant instead. rule

int i = (this.width - this.xSize) / 2;
int j = (this.height - this.ySize) / 2;
final int i = (this.width - this.xSize) / 2;
final int j = (this.height - this.ySize) / 2;
this.drawTexturedModalRect(i, j, 0, 0, this.xSize, this.inventoryRows * 18 + 17);
this.drawTexturedModalRect(i, j + this.inventoryRows * 18 + 17, 0, 126, this.xSize, 96);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MAJOR Assign this magic number 18 to a well-named constant, and use the constant instead. rule
MAJOR Assign this magic number 17 to a well-named constant, and use the constant instead. rule
MAJOR Assign this magic number 126 to a well-named constant, and use the constant instead. rule
MAJOR Assign this magic number 96 to a well-named constant, and use the constant instead. rule

this.inventoryRows = containerMinecoloniesBuildingInventory.getLowerChestInventory().getSizeInventory() / 9;
this.ySize = 114 + this.inventoryRows * 18;
}

/**
* Draw the foreground layer for the GuiContainer (everything in front of the items)
*/
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY)
protected void drawGuiContainerForegroundLayer(final int mouseX, final int mouseY)
{
this.fontRenderer.drawString(this.lowerChestInventory.getDisplayName().getUnformattedText(), 8, 6, 4210752);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MAJOR Assign this magic number 8 to a well-named constant, and use the constant instead. rule
MAJOR Assign this magic number 6 to a well-named constant, and use the constant instead. rule
MAJOR Assign this magic number 4210752 to a well-named constant, and use the constant instead. rule
MINOR Add underscores to this numeric value for readability rule

this.inventoryRows = containerMinecoloniesBuildingInventory.getLowerChestInventory().getSizeInventory() / 9;
this.ySize = 114 + this.inventoryRows * 18;
}

/**
* Draw the foreground layer for the GuiContainer (everything in front of the items)
*/
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY)
protected void drawGuiContainerForegroundLayer(final int mouseX, final int mouseY)
{
this.fontRenderer.drawString(this.lowerChestInventory.getDisplayName().getUnformattedText(), 8, 6, 4210752);
this.fontRenderer.drawString(this.upperChestInventory.getDisplayName().getUnformattedText(), 8, this.ySize - 96 + 2, 4210752);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MAJOR Assign this magic number 8 to a well-named constant, and use the constant instead. rule
MAJOR Assign this magic number 96 to a well-named constant, and use the constant instead. rule
MAJOR Assign this magic number 4210752 to a well-named constant, and use the constant instead. rule
MINOR Add underscores to this numeric value for readability rule

@@ -27,16 +27,16 @@ public GuiMinecoloniesBuildingInventory(final ContainerMinecoloniesBuildingInven
this.upperChestInventory = containerMinecoloniesBuildingInventory.getPlayerInventory();
this.lowerChestInventory = containerMinecoloniesBuildingInventory.getLowerChestInventory();
this.allowUserInput = false;
int i = 222;
int j = 114;
final int i = 222;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MINOR Remove this unused "i" local variable. rule

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we aren't removing them could we name them better ( including the j variable)

int i = 222;
int j = 114;
final int i = 222;
final int j = 114;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MINOR Remove this unused "j" local variable. rule

@@ -91,15 +91,15 @@ public void resolve(@NotNull final IRequestManager manager, @NotNull final IRequ
((BuildingBasedRequester) request.getRequester()).getBuilding().isPresent() &&
((BuildingBasedRequester) request.getRequester()).getBuilding().get() instanceof AbstractBuilding)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MAJOR Call "Optional#isPresent()" before accessing the value. rule

@@ -96,9 +96,9 @@ public boolean canResolve(
public void resolve(
@NotNull final IRequestManager manager, @NotNull final IRequest<? extends IDeliverable> request) throws RuntimeException

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MINOR Remove the declaration of thrown exception 'java.lang.RuntimeException' which is a runtime exception. rule

@@ -116,7 +116,7 @@ public void resolve(
private AbstractBuilding getBuildingFromRequest(
@NotNull final IRequestManager manager, @NotNull final IRequest<? extends IDeliverable> request) throws RuntimeException

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MAJOR Define and throw a dedicated exception instead of using a generic one. rule
MINOR Remove the declaration of thrown exception 'java.lang.RuntimeException' which is a runtime exception. rule

@@ -76,10 +76,10 @@ public boolean canResolve(@NotNull final IRequestManager manager, final IRequest
return null;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MAJOR Return an empty collection instead of null. rule

@@ -473,7 +473,7 @@ private AIState lookForRequests()
final ImmutableList<IRequest> completedRequests = getOwnBuilding().getCompletedRequests(worker.getCitizenData());

completedRequests.stream().filter(r -> !(r.canBeDelivered())).forEach(r -> getOwnBuilding().markRequestAsAccepted(worker.getCitizenData(), r.getToken()));
IRequest firstDeliverableRequest = completedRequests.stream().filter(r -> r.canBeDelivered()).findFirst().orElse(null);
final IRequest firstDeliverableRequest = completedRequests.stream().filter(r -> r.canBeDelivered()).findFirst().orElse(null);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MINOR Replace this lambda with a method reference. (sonar.java.source not set. Assuming 8 or greater.) rule

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we set the sonar.java.source please? @OrionDevelopment

@@ -796,7 +796,7 @@ public void serializeViewNetworkData(@NotNull final ByteBuf buf)

buf.writeInt(colony.getID());

NBTTagCompound compound = new NBTTagCompound();
final NBTTagCompound compound = new NBTTagCompound();
compound.setTag("inventory", inventory.writeToNBT(new NBTTagList()));

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CRITICAL Use already-defined constant 'TAG_INVENTORY' instead of duplicating its value here. rule

@@ -15,7 +15,7 @@
protected ScrollingContainer container;
protected Scrollbar scrollbar;
// Params
private int scrollbarWidth = DEFAULT_SCROLLBAR_WIDTH;
private final int scrollbarWidth = DEFAULT_SCROLLBAR_WIDTH;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MINOR Make this final field static too. rule

int i = 222;
int j = 114;
final int i = 222;
final int j = 114;
this.inventoryRows = containerMinecoloniesBuildingInventory.getLowerChestInventory().getSizeInventory() / 9;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MAJOR Assign this magic number 9 to a well-named constant, and use the constant instead. rule

int i = 222;
int j = 114;
final int i = 222;
final int j = 114;
this.inventoryRows = containerMinecoloniesBuildingInventory.getLowerChestInventory().getSizeInventory() / 9;
this.ySize = 114 + this.inventoryRows * 18;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MAJOR Assign this magic number 114 to a well-named constant, and use the constant instead. rule
MAJOR Assign this magic number 18 to a well-named constant, and use the constant instead. rule

int i = (this.width - this.xSize) / 2;
int j = (this.height - this.ySize) / 2;
final int i = (this.width - this.xSize) / 2;
final int j = (this.height - this.ySize) / 2;
this.drawTexturedModalRect(i, j, 0, 0, this.xSize, this.inventoryRows * 18 + 17);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MAJOR Assign this magic number 18 to a well-named constant, and use the constant instead. rule
MAJOR Assign this magic number 17 to a well-named constant, and use the constant instead. rule

int i = (this.width - this.xSize) / 2;
int j = (this.height - this.ySize) / 2;
final int i = (this.width - this.xSize) / 2;
final int j = (this.height - this.ySize) / 2;
this.drawTexturedModalRect(i, j, 0, 0, this.xSize, this.inventoryRows * 18 + 17);
this.drawTexturedModalRect(i, j + this.inventoryRows * 18 + 17, 0, 126, this.xSize, 96);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MAJOR Assign this magic number 18 to a well-named constant, and use the constant instead. rule
MAJOR Assign this magic number 17 to a well-named constant, and use the constant instead. rule
MAJOR Assign this magic number 126 to a well-named constant, and use the constant instead. rule
MAJOR Assign this magic number 96 to a well-named constant, and use the constant instead. rule

this.inventoryRows = containerMinecoloniesBuildingInventory.getLowerChestInventory().getSizeInventory() / 9;
this.ySize = 114 + this.inventoryRows * 18;
}

/**
* Draw the foreground layer for the GuiContainer (everything in front of the items)
*/
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY)
protected void drawGuiContainerForegroundLayer(final int mouseX, final int mouseY)
{
this.fontRenderer.drawString(this.lowerChestInventory.getDisplayName().getUnformattedText(), 8, 6, 4210752);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MAJOR Assign this magic number 8 to a well-named constant, and use the constant instead. rule
MAJOR Assign this magic number 6 to a well-named constant, and use the constant instead. rule
MAJOR Assign this magic number 4210752 to a well-named constant, and use the constant instead. rule
MINOR Add underscores to this numeric value for readability rule

this.inventoryRows = containerMinecoloniesBuildingInventory.getLowerChestInventory().getSizeInventory() / 9;
this.ySize = 114 + this.inventoryRows * 18;
}

/**
* Draw the foreground layer for the GuiContainer (everything in front of the items)
*/
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY)
protected void drawGuiContainerForegroundLayer(final int mouseX, final int mouseY)
{
this.fontRenderer.drawString(this.lowerChestInventory.getDisplayName().getUnformattedText(), 8, 6, 4210752);
this.fontRenderer.drawString(this.upperChestInventory.getDisplayName().getUnformattedText(), 8, this.ySize - 96 + 2, 4210752);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MAJOR Assign this magic number 8 to a well-named constant, and use the constant instead. rule
MAJOR Assign this magic number 96 to a well-named constant, and use the constant instead. rule
MAJOR Assign this magic number 4210752 to a well-named constant, and use the constant instead. rule
MINOR Add underscores to this numeric value for readability rule

@@ -27,16 +27,16 @@ public GuiMinecoloniesCitizenInventory(final ContainerMinecoloniesCitizenInvento
this.upperChestInventory = containerMinecoloniesBuildingInventory.getPlayerInventory();
this.lowerChestInventory = containerMinecoloniesBuildingInventory.getLowerChestInventory();
this.allowUserInput = false;
int i = 222;
int j = 114;
final int i = 222;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MINOR Remove this unused "i" local variable. rule

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above comment

int i = 222;
int j = 114;
final int i = 222;
final int j = 114;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MINOR Remove this unused "j" local variable. rule

@ldtteam ldtteam deleted a comment Jan 23, 2018
@ldtteam ldtteam deleted a comment Jan 23, 2018
@@ -90,7 +90,7 @@ public boolean canResolve(
return null;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MAJOR Return an empty collection instead of null. rule

Copy link
Member

@Asherslab Asherslab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty good to me, will approve once i've got responses

@@ -1376,14 +1376,14 @@ private ItemStack forceItemStackToProvider(@NotNull final ICapabilityProvider pr
*/
public void setMirror()
{
this.isMirrored = !isMirrored;
this.isBuildingMirrored = !isBuildingMirrored;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this method be invertMirror or something? or make it setMirror(final boolean isMirrored) ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea =)

@@ -51,11 +51,11 @@ public StandardPlayerRequestResolver getNewInstance(
@NotNull final Object... context)
throws IllegalArgumentException
{
ILocation location;
final ILocation location;
try {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed XD

try {
location =
factoryController.getNewInstance(TypeConstants.ILOCATION, iRequestManager.getColony().getCenter(), iRequestManager.getColony().getWorld().provider.getDimension());
} catch (Exception ex)
} catch (final Exception ex)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please

@@ -473,7 +473,7 @@ private AIState lookForRequests()
final ImmutableList<IRequest> completedRequests = getOwnBuilding().getCompletedRequests(worker.getCitizenData());

completedRequests.stream().filter(r -> !(r.canBeDelivered())).forEach(r -> getOwnBuilding().markRequestAsAccepted(worker.getCitizenData(), r.getToken()));
IRequest firstDeliverableRequest = completedRequests.stream().filter(r -> r.canBeDelivered()).findFirst().orElse(null);
final IRequest firstDeliverableRequest = completedRequests.stream().filter(r -> r.canBeDelivered()).findFirst().orElse(null);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we set the sonar.java.source please? @OrionDevelopment

}
return false;
return InventoryUtils.transferXOfFirstSlotInProviderWithIntoNextFreeSlotInItemHandler(
(ICapabilityProvider) world.getTileEntity(pos),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How are we guaranteeing that we can convert these two? (are tile entities always ICapabilityProviders?)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah

@@ -27,16 +27,16 @@ public GuiMinecoloniesBuildingInventory(final ContainerMinecoloniesBuildingInven
this.upperChestInventory = containerMinecoloniesBuildingInventory.getPlayerInventory();
this.lowerChestInventory = containerMinecoloniesBuildingInventory.getLowerChestInventory();
this.allowUserInput = false;
int i = 222;
int j = 114;
final int i = 222;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we aren't removing them could we name them better ( including the j variable)

@@ -27,16 +27,16 @@ public GuiMinecoloniesCitizenInventory(final ContainerMinecoloniesCitizenInvento
this.upperChestInventory = containerMinecoloniesBuildingInventory.getPlayerInventory();
this.lowerChestInventory = containerMinecoloniesBuildingInventory.getLowerChestInventory();
this.allowUserInput = false;
int i = 222;
int j = 114;
final int i = 222;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above comment

@Raycoms
Copy link
Contributor Author

Raycoms commented Jan 23, 2018 via email

@ldtteam ldtteam deleted a comment Jan 23, 2018
@@ -90,7 +90,7 @@ public boolean canResolve(
return null;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MAJOR Return an empty collection instead of null. rule

@BuildTeamLinter
Copy link

SonarQube analysis reported 342 issues

  • CRITICAL 25 critical
  • MAJOR 184 major
  • MINOR 113 minor
  • INFO 20 info

Watch the comments in this conversation to review them.

Top 10 extra issues

Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

  1. CRITICAL BlockConstructionTape.java#L360: Reduce the number of conditional operators (7) used in the expression (maximum allowed 6). rule
  2. CRITICAL CitizenData.java#L190: Use already-defined constant 'TAG_SKILLS' instead of duplicating its value here. rule
  3. CRITICAL CitizenData.java#L191: Use already-defined constant 'TAG_SKILL_STRENGTH' instead of duplicating its value here. rule
  4. CRITICAL CitizenData.java#L192: Use already-defined constant 'TAG_SKILL_STAMINA' instead of duplicating its value here. rule
  5. CRITICAL CitizenData.java#L193: Use already-defined constant 'TAG_SKILL_SPEED' instead of duplicating its value here. rule
  6. CRITICAL CitizenData.java#L194: Use already-defined constant 'TAG_SKILL_INTELLIGENCE' instead of duplicating its value here. rule
  7. CRITICAL CitizenData.java#L195: Use already-defined constant 'TAG_SKILL_DEXTERITY' instead of duplicating its value here. rule
  8. CRITICAL ColonyManager.java#L733: Refactor this code to not nest more than 5 if/for/while/switch/try statements. rule
  9. CRITICAL AbstractBuilding.java#L1448: Remove usage of generic wildcard type. rule
  10. CRITICAL AbstractBuilding.java#L1477: Remove usage of generic wildcard type. rule

@Raycoms Raycoms merged commit 3b66f10 into version/1.12 Jan 23, 2018
@Raycoms Raycoms deleted the style/codacity-style-fixes branch January 23, 2018 12:46
Raycoms added a commit that referenced this pull request Jan 23, 2018
* Fixes one exception
Code cleanup
Raycoms added a commit that referenced this pull request Jan 23, 2018
* Fixes one exception
Code cleanup
Raycoms added a commit that referenced this pull request Jan 23, 2018
* Fixes one exception
Code cleanup
Raycoms added a commit that referenced this pull request Jan 23, 2018
* Style/codacity style fixes (#2078)

* Fixes one exception
Code cleanup

* fix 1.10 related things
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants