Changeset 1202

Show
Ignore:
Timestamp:
07/03/08 02:36:30 (2 months ago)
Author:
fraserofthenight
Message:

Fixed some warnings. Basically just a checkin so I can edit it on another computer.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/descent.building/src/descent/internal/building/BuildingPlugin.java

    r1197 r1202  
    5555     * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext) 
    5656     */ 
    57     public void start(BundleContext context) throws Exception 
     57    @Override 
     58    public void start(BundleContext context) throws Exception 
    5859    { 
    5960        super.start(context); 
     
    6566     * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext) 
    6667     */ 
    67     public void stop(BundleContext context) throws Exception 
     68    @Override 
     69    public void stop(BundleContext context) throws Exception 
    6870    { 
    6971        plugin = null; 
  • trunk/descent.building/src/descent/internal/building/debuild/BuildRequest.java

    r1197 r1202  
    175175         
    176176        if(null == project) 
    177             throw new DebuildException(String.format("Cannot find project %1$s", project.getElementName())); 
     177            throw new DebuildException(String.format("Cannot find project %1$s", projectName)); 
    178178         
    179179        return project; 
  • trunk/descent.building/src/descent/internal/building/ui/AbstractBuilderTab.java

    r1197 r1202  
    11package descent.internal.building.ui; 
    2  
    3 import java.util.ArrayList; 
    4 import java.util.List; 
    5 import java.util.Map; 
    6 import java.util.Set; 
    72 
    83import org.eclipse.core.resources.IWorkspaceRoot; 
    94import org.eclipse.core.resources.ResourcesPlugin; 
    10 import org.eclipse.core.runtime.CoreException; 
    115import org.eclipse.debug.core.ILaunchConfiguration; 
    126import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy; 
     
    265259                button.addSelectionListener(new SelectionAdapter() 
    266260                { 
     261                    @Override 
    267262                    public void widgetSelected(SelectionEvent evt) 
    268263                    { 
     
    552547            listener = new SelectionAdapter() 
    553548            { 
     549                @Override 
    554550                public void widgetSelected(SelectionEvent e) 
    555551                { 
  • trunk/descent.building/src/descent/internal/building/ui/BuildersToolbarAction.java

    r1174 r1202  
    33import org.eclipse.debug.ui.actions.AbstractLaunchToolbarAction; 
    44 
    5 import descent.internal.building.BuildingPlugin;; 
     5import descent.internal.building.BuildingPlugin; 
    66 
    77public class BuildersToolbarAction extends AbstractLaunchToolbarAction 
  • trunk/descent.building/src/descent/internal/building/ui/CompilerTab.java

    r1197 r1202  
    8585            fHelpText.addSelectionListener(new SelectionAdapter() 
    8686            { 
     87                @Override 
    8788                public void widgetSelected(SelectionEvent e) 
    8889                { 
     
    885886    private Image fUncheckedIcon = createImage("obj16/unchecked.png");  //$NON-NLS-1$ 
    886887     
     888    @Override 
    887889    public void dispose() 
    888890    { 
     
    895897    // Tab 
    896898     
    897     private final GeneralTab generalTab; 
    898      
    899899    private CompilerSetting compilerSetting; 
    900900    private CompilerOptions compilerOptions; 
    901      
    902     public CompilerTab(GeneralTab generalTab) 
    903     { 
    904         this.generalTab = generalTab; 
    905     } 
    906901     
    907902    @Override 
  • trunk/descent.building/src/descent/internal/building/ui/DebuildTabGroup.java

    r1197 r1202  
    1010    public void createTabs(ILaunchConfigurationDialog dialog, String mode) 
    1111    { 
    12         final GeneralTab generalTab = new GeneralTab(); 
    1312        ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] 
    1413        { 
    15             generalTab
    16              new CompilerTab(generalTab), 
     14            new GeneralTab()
     15             new CompilerTab(), 
    1716             new VersionTab(), 
    1817             new EnvironmentTab(), 
  • trunk/descent.building/src/descent/internal/building/ui/GeneralTab.java

    r1197 r1202  
    212212                    new SelectionAdapter() 
    213213                    { 
     214                        @Override 
    214215                        public void widgetSelected(SelectionEvent e) 
    215216                        { 
     
    228229                    new SelectionAdapter() 
    229230                    { 
     231                        @Override 
    230232                        public void widgetSelected(SelectionEvent e) 
    231233                        { 
  • trunk/descent.building/src/descent/internal/building/ui/VersionTab.java

    r1197 r1202  
    365365                { 
    366366                    fIdents.remove(element); 
    367                     if(!"".equals(value)); //$NON-NLS-1$ 
     367                    if(!"".equals(value)) //$NON-NLS-1$ 
    368368                        fIdents.add(value); 
    369369                    updateList();