bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public static Color getColor(Object key) { return (Color) getLookAndFeel().getDefaults().get(key); }
public static Color getColor(Object key) { return (Color) getLookAndFeel().getDefaults().get(key); }
38,005
public static String getCrossPlatformLookAndFeelClassName() { return "javax.swing.plaf.metal.MetalLookAndFeel"; }
public static String getCrossPlatformLookAndFeelClassName() { return "javax.swing.plaf.metal.MetalLookAndFeel"; }
38,006
static UIDefaults getDefaults() { return getLookAndFeel().getDefaults(); }
static UIDefaults getDefaults() { return getLookAndFeel().getDefaults(); }
38,007
static Dimension getDimension(Object key) { System.out.println("UIManager.getDim"); return new Dimension(200, 100); }
static Dimension getDimension(Object key) { System.out.println("UIManager.getDim"); return new Dimension(200, 100); }
38,008
static Font getFont(Object key) // Returns a drawing font from the defaults table. { return (Font) getLookAndFeel().getDefaults().get(key); }
static Font getFont(Object key) // Returns a drawing font from the defaults table. { return (Font) getLookAndFeel().getDefaults().get(key); }
38,009
static Icon getIcon(Object key) // Returns an Icon from the defaults table. { return (Icon) getLookAndFeel().getDefaults().get(key); }
static Icon getIcon(Object key) // Returns an Icon from the defaults table. { return (Icon) getLookAndFeel().getDefaults().get(key); }
38,010
static Insets getInsets(Object key) // Returns an Insets object from the defaults table. { return (Insets) getLookAndFeel().getDefaults().getInsets(key); }
static Insets getInsets(Object key) // Returns an Insets object from the defaults table. { return (Insets) getLookAndFeel().getDefaults().getInsets(key); }
38,011
static LookAndFeelInfo[] getInstalledLookAndFeels() { return installed; }
static LookAndFeelInfo[] getInstalledLookAndFeels() { return installed; }
38,012
static int getInt(Object key) { Integer x = (Integer) getLookAndFeel().getDefaults().get(key); if (x == null) return 0; return x.intValue(); }
static int getInt(Object key) { Integer x = (Integer) getLookAndFeel().getDefaults().get(key); if (x == null) return 0; return x.intValue(); }
38,013
static LookAndFeel getLookAndFeel() { return look_and_feel; }
static LookAndFeel getLookAndFeel() { return look_and_feel; }
38,014
static UIDefaults getLookAndFeelDefaults() // Returns the default values for this look and feel. { return getLookAndFeel().getDefaults(); }
static UIDefaults getLookAndFeelDefaults() // Returns the default values for this look and feel. { return getLookAndFeel().getDefaults(); }
38,015
static String getString(Object key) // Returns a string from the defaults table. { return (String) getLookAndFeel().getDefaults().get(key); }
static String getString(Object key) // Returns a string from the defaults table. { return (String) getLookAndFeel().getDefaults().get(key); }
38,016
static String getSystemLookAndFeelClassName() // Returns the name of the LookAndFeel class that implements the native systems look and feel if there is one, otherwise the name of the default cross platform LookAndFeel class. { return getCrossPlatformLookAndFeelClassName(); }
static String getSystemLookAndFeelClassName() // Returns the name of the LookAndFeel class that implements the native systems look and feel if there is one, otherwise the name of the default cross platform LookAndFeel class. { return getCrossPlatformLookAndFeelClassName(); }
38,017
public static ComponentUI getUI(JComponent target) // Returns the L&F object that renders the target component. { ComponentUI ui = getDefaults().getUI(target); //System.out.println("GET-UI-> " + ui + ", for " + target); return ui; }
public static ComponentUI getUI(JComponent target) // Returns the L&F object that renders the target component. { ComponentUI ui = getDefaults().getUI(target); //System.out.println("GET-UI-> " + ui + ", for " + target); return ui; }
38,018
public static void installLookAndFeel(String name, String className) // Creates a new look and feel and adds it to the current array. { }
public static void installLookAndFeel(String name, String className) // Creates a new look and feel and adds it to the current array. { }
38,019
public static Object put(Object key, Object value) // Stores an object in the defaults table. { return getLookAndFeel().getDefaults().put(key, value); }
public static Object put(Object key, Object value) // Stores an object in the defaults table. { return getLookAndFeel().getDefaults().put(key, value); }
38,020
public static boolean removeAuxiliaryLookAndFeel(LookAndFeel laf) { if (aux_installed == null) return false; for (int i = 0; i < aux_installed.length; i++) { if (aux_installed[i] == laf) { aux_installed[i] = aux_installed[aux_installed.length - 1]; LookAndFeel[] T = new LookAndFeel[aux_installed.length - 1...
public static boolean removeAuxiliaryLookAndFeel(LookAndFeel laf) { if (aux_installed == null) return false; for (int i = 0; i < aux_installed.length; i++) { if (aux_installed[i] == laf) { aux_installed[i] = aux_installed[aux_installed.length - 1]; LookAndFeel[] T = new LookAndFeel[aux_installed.length - 1...
38,021
public static boolean removeAuxiliaryLookAndFeel(LookAndFeel laf) { if (aux_installed == null) return false; for (int i = 0; i < aux_installed.length; i++) { if (aux_installed[i] == laf) { aux_installed[i] = aux_installed[aux_installed.length - 1]; LookAndFeel[] T = new LookAndFeel[aux_installed.length - 1...
public static boolean removeAuxiliaryLookAndFeel(LookAndFeel laf) { if (aux_installed == null) return false; for (int i = 0; i < aux_installed.length; i++) { if (aux_installed[i] == laf) { aux_installed[i] = aux_installed[aux_installed.length - 1]; LookAndFeel[] T = new LookAndFeel[aux_installed.length - 1...
38,022
public static void removePropertyChangeListener(PropertyChangeListener listener) // Remove a PropertyChangeListener from the listener list. { }
public static void removePropertyChangeListener(PropertyChangeListener listener) // Remove a PropertyChangeListener from the listener list. { }
38,023
public static void setInstalledLookAndFeels(UIManager.LookAndFeelInfo[] infos) // Replaces the current array of installed LookAndFeelInfos. { }
public static void setInstalledLookAndFeels(UIManager.LookAndFeelInfo[] infos) // Replaces the current array of installed LookAndFeelInfos. { }
38,024
public static void setLookAndFeel(LookAndFeel newLookAndFeel) { if (look_and_feel != null) look_and_feel.uninitialize(); // Set the current default look and feel using a LookAndFeel object. look_and_feel = newLookAndFeel; look_and_feel.initialize(); // revalidate(); // repaint(); }
public static void setLookAndFeel(LookAndFeel newLookAndFeel) { if (look_and_feel != null) look_and_feel.uninitialize(); // Set the current default look and feel using a LookAndFeel object. look_and_feel = newLookAndFeel; look_and_feel.initialize(); // revalidate(); // repaint(); }
38,025
public static void setLookAndFeel(LookAndFeel newLookAndFeel) { if (look_and_feel != null) look_and_feel.uninitialize(); // Set the current default look and feel using a LookAndFeel object. look_and_feel = newLookAndFeel; look_and_feel.initialize(); // revalidate(); // repaint(); }
public static void setLookAndFeel(LookAndFeel newLookAndFeel) { if (look_and_feel != null) look_and_feel.uninitialize(); // Set the current default look and feel using a LookAndFeel object. look_and_feel = newLookAndFeel; look_and_feel.initialize(); // revalidate(); // repaint(); }
38,026
public abstract void downFocusCycle (Container cont);
public abstract void downFocusCycle (Container cont);
38,027
public abstract void focusNextComponent (Component comp);
public abstract void focusNextComponent (Component comp);
38,028
public abstract void focusPreviousComponent (Component comp);
public abstract void focusPreviousComponent (Component comp);
38,029
public final void redispatchEvent (Component target, AWTEvent e) { e.setSource (target); dispatchEvent (e); }
public final void redispatchEvent (Component target, AWTEvent e) { e.setSource (target); target.dispatchEvent (e); } }
38,031
public abstract void upFocusCycle (Component comp);
public abstract void upFocusCycle (Component comp);
38,032
public void layoutContainer(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Dimension size = parent.getSize(); Insets insets = parent.getInsets(); Dimension innerSize = new Dimension(size.width - insets.left - insets.right...
public void layoutContainer(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Dimension size = parent.getSize(); Insets insets = parent.getInsets(); Dimension innerSize = new Dimension(size.width - insets.left - insets.right...
38,033
public void layoutContainer(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Dimension size = parent.getSize(); Insets insets = parent.getInsets(); Dimension innerSize = new Dimension(size.width - insets.left - insets.right...
public void layoutContainer(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Dimension size = parent.getSize(); Insets insets = parent.getInsets(); Dimension innerSize = new Dimension(size.width - insets.left - insets.right...
38,034
public void layoutContainer(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Dimension size = parent.getSize(); Insets insets = parent.getInsets(); Dimension innerSize = new Dimension(size.width - insets.left - insets.right...
public void layoutContainer(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Dimension size = parent.getSize(); Insets insets = parent.getInsets(); Dimension innerSize = new Dimension(size.width - insets.left - insets.right...
38,035
public Dimension maximumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = insets.left + insets.right; int y = insets.top + insets.bottom; Component[] children = parent.getComponents(); if (isHorizontalI...
public Dimension maximumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = insets.left + insets.right; int y = insets.top + insets.bottom; Component[] children = AWTUtilities.getVisibleChildren(parent); ...
38,036
public Dimension minimumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = insets.left + insets.right; int y = insets.bottom + insets.top; Component[] children = parent.getComponents(); if (isHorizontalI...
public Dimension minimumLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = insets.left + insets.right; int y = insets.bottom + insets.top; Component[] children = AWTUtilities.getVisibleChildren(parent); ...
38,037
public Dimension preferredLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = 0; int y = 0; Component[] children = parent.getComponents(); if (isHorizontalIn(parent)) { x = insets.left...
public Dimension preferredLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); Insets insets = parent.getInsets(); int x = 0; int y = 0; Component[] children = AWTUtilities.getVisibleChildren(parent); if (isHorizontalIn(parent)) { ...
38,038
public void actionPerformed (ActionEvent e) { int lead = list.getLeadSelectionIndex(); int max = list.getModel().getSize() - 1; DefaultListSelectionModel selModel = (DefaultListSelectionModel)list.getSelectionModel(); String command = e.getActionCommand(); // Do nothing if list is empty ...
public void actionPerformed(ActionEvent e) { int lead = list.getLeadSelectionIndex(); int max = list.getModel().getSize() - 1; DefaultListSelectionModel selModel = (DefaultListSelectionModel)list.getSelectionModel(); String command = e.getActionCommand(); // Do nothing if list is empty ...
38,039
public void actionPerformed (ActionEvent e) { int lead = list.getLeadSelectionIndex(); int max = list.getModel().getSize() - 1; DefaultListSelectionModel selModel = (DefaultListSelectionModel)list.getSelectionModel(); String command = e.getActionCommand(); // Do nothing if list is empty ...
public void actionPerformed (ActionEvent e) { int lead = list.getLeadSelectionIndex(); int max = list.getModel().getSize() - 1; DefaultListSelectionModel selModel = (DefaultListSelectionModel) list.getSelectionModel(); String command = e.getActionCommand(); // Do nothing if list is empty...
38,040
public void actionPerformed (ActionEvent e) { int lead = list.getLeadSelectionIndex(); int max = list.getModel().getSize() - 1; DefaultListSelectionModel selModel = (DefaultListSelectionModel)list.getSelectionModel(); String command = e.getActionCommand(); // Do nothing if list is empty ...
public void actionPerformed (ActionEvent e) { int lead = list.getLeadSelectionIndex(); int max = list.getModel().getSize() - 1; DefaultListSelectionModel selModel = (DefaultListSelectionModel)list.getSelectionModel(); String command = e.getActionCommand(); // Do nothing if list is empty ...
38,041
public void actionPerformed (ActionEvent e) { int lead = list.getLeadSelectionIndex(); int max = list.getModel().getSize() - 1; DefaultListSelectionModel selModel = (DefaultListSelectionModel)list.getSelectionModel(); String command = e.getActionCommand(); // Do nothing if list is empty ...
public void actionPerformed (ActionEvent e) { int lead = list.getLeadSelectionIndex(); int max = list.getModel().getSize() - 1; DefaultListSelectionModel selModel = (DefaultListSelectionModel)list.getSelectionModel(); String command = e.getActionCommand(); // Do nothing if list is empty ...
38,042
public void actionPerformed (ActionEvent e) { int lead = list.getLeadSelectionIndex(); int max = list.getModel().getSize() - 1; DefaultListSelectionModel selModel = (DefaultListSelectionModel)list.getSelectionModel(); String command = e.getActionCommand(); // Do nothing if list is empty ...
public void actionPerformed (ActionEvent e) { int lead = list.getLeadSelectionIndex(); int max = list.getModel().getSize() - 1; DefaultListSelectionModel selModel = (DefaultListSelectionModel)list.getSelectionModel(); String command = e.getActionCommand(); // Do nothing if list is empty ...
38,043
public void actionPerformed (ActionEvent e) { int lead = list.getLeadSelectionIndex(); int max = list.getModel().getSize() - 1; DefaultListSelectionModel selModel = (DefaultListSelectionModel)list.getSelectionModel(); String command = e.getActionCommand(); // Do nothing if list is empty ...
public void actionPerformed (ActionEvent e) { int lead = list.getLeadSelectionIndex(); int max = list.getModel().getSize() - 1; DefaultListSelectionModel selModel = (DefaultListSelectionModel)list.getSelectionModel(); String command = e.getActionCommand(); // Do nothing if list is empty ...
38,044
public void actionPerformed (ActionEvent e) { int lead = list.getLeadSelectionIndex(); int max = list.getModel().getSize() - 1; DefaultListSelectionModel selModel = (DefaultListSelectionModel)list.getSelectionModel(); String command = e.getActionCommand(); // Do nothing if list is empty ...
public void actionPerformed (ActionEvent e) { int lead = list.getLeadSelectionIndex(); int max = list.getModel().getSize() - 1; DefaultListSelectionModel selModel = (DefaultListSelectionModel)list.getSelectionModel(); String command = e.getActionCommand(); // Do nothing if list is empty ...
38,045
public void actionPerformed (ActionEvent e) { int lead = list.getLeadSelectionIndex(); int max = list.getModel().getSize() - 1; DefaultListSelectionModel selModel = (DefaultListSelectionModel)list.getSelectionModel(); String command = e.getActionCommand(); // Do nothing if list is empty ...
public void actionPerformed (ActionEvent e) { int lead = list.getLeadSelectionIndex(); int max = list.getModel().getSize() - 1; DefaultListSelectionModel selModel = (DefaultListSelectionModel)list.getSelectionModel(); String command = e.getActionCommand(); // Do nothing if list is empty ...
38,046
public void actionPerformed (ActionEvent e) { int lead = list.getLeadSelectionIndex(); int max = list.getModel().getSize() - 1; DefaultListSelectionModel selModel = (DefaultListSelectionModel)list.getSelectionModel(); String command = e.getActionCommand(); // Do nothing if list is empty ...
public void actionPerformed (ActionEvent e) { int lead = list.getLeadSelectionIndex(); int max = list.getModel().getSize() - 1; DefaultListSelectionModel selModel = (DefaultListSelectionModel)list.getSelectionModel(); String command = e.getActionCommand(); // Do nothing if list is empty ...
38,047
public void actionPerformed (ActionEvent e) { int lead = list.getLeadSelectionIndex(); int max = list.getModel().getSize() - 1; DefaultListSelectionModel selModel = (DefaultListSelectionModel)list.getSelectionModel(); String command = e.getActionCommand(); // Do nothing if list is empty ...
public void actionPerformed (ActionEvent e) { int lead = list.getLeadSelectionIndex(); int max = list.getModel().getSize() - 1; DefaultListSelectionModel selModel = (DefaultListSelectionModel)list.getSelectionModel(); String command = e.getActionCommand(); // Do nothing if list is empty ...
38,048
public void mouseClicked(MouseEvent event) { Point click = event.getPoint(); int index = locationToIndex(list, click); if (index == -1) return; if (event.isShiftDown()) { if (list.getSelectionMode() == ListSelectionModel.SINGLE_SELECTION) list.setSelectedInde...
public void mouseClicked(MouseEvent event) { Point click = event.getPoint(); int index = locationToIndex(list, click); if (index == -1) return; if (event.isShiftDown()) { if (list.getSelectionMode() == ListSelectionModel.SINGLE_SELECTION) list.setSelectedInde...
38,049
public void mouseClicked(MouseEvent event) { Point click = event.getPoint(); int index = locationToIndex(list, click); if (index == -1) return; if (event.isShiftDown()) { if (list.getSelectionMode() == ListSelectionModel.SINGLE_SELECTION) list.setSelectedInde...
public void mouseClicked(MouseEvent event) { Point click = event.getPoint(); int index = locationToIndex(list, click); if (index == -1) return; if (event.isShiftDown()) { if (list.getSelectionMode() == ListSelectionModel.SINGLE_SELECTION) list.setSelectedInde...
38,050
protected void installKeyboardActions() { InputMap focusInputMap = (InputMap) UIManager.get("List.focusInputMap"); InputMapUIResource parentInputMap = new InputMapUIResource(); // FIXME: The JDK uses a LazyActionMap for parentActionMap ActionMap parentActionMap = new ActionMapUIResource(); action = ne...
protected void installKeyboardActions() { InputMap focusInputMap = (InputMap) UIManager.get("List.focusInputMap"); InputMapUIResource parentInputMap = new InputMapUIResource(); // FIXME: The JDK uses a LazyActionMap for parentActionMap ActionMap parentActionMap = new ActionMapUIResource(); action = ne...
38,051
protected void installKeyboardActions() { InputMap focusInputMap = (InputMap) UIManager.get("List.focusInputMap"); InputMapUIResource parentInputMap = new InputMapUIResource(); // FIXME: The JDK uses a LazyActionMap for parentActionMap ActionMap parentActionMap = new ActionMapUIResource(); action = ne...
protected void installKeyboardActions() { InputMap focusInputMap = (InputMap) UIManager.get("List.focusInputMap"); InputMapUIResource parentInputMap = new InputMapUIResource(); // FIXME: The JDK uses a LazyActionMap for parentActionMap ActionMap parentActionMap = new ActionMapUIResource(); action = ne...
38,052
public String getHeaderField(String field) { try { if (!connected) connect(); if (field.equals("content-type")) return guessContentTypeFromName(getJarEntry().getName()); else if (field.equals("content-length")) return Long.toString(getJarEntry().getSize()); else if (field.equals("last-mod...
public String getHeaderField(String field) { try { if (!connected) connect(); if (field.equals("content-type")) return guessContentTypeFromName(getJarEntry().getName()); else if (field.equals("content-length")) return Long.toString(getJarEntry().getSize()); else if (field.equals("last-mod...
38,053
HTTPConnection getConnection(String host, int port, boolean secure) throws IOException { HTTPConnection connection; if (keepAlive) { connection = HTTPConnection.Pool.instance.get(host, port, secure); } else { connection = new HTTPConnection(host, port, secure); } retu...
HTTPConnection getConnection(String host, int port, boolean secure) throws IOException { HTTPConnection connection; if (keepAlive) { connection = HTTPConnection.Pool.instance.get(host, port, secure, getConnectTimeout(), 0); } else { connection = new HTTPConnection(host, port,...
38,054
HTTPConnection getConnection(String host, int port, boolean secure) throws IOException { HTTPConnection connection; if (keepAlive) { connection = HTTPConnection.Pool.instance.get(host, port, secure); } else { connection = new HTTPConnection(host, port, secure); } retu...
HTTPConnection getConnection(String host, int port, boolean secure) throws IOException { HTTPConnection connection; if (keepAlive) { connection = HTTPConnection.Pool.instance.get(host, port, secure); } else { connection = new HTTPConnection(host, port, secure, 0, getConnectTi...
38,055
synchronized HTTPConnection get(String host, int port, boolean secure) { String ttl = SystemProperties.getProperty("classpath.net.http.keepAliveTTL"); connectionTTL = (ttl != null && ttl.length() > 0) ? 1000 * Math.max(...
synchronized HTTPConnection get(String host, int port, boolean secure, int connectionTimeout, int timeout) { String ttl = SystemProperties.getProperty("classpath.net.http.keepAliveTTL"); connectionTTL = (ttl != null && ttl.len...
38,056
synchronized HTTPConnection get(String host, int port, boolean secure) { String ttl = SystemProperties.getProperty("classpath.net.http.keepAliveTTL"); connectionTTL = (ttl != null && ttl.length() > 0) ? 1000 * Math.max(...
synchronized HTTPConnection get(String host, int port, boolean secure) { String ttl = SystemProperties.getProperty("classpath.net.http.keepAliveTTL"); connectionTTL = (ttl != null && ttl.length() > 0) ? 1000 * Math.max(...
38,057
public HTTPConnection(String hostname, int port, boolean secure, int connectionTimeout, int timeout) { this.hostname = hostname; this.port = port; this.secure = secure; this.connectionTimeout = connectionTimeout; this.timeout = timeout; majorVersion = minorVersion = 1; han...
public HTTPConnection(String hostname, int port, boolean secure, int connectionTimeout, int timeout) { this.hostname = hostname; this.port = port; this.secure = secure; this.connectionTimeout = connectionTimeout; this.timeout = timeout; majorVersion = minorVersion = 1; han...
38,058
public HTTPConnection(String hostname, int port, boolean secure, int connectionTimeout, int timeout) { this.hostname = hostname; this.port = port; this.secure = secure; this.connectionTimeout = connectionTimeout; this.timeout = timeout; majorVersion = minorVersion = 1; han...
public HTTPConnection(String hostname, int port, boolean secure, int connectionTimeout, int timeout) { this.hostname = hostname; this.port = port; this.secure = secure; this.connectionTimeout = connectionTimeout; this.timeout = timeout; majorVersion = minorVersion = 1; han...
38,059
public GCManager(DefaultHeapManager heapManager, VmArchitecture arch, VmStatics statics) { this.debug = Vm.getVm().isDebugMode(); this.heapManager = heapManager; this.wb = (DefaultWriteBarrier) heapManager.getWriteBarrier(); this.helper = heapManager.getHelper(); this.m...
public GCManager(DefaultHeapManager heapManager, VmArchitecture arch, VmStatics statics) { this.debug = Vm.getVm().isDebugMode(); this.heapManager = heapManager; this.writeBarrier = (DefaultWriteBarrier) heapManager.getWriteBarrier(); this.helper = heapManager.getHelper(); ...
38,060
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); // Mark helper.disableReschedule(); heapManager.setGcActive(true); t...
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); // Mark helper.stopThreadsAtSafePoint(); heapManager.setGcActive(true); ...
38,061
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); // Mark helper.disableReschedule(); heapManager.setGcActive(true); t...
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); // Mark helper.disableReschedule(); heapManager.setGcActive(true); t...
38,062
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); // Mark helper.disableReschedule(); heapManager.setGcActive(true); t...
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); // Mark helper.disableReschedule(); heapManager.setGcActive(true); t...
38,063
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); // Mark helper.disableReschedule(); heapManager.setGcActive(true); t...
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); // Mark helper.disableReschedule(); heapManager.setGcActive(true); t...
38,064
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); // Mark helper.disableReschedule(); heapManager.setGcActive(true); t...
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); // Mark helper.disableReschedule(); heapManager.setGcActive(true); t...
38,065
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); // Mark helper.disableReschedule(); heapManager.setGcActive(true); t...
final void gc() { // Prepare final VmBootHeap bootHeap = heapManager.getBootHeap(); final VmAbstractHeap firstHeap = heapManager.getFirstHeap(); stats.lastGCTime = System.currentTimeMillis(); // Mark helper.disableReschedule(); heapManager.setGcActive(true); t...
38,066
private final void markHeap(VmBootHeap bootHeap, VmAbstractHeap firstHeap) { final long startTime = VmSystem.currentKernelMillis(); long markedObjects = 0; boolean firstIteration = true; do { // Do an iteration reset markStack.reset(); wb.resetChanged(); ...
private final void markHeap(VmBootHeap bootHeap, VmAbstractHeap firstHeap) { final long startTime = VmSystem.currentKernelMillis(); long markedObjects = 0; boolean firstIteration = true; do { // Do an iteration reset markStack.reset(); if (writeBarrier !=...
38,067
private final void markHeap(VmBootHeap bootHeap, VmAbstractHeap firstHeap) { final long startTime = VmSystem.currentKernelMillis(); long markedObjects = 0; boolean firstIteration = true; do { // Do an iteration reset markStack.reset(); wb.resetChanged(); ...
private final void markHeap(VmBootHeap bootHeap, VmAbstractHeap firstHeap) { final long startTime = VmSystem.currentKernelMillis(); long markedObjects = 0; boolean firstIteration = true; do { // Do an iteration reset markStack.reset(); wb.resetChanged(); ...
38,068
public void ensureIndexIsVisible(int i) { scrollRectToVisible(getUI().getCellBounds(this, i, i)); }
public void ensureIndexIsVisible(int i) { Rectangle r = getUI().getCellBounds(this, i, i); if (r != null) scrollRectToVisible(r); }
38,069
private Decoder (Charset cs) { super (cs, 1.0f, 1.0f); }
Decoder (Charset cs) { super (cs, 1.0f, 1.0f); }
38,070
private Encoder (Charset cs) { super (cs, 1.0f, 1.0f); }
Encoder (Charset cs) { super (cs, 1.0f, 1.0f); }
38,071
public String remoteToString() { throw new Error("Not implemented"); }
public String remoteToString() { if (manager!=null) return manager.toString(); else return "null manager"; }
38,072
Parser getParser() { log.entering(this.getClass().getName(), "getParser"); //$NON-NLS-1$ Parser result = new ClasspathToolParser(Main.KEYPASSWD_CMD, true); result.setHeader(Messages.getString("KeyPasswdCmd.23")); //$NON-NLS-1$ result.setFooter(Messages.getString("KeyPasswdCmd.22")); //$NON-NLS-1$ Opti...
ParsergetParser(){log.entering(this.getClass().getName(),"getParser");//$NON-NLS-1$Parserresult=newClasspathToolParser(Main.KEYPASSWD_CMD,true);result.setHeader(Messages.getString("KeyPasswdCmd.23"));//$NON-NLS-1$result.setFooter(Messages.getString("KeyPasswdCmd.22"));//$NON-NLS-1$OptionGroupoptions=newOptionGroup(Mess...
38,073
Parser getParser() { log.entering(this.getClass().getName(), "getParser"); //$NON-NLS-1$ Parser result = new ClasspathToolParser(Main.KEYPASSWD_CMD, true); result.setHeader(Messages.getString("KeyPasswdCmd.23")); //$NON-NLS-1$ result.setFooter(Messages.getString("KeyPasswdCmd.22")); //$NON-NLS-1$ Opti...
if (Configuration.DEBUG) if (Configuration.DEBUG) Parserif (Configuration.DEBUG) getParser()if (Configuration.DEBUG) if (Configuration.DEBUG) {if (Configuration.DEBUG) if (Configuration.DEBUG) if (Configuration.DEBUG) if (Configuration.DEBUG) log.entering(this.getClass().getName(),if (Configuration.DEBUG) "getParser");...
38,074
void setup() throws Exception { setKeyStoreParams(_providerClassName, _ksType, _ksPassword, _ksURL); setAliasParam(_alias); setKeyPasswordNoPrompt(_password); log.finer("-keypasswd handler will use the following options:"); //$NON-NLS-1$ log.finer(" -alias=" + alias); //$NON-NLS-1$ log.finer(" -n...
void setup() throws Exception { setKeyStoreParams(_providerClassName, _ksType, _ksPassword, _ksURL); setAliasParam(_alias); setKeyPasswordNoPrompt(_password); log.finer("-keypasswd handler will use the following options:"); //$NON-NLS-1$ log.finer(" -alias=" + alias); //$NON-NLS-1$ log.finer(" -n...
38,075
void start() throws KeyStoreException, NoSuchAlgorithmException, IOException, UnsupportedCallbackException, UnrecoverableKeyException, CertificateException { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ // 1. get the key entry and certificate chain associated to alias Key privat...
voidstart()throwsKeyStoreException,NoSuchAlgorithmException,IOException,UnsupportedCallbackException,UnrecoverableKeyException,CertificateException{log.entering(this.getClass().getName(),"start");//$NON-NLS-1$//1.getthekeyentryandcertificatechainassociatedtoaliasKeyprivateKey=getAliasPrivateKey();Certificate[]chain=sto...
38,076
void start() throws KeyStoreException, NoSuchAlgorithmException, IOException, UnsupportedCallbackException, UnrecoverableKeyException, CertificateException { log.entering(this.getClass().getName(), "start"); //$NON-NLS-1$ // 1. get the key entry and certificate chain associated to alias Key privat...
if (Configuration.DEBUG) if (Configuration.DEBUG) voidif (Configuration.DEBUG) start()if (Configuration.DEBUG) throwsif (Configuration.DEBUG) KeyStoreException,if (Configuration.DEBUG) NoSuchAlgorithmException,if (Configuration.DEBUG) IOException,if (Configuration.DEBUG) if (Configuration.DEBUG) if (Configuration.DEBUG...
38,077
public void propertyChange(PropertyChangeEvent event) { JRootPane source = (JRootPane) event.getSource(); String propertyName = event.getPropertyName(); if (propertyName.equals("defaultButton")) { Object newValue = event.getNewValue(); InputMap im = SwingUtilities.getUIInputMap(s...
public void propertyChange(PropertyChangeEvent event) { JRootPane source = (JRootPane) event.getSource(); String propertyName = event.getPropertyName(); if (propertyName.equals("defaultButton")) { Object newValue = event.getNewValue(); InputMap im = SwingUtilities.getUIInputMap(s...
38,078
public static void loadKeyBindings(InputMap retMap, Object[] keys) { //Loads the bindings in keys into retMap. }
publicstaticvoidloadKeyBindings(InputMapretMap,Object[]keys){ //LoadsthebindingsinkeysintoretMap.}
38,079
public DefaultFormatter() { commitsOnValidEdit = true; overwriteMode = true; allowsInvalid = true; valueClass = Object.class; }
public DefaultFormatter() { commitsOnValidEdit = true; overwriteMode = true; allowsInvalid = true; }
38,080
protected SecureRandomAdapter(String mdName) { super(); this.mdName = mdName; adaptee.init (Collections.singletonMap (MDGenerator.MD_NAME, mdName)); }
protected SecureRandomAdapter(String mdName) { super(); this.mdName = mdName; adaptee.init(Collections.singletonMap(MDGenerator.MD_NAME, mdName)); }
38,081
public byte[] engineGenerateSeed(int numBytes) { if (numBytes < 1) { return new byte[0]; } byte[] result = new byte[numBytes]; this.engineNextBytes(result); return result; }
public byte[] engineGenerateSeed(int numBytes) if (numBytes < 1) return new byte[0]; } byte[] result = new byte[numBytes]; this.engineNextBytes(result); return result; }
38,082
public byte[] engineGenerateSeed(int numBytes) { if (numBytes < 1) { return new byte[0]; } byte[] result = new byte[numBytes]; this.engineNextBytes(result); return result; }
public byte[] engineGenerateSeed(int numBytes) { if (numBytes < 1) { return new byte[0]; byte[] result = new byte[numBytes]; this.engineNextBytes(result); return result; }
38,083
public void engineNextBytes(byte[] bytes) { if (!adaptee.isInitialised()) { this.engineSetSeed(new byte[0]); } try { adaptee.nextBytes(bytes, 0, bytes.length); } catch (LimitReachedException ignored) { } }
public void engineNextBytes(byte[] bytes) { if (!adaptee.isInitialised()) { this.engineSetSeed(new byte[0]); } try { adaptee.nextBytes(bytes, 0, bytes.length); } catch (LimitReachedException ignored) { } }
38,084
public void engineNextBytes(byte[] bytes) { if (!adaptee.isInitialised()) { this.engineSetSeed(new byte[0]); } try { adaptee.nextBytes(bytes, 0, bytes.length); } catch (LimitReachedException ignored) { } }
public void engineNextBytes(byte[] bytes) { if (!adaptee.isInitialised()) { this.engineSetSeed(new byte[0]); try { adaptee.nextBytes(bytes, 0, bytes.length); catch (LimitReachedException ignored) { }
38,085
public void engineSetSeed(byte[] seed) { adaptee.addRandomBytes (seed); }
public void engineSetSeed(byte[] seed) { adaptee.addRandomBytes(seed); }
38,086
public DefaultTableColumnModel() { tableColumns = new Vector(); setSelectionModel(new DefaultListSelectionModel()); columnMargin = 1; columnSelectionAllowed = false; }
public DefaultTableColumnModel() { tableColumns = new Vector(); setSelectionModel(createSelectionModel()); columnMargin = 1; columnSelectionAllowed = false; }
38,087
protected ListSelectionModel createSelectionModel() { return null; // TODO }
protected ListSelectionModel createSelectionModel() { return new DefaultListSelectionModel(); // TODO }
38,089
protected void fireColumnAdded(TableColumnModelEvent value0) { // TODO }
protected void fireColumnAdded(TableColumnModelEvent e) { // TODO }
38,090
protected void fireColumnAdded(TableColumnModelEvent value0) { // TODO }
TableColumnModelListener[] listeners = getColumnModelListeners(); for (int i=0; i< listeners.length; i++) listeners[i].columnAdded(e); TableColumnModelListener[] listeners = getColumnModelListeners(); for (int i=0; i< listeners.length; i++) listeners[i].columnAdded(e); protectedTableColumnModelListener[] listeners = ...
38,091
protected void fireColumnMarginChanged() { // TODO }
EventListener [] listeners = getListeners(TableColumnModelListener.class); for (int i = 0; i < listeners.length; ++i) ((TableColumnModelListener)listeners[i]).columnMarginChanged(changeEvent); EventListener [] listeners = getListeners(TableColumnModelListener.class); for (int i = 0; i < listeners.length; ++i) ((TableCo...
38,092
protected void fireColumnMoved(TableColumnModelEvent value0) { // TODO }
protected void fireColumnMoved(TableColumnModelEvent e) { // TODO }
38,093
protected void fireColumnMoved(TableColumnModelEvent value0) { // TODO }
TableColumnModelListener[] listeners = getColumnModelListeners(); for (int i=0; i< listeners.length; i++) listeners[i].columnMoved(e); TableColumnModelListener[] listeners = getColumnModelListeners(); for (int i=0; i< listeners.length; i++) listeners[i].columnMoved(e); protectedTableColumnModelListener[] listeners = ...
38,094
protected void fireColumnRemoved(TableColumnModelEvent value0) { // TODO }
protected void fireColumnRemoved(TableColumnModelEvent e) { // TODO }
38,095
protected void fireColumnRemoved(TableColumnModelEvent value0) { // TODO }
TableColumnModelListener[] listeners = getColumnModelListeners(); for (int i=0; i< listeners.length; i++) listeners[i].columnRemoved(e); TableColumnModelListener[] listeners = getColumnModelListeners(); for (int i=0; i< listeners.length; i++) listeners[i].columnRemoved(e); protectedTableColumnModelListener[] listener...
38,096
public int getColumnIndex(Object obj) { return tableColumns.indexOf(obj, 0); }
public int getColumnIndex(Object identifier) { return tableColumns.indexOf(obj, 0); }
38,097
public int getColumnIndex(Object obj) { return tableColumns.indexOf(obj, 0); }
public int getColumnIndex(Object obj) { return tableColumns.indexOf(identifier, 0); }
38,098
public EventListener[] getListeners(Class klass) { return listenerList.getListeners(klass); }
public EventListener[] getListeners(Class listenerType) { return listenerList.getListeners(klass); }
38,099
public EventListener[] getListeners(Class klass) { return listenerList.getListeners(klass); }
public EventListener[] getListeners(Class klass) { return listenerList.getListeners(listenerType); }
38,100
public void propertyChange(PropertyChangeEvent value0) { // TODO }
public void propertyChange(PropertyChangeEvent evt) { // TODO }
38,102
public void propertyChange(PropertyChangeEvent value0) { // TODO }
if (evt.getPropertyName().equals(TableColumn.COLUMN_WIDTH_PROPERTY)) invalidateWidthCache(); if (evt.getPropertyName().equals(TableColumn.COLUMN_WIDTH_PROPERTY)) invalidateWidthCache(); publicif (evt.getPropertyName().equals(TableColumn.COLUMN_WIDTH_PROPERTY)) invalidateWidthCache(); voidif (evt.getPropertyName().equal...
38,103
public void setColumnSelectionAllowed(boolean a) { columnSelectionAllowed = a; }
public void setColumnSelectionAllowed(boolean flag) { columnSelectionAllowed = a; }
38,106
public void setColumnSelectionAllowed(boolean a) { columnSelectionAllowed = a; }
public void setColumnSelectionAllowed(boolean a) { columnSelectionAllowed = flag; }
38,107
public void valueChanged(ListSelectionEvent value0) { fireColumnSelectionChanged(value0); }
public void valueChanged(ListSelectionEvent e) { fireColumnSelectionChanged(value0); }
38,108
public void valueChanged(ListSelectionEvent value0) { fireColumnSelectionChanged(value0); }
public void valueChanged(ListSelectionEvent value0) { fireColumnSelectionChanged(e); }
38,109