Changeset 4415


Ignore:
Timestamp:
Feb 20, 2013, 4:25:49 PM (10 years ago)
Author:
olle
Message:

Refs #327. Compiler warnings for unchecked calls in classes/files coreftpd/common/JFolderChooser.java and coreftpd/webserver/MenuOptions.java, both in client/ftpd/, suppressed with Java annotation @SuppressWarnings("unchecked").

Location:
trunk/client/ftpd/src/se/lu/thep/coreftpd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/ftpd/src/se/lu/thep/coreftpd/common/JFolderChooser.java

    r1916 r4415  
    108108   * Choose which folder shall be listed.
    109109   */
     110  @SuppressWarnings("unchecked")
    110111  public void setNewPath(String argLocation) {
    111112    s_location = argLocation;
  • trunk/client/ftpd/src/se/lu/thep/coreftpd/webserver/MenuOptions.java

    r1916 r4415  
    131131  private JTextField JTF_connectionsField;
    132132
     133  @SuppressWarnings("unchecked")
    133134  public MenuOptions(ProgramWindow argProgramWindow) {
    134135    defaultFont = GUIMethods.defaultFont;
     
    266267  }
    267268
     269  @SuppressWarnings("unchecked")
    268270  public void addIPToList(HitStatistic hit) {
    269271    DLM_listWithAllIPConnected.addElement(hit);
     
    590592  }
    591593
     594  @SuppressWarnings("unchecked")
    592595  private void initSwingButtons() {
    593596    DLM_listWithAllIPConnected = new DefaultListModel();
Note: See TracChangeset for help on using the changeset viewer.