Changeset 286


Ignore:
Timestamp:
12/09/11 12:55:18 (13 years ago)
Author:
sherbold
Message:
  • fixed some code smells
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JFCMonitor/src/de/ugoe/cs/eventbench/jfcmonitor/JarLauncher.java

    r283 r286  
    99import java.net.URL; 
    1010import java.net.URLClassLoader; 
     11import java.util.Arrays; 
    1112import java.util.jar.JarInputStream; 
    1213import java.util.jar.Manifest; 
     
    124125        public JarLauncher(String jarfile, String[] args) { 
    125126                this.jarfile = jarfile; 
    126                 this.args = args; 
     127                this.args = Arrays.copyOf(args, args.length); 
    127128        } 
    128129 
Note: See TracChangeset for help on using the changeset viewer.