Skip to content

Commit df550bd

Browse files
author
Vitaliy Boyko
committed
Static fixes Checkstyle
1 parent 870497f commit df550bd

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/com/magento/idea/magento2plugin/actions/generation/generator/CustomerEavAttributePatchGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ protected void fillAttributes(final Properties attributes) {
6363
).append(
6464
"CUSTOMER_METADATA_INTERFACE",
6565
DataPatchDependency.CUSTOMER_METADATA_INTERFACE.getClassPatch()
66-
);
66+
);
6767

6868
final String selectedCustomerForms = getFormsForAttribute((CustomerEntityData) data);
6969

src/com/magento/idea/magento2plugin/actions/generation/generator/util/eav/DefaultAttributeMapper.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import java.util.Map;
1818

1919
public class DefaultAttributeMapper implements AttributeMapperInterface {
20-
private final static String PHP_DOUBLE_ARROW_OPERATOR = " => ";
20+
private static final String PHP_DOUBLE_ARROW_OPERATOR = " => ";
2121

2222
@Override
2323
public List<String> mapAttributesByEntityData(final EavEntityDataInterface entityData) {
@@ -120,7 +120,8 @@ protected String getMappedOptions(
120120
}
121121

122122
protected String getParsedOptions(final Map<Integer, String> optionValues) {
123-
final String valueNode = "->" + wrapStringValueForTemplate("value") + PHP_DOUBLE_ARROW_OPERATOR;
123+
final String valueNode = "->" + wrapStringValueForTemplate("value")
124+
+ PHP_DOUBLE_ARROW_OPERATOR;
124125
final StringBuilder optionsContent = new StringBuilder();
125126

126127
for (final Integer optionKey : optionValues.keySet()) {
@@ -143,7 +144,8 @@ protected String getParsedOptions(final Map<Integer, String> optionValues) {
143144
}
144145

145146
protected String getParsedOptionSortOrders(final Map<Integer, String> optionSortOrders) {
146-
final String orderNode = "->" + wrapStringValueForTemplate("order") + PHP_DOUBLE_ARROW_OPERATOR;
147+
final String orderNode = "->" + wrapStringValueForTemplate("order")
148+
+ PHP_DOUBLE_ARROW_OPERATOR;
147149
final StringBuilder ordersContent = new StringBuilder();
148150

149151
for (final Integer optionKey : optionSortOrders.keySet()) {

0 commit comments

Comments
 (0)