< prev index next >

src/java.desktop/share/classes/sun/java2d/pipe/hw/ContextCapabilities.java

Print this page

        

*** 63,73 **** protected final String adapterId; /** * Constructs a {@code ContextCapabilities} object. * @param caps an {@code int} representing the capabilities ! * @param a {@code String} representing the name of the adapter, or null, * in which case the adapterId will be set to "unknown adapter". */ protected ContextCapabilities(int caps, String adapterId) { this.caps = caps; this.adapterId = adapterId != null ? adapterId : "unknown adapter"; --- 63,73 ---- protected final String adapterId; /** * Constructs a {@code ContextCapabilities} object. * @param caps an {@code int} representing the capabilities ! * @param adapterId {@code String} representing the name of the adapter, or null, * in which case the adapterId will be set to "unknown adapter". */ protected ContextCapabilities(int caps, String adapterId) { this.caps = caps; this.adapterId = adapterId != null ? adapterId : "unknown adapter";
< prev index next >