Ignore:
Timestamp:
2010-09-15T18:59:53+02:00 (14 years ago)
Author:
stoecker
Message:

remove tabs

Location:
applications/editors/josm/plugins/roadsigns/src/org/openstreetmap/josm/plugins/roadsigns
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/roadsigns/src/org/openstreetmap/josm/plugins/roadsigns/RoadSignInputDialog.java

    r22423 r23192  
    471471    public JComponent buildPreviewPanel() {
    472472        JPanel previewPanel = new JPanel(new GridBagLayout());
    473        
     473
    474474        String[] columnNames = {tr("Key"), tr("Value")};
    475475        String[][] data = {{}};
     
    495495        scroll.setPreferredSize(dim);
    496496        scroll.setMinimumSize(dim); /* minimum size is relevant for multisplit layout */
    497        
     497
    498498        addTrafficSignTag = new JCheckBox(tr("{0} tag", "traffic_sign"));
    499499        addTrafficSignTag.setSelected(Main.pref.getBoolean("plugin.roadsigns.addTrafficSignTag"));
     
    503503            }
    504504        });
    505        
     505
    506506        previewPanel.add(scroll, GBC.eol().fill());
    507507        previewPanel.add(addTrafficSignTag, GBC.eol());
     
    544544            final TreeMap<String, String> map= new TreeMap<String, String>();
    545545            String traffic_sign = "";
    546            
     546
    547547            for (SignCombination sc : sel.combos) {
    548548                final Map<String, String> env = new HashMap<String, String>();
     
    596596                    }
    597597                }
    598                
     598
    599599                Map<String, TagEvaluater> tags = new LinkedHashMap<String, TagEvaluater>();
    600600                for (SignWrapper sw : sc.signs) {
     
    654654                    map.putAll(result);
    655655                }
    656                
     656
    657657                if (combo_traffic_sign.length() != 0) {
    658658                    if (traffic_sign.length() != 0) {
  • applications/editors/josm/plugins/roadsigns/src/org/openstreetmap/josm/plugins/roadsigns/RoadSignsReader.java

    r22420 r23192  
    104104                }
    105105                curSign.iconURL = iconURL;
    106                  
     106
    107107                if ("yes".equals(atts.getValue("supplementary"))) {
    108108                    curSign.isSupplementing = true;
    109109                }
    110                
     110
    111111                curSign.wiki = atts.getValue("wiki");
    112112                curSign.loc_wiki = getLocalized(atts, "wiki");
     
    296296        }
    297297    }
    298    
     298
    299299    /**
    300300     *
  • applications/editors/josm/plugins/roadsigns/src/org/openstreetmap/josm/plugins/roadsigns/javacc/ParamStringScannerConstants.java

    r21967 r23192  
    33
    44
    5 /** 
     5/**
    66 * Token literal values and constants.
    77 * Generated by org.javacc.parser.OtherFilesGen#start()
  • applications/editors/josm/plugins/roadsigns/src/org/openstreetmap/josm/plugins/roadsigns/javacc/ParamStringScannerTokenManager.java

    r21967 r23192  
    167167}
    168168static final int[] jjnextStates = {
    169    1, 3, 5, 6, 9, 10, 
     169   1, 3, 5, 6, 9, 10,
    170170};
    171171
     
    176176/** Lexer state names. */
    177177public static final String[] lexStateNames = {
    178    "DEFAULT", 
     178   "DEFAULT",
    179179};
    180180protected SimpleCharStream input_stream;
     
    259259
    260260/** Get the next Token. */
    261 public Token getNextToken() 
     261public Token getNextToken()
    262262{
    263263  Token matchedToken;
     
    266266  EOFLoop :
    267267  for (;;)
    268   {   
    269    try   
    270    {     
     268  {
     269   try
     270   {
    271271      curChar = input_stream.BeginToken();
    272    }     
     272   }
    273273   catch(java.io.IOException e)
    274    {       
     274   {
    275275      jjmatchedKind = 0;
    276276      matchedToken = jjFillToken();
  • applications/editors/josm/plugins/roadsigns/src/org/openstreetmap/josm/plugins/roadsigns/javacc/ParseException.java

    r21967 r23192  
    127127      retval += add_escapes(tok.image);
    128128      retval += " \"";
    129       tok = tok.next; 
     129      tok = tok.next;
    130130    }
    131131    retval += "\" at line " + currentToken.next.beginLine + ", column " + currentToken.next.beginColumn;
     
    144144   */
    145145  protected String eol = System.getProperty("line.separator", "\n");
    146  
     146
    147147  /**
    148148   * Used to convert raw characters to their escaped version
  • applications/editors/josm/plugins/roadsigns/src/org/openstreetmap/josm/plugins/roadsigns/javacc/SimpleCharStream.java

    r21967 r23192  
    205205
    206206  /**
    207    * @deprecated 
     207   * @deprecated
    208208   * @see #getEndColumn
    209209   */
     
    214214
    215215  /**
    216    * @deprecated 
     216   * @deprecated
    217217   * @see #getEndLine
    218218   */
     
    449449        columnDiff = nextColDiff;
    450450        i++;
    451      } 
     451     }
    452452
    453453     if (i < len)
  • applications/editors/josm/plugins/roadsigns/src/org/openstreetmap/josm/plugins/roadsigns/javacc/TokenMgrError.java

    r21967 r23192  
    8989    * Returns a detailed message for the Error when it is thrown by the
    9090    * token manager to indicate a lexical error.
    91     * Parameters : 
     91    * Parameters :
    9292    *    EOFSeen     : indicates if EOF caused the lexical error
    9393    *    curLexState : lexical state in which this error occurred
     
    109109    * You can also modify the body of this method to customize your error messages.
    110110    * For example, cases like LOOP_DETECTED and INVALID_LEXICAL_STATE are not
    111     * of end-users concern, so you can return something like : 
     111    * of end-users concern, so you can return something like :
    112112    *
    113113    *     "Internal Error : Please file a bug report .... "
Note: See TracChangeset for help on using the changeset viewer.