Changeset 3927


Ignore:
Timestamp:
Nov 7, 2007, 3:05:01 PM (14 years ago)
Author:
Nicklas Nordborg
Message:

Fixes issue with compiling under Java 1.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/core/net/sf/basedb/util/overview/ExperimentOverview.java

    r3875 r3927  
    19491949      {
    19501950        // The item to apply fixes on, variant or platform
    1951         String pvName = variant != null ? variant.getName() : platform.getName();
    1952         BasicItem pvItem = variant != null ? variant : platform;
     1951        String pvName = null;
     1952        BasicItem pvItem = null;
     1953        if (variant != null)
     1954        {
     1955          pvItem = variant;
     1956          pvName = variant.getName();
     1957        }
     1958        else
     1959        {
     1960          pvItem = platform;
     1961          pvName = platform.getName();
     1962        }
    19531963
    19541964        ItemQuery<PlatformFileType> pftQuery = platform.getFileTypes(variant, variant == null);
Note: See TracChangeset for help on using the changeset viewer.