@@ -155,7 +155,7 @@ protected void init(String symbolId, AVList modifiers)
155155        // Configure this tactical symbol's icon retriever and modifier retriever with either the configuration value or 
156156        // the default value (in that order of precedence). 
157157        String  iconRetrieverPath  = Configuration .getStringValue (AVKey .MIL_STD_2525_ICON_RETRIEVER_PATH ,
158-             MilStd2525Constants .DEFAULT_ICON_RETRIEVER_PATH );
158+                  MilStd2525Constants .DEFAULT_ICON_RETRIEVER_PATH );
159159        this .setIconRetriever (new  MilStd2525IconRetriever (iconRetrieverPath ));
160160        this .setModifierRetriever (new  MilStd2525ModifierRetriever (iconRetrieverPath ));
161161
@@ -379,10 +379,10 @@ protected void applyImplicitModifiers(AVList modifiers)
379379                modifiers .setValue (SymbologyConstants .FRAME_SHAPE , SymbologyConstants .FRAME_SHAPE_EXERCISE );
380380            }
381381            else  if  (si  != null  && (si .equalsIgnoreCase (SymbologyConstants .STANDARD_IDENTITY_EXERCISE_PENDING )
382-                 || si .equalsIgnoreCase (SymbologyConstants .STANDARD_IDENTITY_EXERCISE_UNKNOWN )
383-                 || si .equalsIgnoreCase (SymbologyConstants .STANDARD_IDENTITY_EXERCISE_FRIEND )
384-                 || si .equalsIgnoreCase (SymbologyConstants .STANDARD_IDENTITY_EXERCISE_NEUTRAL )
385-                 || si .equalsIgnoreCase (SymbologyConstants .STANDARD_IDENTITY_EXERCISE_ASSUMED_FRIEND )))
382+                      || si .equalsIgnoreCase (SymbologyConstants .STANDARD_IDENTITY_EXERCISE_UNKNOWN )
383+                      || si .equalsIgnoreCase (SymbologyConstants .STANDARD_IDENTITY_EXERCISE_FRIEND )
384+                      || si .equalsIgnoreCase (SymbologyConstants .STANDARD_IDENTITY_EXERCISE_NEUTRAL )
385+                      || si .equalsIgnoreCase (SymbologyConstants .STANDARD_IDENTITY_EXERCISE_ASSUMED_FRIEND )))
386386            {
387387                modifiers .setValue (SymbologyConstants .FRAME_SHAPE , SymbologyConstants .FRAME_SHAPE_EXERCISE );
388388            }
@@ -399,9 +399,9 @@ else if (si != null && si.equalsIgnoreCase(SymbologyConstants.STANDARD_IDENTITY_
399399        // If this symbol represents a hostile entity, and the "hostile/enemy" indicator is enabled, then set the 
400400        // hostile modifier to "ENY". 
401401        boolean  isHostile  = SymbologyConstants .STANDARD_IDENTITY_HOSTILE .equalsIgnoreCase (si )
402-             || SymbologyConstants .STANDARD_IDENTITY_SUSPECT .equalsIgnoreCase (si )
403-             || SymbologyConstants .STANDARD_IDENTITY_JOKER .equalsIgnoreCase (si )
404-             || SymbologyConstants .STANDARD_IDENTITY_FAKER .equalsIgnoreCase (si );
402+                  || SymbologyConstants .STANDARD_IDENTITY_SUSPECT .equalsIgnoreCase (si )
403+                  || SymbologyConstants .STANDARD_IDENTITY_JOKER .equalsIgnoreCase (si )
404+                  || SymbologyConstants .STANDARD_IDENTITY_FAKER .equalsIgnoreCase (si );
405405        if  (!modifiers .hasKey (SymbologyConstants .HOSTILE_ENEMY ) && this .isShowHostileIndicator () && isHostile )
406406        {
407407            modifiers .setValue (SymbologyConstants .HOSTILE_ENEMY , SymbologyConstants .HOSTILE_ENEMY );
@@ -491,7 +491,7 @@ else if ((modifierCode = this.getModifierCode(modifiers, SymbologyConstants.ECHE
491491            if  (modifierCode  != null )
492492            {
493493                this .addGlyph (dc , Offset .BOTTOM_CENTER , Offset .TOP_CENTER , modifierCode , retrieverParams ,
494-                     LAYOUT_RELATIVE , osym );
494+                          LAYOUT_RELATIVE , osym );
495495            }
496496        }
497497        else 
@@ -519,7 +519,7 @@ else if ((modifierCode = this.getModifierCode(modifiers, SymbologyConstants.ECHE
519519    protected  boolean  mustUseAlternateOperationalCondition (AVList  modifiers )
520520    {
521521        return  SymbologyConstants .SCHEME_EMERGENCY_MANAGEMENT .equalsIgnoreCase (this .symbolCode .getScheme ())
522-             || modifiers .hasKey (SymbologyConstants .OPERATIONAL_CONDITION_ALTERNATE );
522+                  || modifiers .hasKey (SymbologyConstants .OPERATIONAL_CONDITION_ALTERNATE );
523523    }
524524
525525    @ Override 
@@ -540,8 +540,7 @@ protected void layoutDynamicModifiers(DrawContext dc, AVList modifiers, OrderedS
540540            double  length  = this .iconRect .getHeight ();
541541            Boolean  directionOnly  = true ;
542542            Object  d  = this .getModifier (SymbologyConstants .SPEED_LEADER_SCALE );
543-             if  (d  != null  && d  instanceof  Number )
544-             {
543+             if  (d  != null  && d  instanceof  Number ) {
545544                directionOnly  = false ;
546545                length  *= ((Number ) d ).doubleValue ();
547546            }
@@ -557,7 +556,7 @@ protected void layoutDynamicModifiers(DrawContext dc, AVList modifiers, OrderedS
557556            else 
558557            {
559558                List <? extends  Point2D > points  = MilStd2525Util .computeCenterHeadingIndicatorPoints (dc ,
560-                     osym .placePoint , (Angle ) o , length , directionOnly );
559+                          osym .placePoint , (Angle ) o , length , directionOnly );
561560                this .addLine (dc , Offset .CENTER , points , null , 0 , osym );
562561            }
563562        }
@@ -582,7 +581,7 @@ protected void layoutTextModifiers(DrawContext dc, AVList modifiers, OrderedSymb
582581        if  (sb .length () > 0 )
583582        {
584583            this .addLabel (dc , Offset .TOP_CENTER , Offset .BOTTOM_CENTER , sb .toString (), font , null , LAYOUT_RELATIVE ,
585-                 osym );
584+                      osym );
586585            sb .delete (0 , sb .length ());
587586        }
588587
@@ -713,9 +712,9 @@ protected int getMaxLabelLines(AVList modifiers)
713712        if  (modifiers .hasKey (SymbologyConstants .HIGHER_FORMATION ))
714713            rightLines ++;
715714        if  (modifiers .hasKey (SymbologyConstants .COMBAT_EFFECTIVENESS )
716-             || modifiers .hasKey (SymbologyConstants .SIGNATURE_EQUIPMENT )
717-             || modifiers .hasKey (SymbologyConstants .HOSTILE_ENEMY )
718-             || modifiers .hasKey (SymbologyConstants .IFF_SIF ))
715+                  || modifiers .hasKey (SymbologyConstants .SIGNATURE_EQUIPMENT )
716+                  || modifiers .hasKey (SymbologyConstants .HOSTILE_ENEMY )
717+                  || modifiers .hasKey (SymbologyConstants .IFF_SIF ))
719718        {
720719            rightLines ++;
721720        }
0 commit comments