bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public void done(RemoteCall call) throws RemoteException { UnicastRemoteCall c = (UnicastRemoteCall)call; try{ c.done(); } catch(IOException e){} UnicastConnection conn = c.getConnection(); manager.discardConnection(conn);} | public void done(RemoteCall call) throws RemoteException { UnicastRemoteCall c = (UnicastRemoteCall)call; try{ c.done(); } catch(IOException e){} UnicastConnection conn = c.getConnection(); manager.discardConnection(conn);} | 38,566 |
public void done(RemoteCall call) throws RemoteException { UnicastRemoteCall c = (UnicastRemoteCall)call; try{ c.done(); } catch(IOException e){} UnicastConnection conn = c.getConnection(); manager.discardConnection(conn);} | public void done(RemoteCall call) throws RemoteException { UnicastRemoteCall c = (UnicastRemoteCall)call; try{ c.done(); } catch (IOException e) { } UnicastConnection conn = c.getConnection(); manager.discardConnection(conn);} | 38,567 |
public void done(RemoteCall call) throws RemoteException { UnicastRemoteCall c = (UnicastRemoteCall)call; try{ c.done(); } catch(IOException e){} UnicastConnection conn = c.getConnection(); manager.discardConnection(conn);} | public void done(RemoteCall call) throws RemoteException { UnicastRemoteCall c = (UnicastRemoteCall)call; try{ c.done(); } catch(IOException e){} UnicastConnection conn = c.getConnection(); manager.discardConnection(conn);} | 38,568 |
public void dump(UnicastConnection conn) { try { DataInputStream din = conn.getDataInputStream(); for (;;) { int b = din.readUnsignedByte(); System.out.print(Integer.toHexString(b)); if (b >= 32 && b < 128) { System.out.print(": " + (char)b); } System.out.println(); } } catch (IOException _) { }} | public void dump(UnicastConnection conn) { try { DataInputStream din = conn.getDataInputStream(); for (;;) { int b = din.readUnsignedByte(); System.out.print(Integer.toHexString(b)); if (b >= 32 && b < 128) { System.out.print(": " + (char)b); } System.out.println(); } } catch (IOException _) { }} | 38,569 |
public void dump(UnicastConnection conn) { try { DataInputStream din = conn.getDataInputStream(); for (;;) { int b = din.readUnsignedByte(); System.out.print(Integer.toHexString(b)); if (b >= 32 && b < 128) { System.out.print(": " + (char)b); } System.out.println(); } } catch (IOException _) { }} | public void dump(UnicastConnection conn) { try { DataInputStream din = conn.getDataInputStream(); for (;;) { int b = din.readUnsignedByte(); System.out.print(Integer.toHexString(b)); if (b >= 32 && b < 128) { System.out.print(": " + (char)b); } System.out.println(); } } catch (IOException _) { }} | 38,570 |
public void dump(UnicastConnection conn) { try { DataInputStream din = conn.getDataInputStream(); for (;;) { int b = din.readUnsignedByte(); System.out.print(Integer.toHexString(b)); if (b >= 32 && b < 128) { System.out.print(": " + (char)b); } System.out.println(); } } catch (IOException _) { }} | public void dump(UnicastConnection conn) { try { DataInputStream din = conn.getDataInputStream(); for (;;) { int b = din.readUnsignedByte(); System.out.print(Integer.toHexString(b)); if (b >= 32 && b < 128) { System.out.print(": " + (char)b); } System.out.println(); } } catch (IOException _) { }} | 38,571 |
public void dump(UnicastConnection conn) { try { DataInputStream din = conn.getDataInputStream(); for (;;) { int b = din.readUnsignedByte(); System.out.print(Integer.toHexString(b)); if (b >= 32 && b < 128) { System.out.print(": " + (char)b); } System.out.println(); } } catch (IOException _) { }} | public void dump(UnicastConnection conn) { try { DataInputStream din = conn.getDataInputStream(); for (;;) { int b = din.readUnsignedByte(); System.out.print(Integer.toHexString(b)); if (b >= 32 && b < 128) { System.out.print(": " + (char)b); } System.out.println(); } } catch (IOException _) { }} | 38,572 |
public String getRefClass(ObjectOutput out) { return ("UnicastRef");} | public String getRefClass(ObjectOutput out) { return ("UnicastRef");} | 38,573 |
public String getRefClass(ObjectOutput out) { return ("UnicastRef");} | public String getRefClass(ObjectOutput out) { return ("UnicastRef");} | 38,574 |
public Object invoke(Remote obj, Method method, Object[] params, long opnum) throws Exception { // Check if client and server are in the same VM, then local call can be used to // replace remote call, but it's somewhat violating remote semantic. Object svrobj = manager.serverobj; // Make sure that the s... | public Object invoke(Remote obj, Method method, Object[] params, long opnum) throws Exception { // Check if client and server are in the same VM, then local call can be used to // replace remote call, but it's somewhat violating remote semantic. Object svrobj = manager.serverobj; // Make sure that the ... | 38,575 |
public Object invoke(Remote obj, Method method, Object[] params, long opnum) throws Exception { // Check if client and server are in the same VM, then local call can be used to // replace remote call, but it's somewhat violating remote semantic. Object svrobj = manager.serverobj; // Make sure that the s... | public Object invoke(Remote obj, Method method, Object[] params, long opnum) throws Exception { // Check if client and server are in the same VM, then local call can be used to // replace remote call, but it's somewhat violating remote semantic. Object svrobj ... | 38,576 |
public Object invoke(Remote obj, Method method, Object[] params, long opnum) throws Exception { // Check if client and server are in the same VM, then local call can be used to // replace remote call, but it's somewhat violating remote semantic. Object svrobj = manager.serverobj; // Make sure that the s... | public Object invoke(Remote obj, Method method, Object[] params, long opnum) throws Exception { // Check if client and server are in the same VM, then local call can be used to // replace remote call, but it's somewhat violating remote semantic. Object svrobj = manager.serverobj; // Make sure that the s... | 38,577 |
public Object invoke(Remote obj, Method method, Object[] params, long opnum) throws Exception { // Check if client and server are in the same VM, then local call can be used to // replace remote call, but it's somewhat violating remote semantic. Object svrobj = manager.serverobj; // Make sure that the s... | public Object invoke(Remote obj, Method method, Object[] params, long opnum) throws Exception { // Check if client and server are in the same VM, then local call can be used to // replace remote call, but it's somewhat violating remote semantic. Object svrobj = manager.serverobj; // Make sure that the s... | 38,578 |
public Object invoke(Remote obj, Method method, Object[] params, long opnum) throws Exception { // Check if client and server are in the same VM, then local call can be used to // replace remote call, but it's somewhat violating remote semantic. Object svrobj = manager.serverobj; // Make sure that the s... | public Object invoke(Remote obj, Method method, Object[] params, long opnum) throws Exception { // Check if client and server are in the same VM, then local call can be used to // replace remote call, but it's somewhat violating remote semantic. Object svrobj = manager.serverobj; // Make sure that the s... | 38,579 |
public Object invoke(Remote obj, Method method, Object[] params, long opnum) throws Exception { // Check if client and server are in the same VM, then local call can be used to // replace remote call, but it's somewhat violating remote semantic. Object svrobj = manager.serverobj; // Make sure that the s... | publiccatch (InvocationTargetException e) { throw (Exception) e.getTargetException(); } Objectcatch (InvocationTargetException e) { throw (Exception) e.getTargetException(); } invoke(Remotecatch (InvocationTargetException e) { throw (Exception) e.getTargetException(); } obj,catch (InvocationTargetException e) { t... | 38,580 |
public Object invoke(Remote obj, Method method, Object[] params, long opnum) throws Exception { // Check if client and server are in the same VM, then local call can be used to // replace remote call, but it's somewhat violating remote semantic. Object svrobj = manager.serverobj; // Make sure that the s... | public Object invoke(Remote obj, Method method, Object[] params, long opnum) throws Exception { // Check if client and server are in the same VM, then local call can be used to // replace remote call, but it's somewhat violating remote semantic. Object svrobj = manager.serverobj; // Make sure that the s... | 38,581 |
private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut... | private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut... | 38,582 |
private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut... | private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut... | 38,583 |
private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut... | private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut... | 38,584 |
private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut... | private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut... | 38,585 |
private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut... | private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut... | 38,586 |
private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut... | private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut... | 38,587 |
private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut... | private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut... | 38,588 |
private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut... | private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut... | 38,589 |
private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut... | private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut... | 38,590 |
private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut... | private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut... | 38,591 |
private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut... | private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut... | 38,592 |
private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut... | private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut... | 38,593 |
private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut... | private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut... | 38,594 |
private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut... | private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut... | 38,595 |
private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut... | private Object invokeCommon(Remote obj, Method method, Object[] params, int opnum, long hash) throws Exception { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new RemoteException("connection failed to host: " + manager.serverName, e1); } ObjectOutputStream out; DataOut... | 38,596 |
public RemoteCall newCall(RemoteObject obj, Operation[] op, int opnum, long hash) throws RemoteException { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new ConnectException("connection failed to host: " + manager.serverName, e1); } //obj: useless? return (ne... | public RemoteCall newCall(RemoteObject obj, Operation[] op, int opnum, long hash) throws RemoteException { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new ConnectException("connection failed to host: " + manager.serverName, e1); } //obj: useless? return (ne... | 38,597 |
public RemoteCall newCall(RemoteObject obj, Operation[] op, int opnum, long hash) throws RemoteException { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new ConnectException("connection failed to host: " + manager.serverName, e1); } //obj: useless? return (ne... | public RemoteCall newCall(RemoteObject obj, Operation[] op, int opnum, long hash) throws RemoteException { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new ConnectException("connection failed to host: " + manager.serverName, e1); } //obj: useless? return (ne... | 38,598 |
public RemoteCall newCall(RemoteObject obj, Operation[] op, int opnum, long hash) throws RemoteException { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new ConnectException("connection failed to host: " + manager.serverName, e1); } //obj: useless? return (ne... | public RemoteCall newCall(RemoteObject obj, Operation[] op, int opnum, long hash) throws RemoteException { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new ConnectException("connection failed to host: " + manager.serverName, e1); } //obj: useless? return (ne... | 38,599 |
public RemoteCall newCall(RemoteObject obj, Operation[] op, int opnum, long hash) throws RemoteException { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new ConnectException("connection failed to host: " + manager.serverName, e1); } //obj: useless? return (ne... | public RemoteCall newCall(RemoteObject obj, Operation[] op, int opnum, long hash) throws RemoteException { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new ConnectException("connection failed to host: " + manager.serverName, e1); } //obj: useless? return (ne... | 38,600 |
public RemoteCall newCall(RemoteObject obj, Operation[] op, int opnum, long hash) throws RemoteException { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new ConnectException("connection failed to host: " + manager.serverName, e1); } //obj: useless? return (ne... | public RemoteCall newCall(RemoteObject obj, Operation[] op, int opnum, long hash) throws RemoteException { UnicastConnection conn; try { conn = manager.getConnection(); } catch (IOException e1) { throw new ConnectException("connection failed to host: " + manager.serverName, e1); } //obj: useless? return (ne... | 38,601 |
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { manager = UnicastConnectionManager.read(in); objid = ObjID.read(in); byte ack = in.readByte(); // This byte is somewhat confusing when interoperating with JDK if (ack != RETURN_ACK && ack != 0/*jdk ack value*/) { throw new IOExceptio... | public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { manager = UnicastConnectionManager.read(in); objid = ObjID.read(in); byte ack = in.readByte(); // This byte is somewhat confusing when interoperating with JDK if (ack != RETURN_ACK && ack != 0/*jdk ack value*/) { throw new IOExceptio... | 38,602 |
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { manager = UnicastConnectionManager.read(in); objid = ObjID.read(in); byte ack = in.readByte(); // This byte is somewhat confusing when interoperating with JDK if (ack != RETURN_ACK && ack != 0/*jdk ack value*/) { throw new IOExceptio... | public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { manager = UnicastConnectionManager.read(in); objid = ObjID.read(in); byte ack = in.readByte(); // This byte is somewhat confusing when interoperating with JDK if (ack != RETURN_ACK && ack != 0/*jdk ack value*/) { throw new IOExceptio... | 38,603 |
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { manager = UnicastConnectionManager.read(in); objid = ObjID.read(in); byte ack = in.readByte(); // This byte is somewhat confusing when interoperating with JDK if (ack != RETURN_ACK && ack != 0/*jdk ack value*/) { throw new IOExceptio... | public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { manager = UnicastConnectionManager.read(in); objid = ObjID.read(in); byte ack = in.readByte(); // This byte is somewhat confusing when interoperating with JDK if (ack != RETURN_ACK && ack != 0/*jdk ack value*/) { throw new IOExceptio... | 38,604 |
public boolean remoteEquals(RemoteRef ref) { throw new Error("Not implemented");} | public boolean remoteEquals(RemoteRef ref) { throw new Error("Not implemented");} | 38,605 |
public boolean remoteEquals(RemoteRef ref) { throw new Error("Not implemented");} | public boolean remoteEquals(RemoteRef ref) { throw new Error("Not implemented");} | 38,606 |
public int remoteHashCode() { throw new Error("Not implemented");} | public int remoteHashCode() { throw new Error("Not implemented");} | 38,607 |
public int remoteHashCode() { throw new Error("Not implemented");} | public int remoteHashCode() { throw new Error("Not implemented");} | 38,608 |
public String remoteToString() { throw new Error("Not implemented");} | public String remoteToString() { throw new Error("Not implemented");} | 38,609 |
public String remoteToString() { throw new Error("Not implemented");} | public String remoteToString() { throw new Error("Not implemented");} | 38,610 |
public void writeExternal(ObjectOutput out) throws IOException { if (manager == null) { throw new IOException("no connection"); } manager.write(out); objid.write(out); // This byte is somewhat confusing when interoperating with JDK out.writeByte(0); //RETURN_ACK);} | public void writeExternal(ObjectOutput out) throws IOException { if (manager == null) { throw new IOException("no connection"); } manager.write(out); objid.write(out); // This byte is somewhat confusing when interoperating with JDK out.writeByte(0); //RETURN_ACK);} | 38,611 |
public void writeExternal(ObjectOutput out) throws IOException { if (manager == null) { throw new IOException("no connection"); } manager.write(out); objid.write(out); // This byte is somewhat confusing when interoperating with JDK out.writeByte(0); //RETURN_ACK);} | public void writeExternal(ObjectOutput out) throws IOException { if (manager == null) { throw new IOException("no connection"); } manager.write(out); objid.write(out); // This byte is somewhat confusing when interoperating with JDK out.writeByte(0); //RETURN_ACK);} | 38,612 |
protected void installListeners() { // Do nothing here. } | textComponent.addFocusListener(focuslistener); textComponent.addFocusListener(focuslistener); protectedtextComponent.addFocusListener(focuslistener); voidtextComponent.addFocusListener(focuslistener); installListeners()textComponent.addFocusListener(focuslistener); textComponent.addFocusListener(focuslistener); {textCo... | 38,613 |
protected void paintSafely(Graphics g) { Caret caret = textComponent.getCaret(); Highlighter highlighter = textComponent.getHighlighter(); if (textComponent.isOpaque()) paintBackground(g); if (highlighter != null && textComponent.getSelectionStart() != textComponent.getSelectionEnd()) h... | protected void paintSafely(Graphics g) { Caret caret = textComponent.getCaret(); Highlighter highlighter = textComponent.getHighlighter(); if (textComponent.isOpaque()) paintBackground(g); if (highlighter != null && textComponent.getSelectionStart() != textComponent.getSelectionEnd()) h... | 38,614 |
protected void uninstallListeners() { // Do nothing here. } | textComponent.removeFocusListener(focuslistener); textComponent.removeFocusListener(focuslistener); protectedtextComponent.removeFocusListener(focuslistener); voidtextComponent.removeFocusListener(focuslistener); uninstallListeners()textComponent.removeFocusListener(focuslistener); textComponent.removeFocusListener(foc... | 38,615 |
public Object clone() { try { return super.clone(); } catch (CloneNotSupportedException ex) { return null; } } | public Object clone() { try { return super.clone(); } catch (CloneNotSupportedException ex) { return null; } } | 38,616 |
public Object clone() { try { return super.clone(); } catch (CloneNotSupportedException ex) { return null; } } | public Object clone() { try { return super.clone(); } catch (CloneNotSupportedException ex) { return null; } } | 38,617 |
public static String[] getAvailableIDs(int rawOffset) { int count = 0; Iterator iter = timezones.entrySet().iterator(); while (iter.hasNext()) { // Don't iterate the values, since we want to count // doubled values (aliases) Map.Entry entry = (Map.Entry)iter.next(); if (((TimeZone)entry.getValue()).getRawO... | public static String[] getAvailableIDs(int rawOffset) { int count = 0; Iterator iter = timezones.entrySet().iterator(); while (iter.hasNext()) { // Don't iterate the values, since we want to count // doubled values (aliases) Map.Entry entry = (Map.Entry)iter.next(); if (((TimeZone)entry.getValue()).getRawO... | 38,618 |
public static String[] getAvailableIDs(int rawOffset) { int count = 0; Iterator iter = timezones.entrySet().iterator(); while (iter.hasNext()) { // Don't iterate the values, since we want to count // doubled values (aliases) Map.Entry entry = (Map.Entry)iter.next(); if (((TimeZone)entry.getValue()).getRawO... | public static String[] getAvailableIDs(int rawOffset) { int count = 0; Iterator iter = timezones.entrySet().iterator(); while (iter.hasNext()) { // Don't iterate the values, since we want to count // doubled values (aliases) Map.Entry entry = (Map.Entry)iter.next(); if (((TimeZone)entry.getValue()).getRawO... | 38,619 |
public static String[] getAvailableIDs(int rawOffset) { int count = 0; Iterator iter = timezones.entrySet().iterator(); while (iter.hasNext()) { // Don't iterate the values, since we want to count // doubled values (aliases) Map.Entry entry = (Map.Entry)iter.next(); if (((TimeZone)entry.getValue()).getRawO... | public static String[] getAvailableIDs(int rawOffset) { int count = 0; Iterator iter = timezones.entrySet().iterator(); while (iter.hasNext()) { // Don't iterate the values, since we want to count // doubled values (aliases) Map.Entry entry = (Map.Entry)iter.next(); if (((TimeZone)entry.getValue()).getRawO... | 38,620 |
public static String[] getAvailableIDs(int rawOffset) { int count = 0; Iterator iter = timezones.entrySet().iterator(); while (iter.hasNext()) { // Don't iterate the values, since we want to count // doubled values (aliases) Map.Entry entry = (Map.Entry)iter.next(); if (((TimeZone)entry.getValue()).getRawO... | public static String[] getAvailableIDs(int rawOffset) { int count = 0; Iterator iter = timezones.entrySet().iterator(); while (iter.hasNext()) { // Don't iterate the values, since we want to count // doubled values (aliases) Map.Entry entry = (Map.Entry)iter.next(); if (((TimeZone)entry.getValue()).getRawO... | 38,621 |
private String getDefaultDisplayName(boolean dst) { int offset = getRawOffset(); if (dst && this instanceof SimpleTimeZone) { // ugly, but this is a design failure of the API: // getDisplayName takes a dst parameter even though // TimeZone knows nothing about daylight saving offsets. offset += ((SimpleTimeZo... | private String getDefaultDisplayName(boolean dst) { int offset = getRawOffset(); if (dst && this instanceof SimpleTimeZone) { // ugly, but this is a design failure of the API: // getDisplayName takes a dst parameter even though // TimeZone knows nothing about daylight saving offsets. offset += ((SimpleTimeZo... | 38,622 |
private String getDefaultDisplayName(boolean dst) { int offset = getRawOffset(); if (dst && this instanceof SimpleTimeZone) { // ugly, but this is a design failure of the API: // getDisplayName takes a dst parameter even though // TimeZone knows nothing about daylight saving offsets. offset += ((SimpleTimeZo... | private String getDefaultDisplayName(boolean dst) { int offset = getRawOffset(); if (dst && this instanceof SimpleTimeZone) { // ugly, but this is a design failure of the API: // getDisplayName takes a dst parameter even though // TimeZone knows nothing about daylight saving offsets. offset += ((SimpleTimeZo... | 38,623 |
private String getDefaultDisplayName(boolean dst) { int offset = getRawOffset(); if (dst && this instanceof SimpleTimeZone) { // ugly, but this is a design failure of the API: // getDisplayName takes a dst parameter even though // TimeZone knows nothing about daylight saving offsets. offset += ((SimpleTimeZo... | private String getDefaultDisplayName(boolean dst) { int offset = getRawOffset(); if (dst && this instanceof SimpleTimeZone) { // ugly, but this is a design failure of the API: // getDisplayName takes a dst parameter even though // TimeZone knows nothing about daylight saving offsets. offset += ((SimpleTimeZo... | 38,624 |
private String getDefaultDisplayName(boolean dst) { int offset = getRawOffset(); if (dst && this instanceof SimpleTimeZone) { // ugly, but this is a design failure of the API: // getDisplayName takes a dst parameter even though // TimeZone knows nothing about daylight saving offsets. offset += ((SimpleTimeZo... | private String getDefaultDisplayName(boolean dst) { int offset = getRawOffset(); if (dst && this instanceof SimpleTimeZone) { // ugly, but this is a design failure of the API: // getDisplayName takes a dst parameter even though // TimeZone knows nothing about daylight saving offsets. offset += ((SimpleTimeZo... | 38,625 |
public static void setDefault(TimeZone zone) { defaultZone = zone; } | public static void setDefault(TimeZone zone) { defaultZone = zone; } | 38,626 |
public void configure (String configArgs, Thread mainThread) { _mainThread = mainThread; _processConfigury (configArgs); } | public void configure (String configArgs) { _mainThread = mainThread; _processConfigury (configArgs); } | 38,627 |
public void configure (String configArgs, Thread mainThread) { _mainThread = mainThread; _processConfigury (configArgs); } | public void configure (String configArgs, Thread mainThread) { _processConfigury (configArgs); } | 38,628 |
public void run () { try { _doInitialization (); _mainThread.start (); _mainThread.join (); } catch (InterruptedException ie) { /* Shutting down. If we're in server mode, we should prepare for a new connection. Otherwise, we should simply exit. */ // FIXME } catch (Throwable t) ... | public void run () { try { _doInitialization (); _mainThread.start (); _mainThread.join (); } catch (InterruptedException ie) { /* Shutting down. If we're in server mode, we should prepare for a new connection. Otherwise, we should simply exit. */ // FIXME } catch (Throwable t) ... | 38,629 |
public AbstractElement(Element p, AttributeSet s) { parent = p; attr = s; } | public AbstractElement(Element p, AttributeSet s) { parent = p; attr = s; } | 38,630 |
public Enumeration children() { return kids.elements(); } | public Enumeration children() { return kids.elements(); } | 38,631 |
public boolean getAllowsChildren() { return true; } | public boolean getAllowsChildren() { return true; } | 38,632 |
public AttributeSet getAttributes() { return attr; } | public AttributeSet getAttributes() { return attr; } | 38,633 |
public TreeNode getChildAt(int index) { return (TreeNode) kids.elementAt(index); } | public TreeNode getChildAt(int index) { return (TreeNode) kids.elementAt(index); } | 38,634 |
public int getChildCount() { return kids.size(); } | public int getChildCount() { return kids.size(); } | 38,635 |
public Document getDocument() { return AbstractDocument.this; } | public Document getDocument() { return AbstractDocument.this; } | 38,636 |
public Element getElement(int index) { return (Element)elts.elementAt(index); } | public Element getElement(int index) { return (Element)elts.elementAt(index); } | 38,637 |
public int getIndex(TreeNode node) { return kids.indexOf(node); } | public int getIndex(TreeNode node) { return kids.indexOf(node); } | 38,638 |
public String getName() { return name; } | public String getName() { return name; } | 38,639 |
public TreeNode getParent() { return tree_parent; } | public TreeNode getParent() { return tree_parent; } | 38,640 |
public Element getParentElement() { return parent; } | public Element getParentElement() { return parent; } | 38,641 |
public BranchElement(Element e, AttributeSet a, int s, int end) { super(e, a); } | public BranchElement(Element e, AttributeSet a, int s, int end) { super(e, a); } | 38,642 |
public int getElementCount() { return 0; } | public int getElementCount() { return 0; } | 38,643 |
public int getElementIndex(int offset) { return 0; } | public int getElementIndex(int offset) { return 0; } | 38,644 |
public int getEndOffset() { return 0; } | public int getEndOffset() { return 0; } | 38,645 |
public int getStartOffset() { return 0; } | public int getStartOffset() { return 0; } | 38,646 |
public boolean isLeaf() { return false; } | public boolean isLeaf() { return false; } | 38,647 |
UndoableEdit insertString(int where, String str) throws BadLocationException; | UndoableEdit insertString(int where, String str) throws BadLocationException; | 38,648 |
public DocumentEvent.ElementChange getChange(Element elem) { return null; } | public DocumentEvent.ElementChange getChange(Element elem) { return null; } | 38,649 |
public Document getDocument() { return AbstractDocument.this; } | public Document getDocument() { return AbstractDocument.this; } | 38,650 |
public int getLength() { return len; } | public int getLength() { return len; } | 38,651 |
public int getOffset() { return off; } | public int getOffset() { return off; } | 38,652 |
public DocumentEvent.EventType getType() { return null; } | public DocumentEvent.EventType getType() { return null; } | 38,653 |
LeafElement(Element e, AttributeSet a, int s, int end) { super(e, a); } | LeafElement(Element e, AttributeSet a, int s, int end) { super(e, a); } | 38,654 |
public int getElementCount() { return 0; } | public int getElementCount() { return 0; } | 38,655 |
public int getElementIndex(int offset) { return 0; } | public int getElementIndex(int offset) { return 0; } | 38,656 |
public int getEndOffset() { return 0; } | public int getEndOffset() { return 0; } | 38,657 |
public int getStartOffset() { return 0; } | public int getStartOffset() { return 0; } | 38,658 |
public boolean isLeaf() { return true; } | public boolean isLeaf() { return true; } | 38,659 |
AbstractDocument(Content doc) { content = doc; } | AbstractDocument(Content doc) { content = doc; } | 38,660 |
public void addDocumentListener(DocumentListener listener) { doc_list.addElement(listener); } | public void addDocumentListener(DocumentListener listener) { doc_list.addElement(listener); } | 38,661 |
public void addUndoableEditListener(UndoableEditListener listener) { undo_list.addElement(listener); } | public void addUndoableEditListener(UndoableEditListener listener) { undo_list.addElement(listener); } | 38,662 |
protected Element createLeafElement(Element parent, AttributeSet a, int p0, int p1) { return new LeafElement(parent, a, p0, p1-p0); } | protected Element createLeafElement(Element parent, AttributeSet a, int p0, int p1) { return new LeafElement(parent, a, p0, p1-p0); } | 38,663 |
protected Element createLeafElement(Element parent, AttributeSet a, int p0, int p1) { return new LeafElement(parent, a, p0, p1-p0); } | protected Element createLeafElement(Element parent, AttributeSet a, int p0, int p1) { return new LeafElement(parent, a, p0, p1 - p0); } | 38,664 |
protected void fireChangedUpdate(DocumentEvent e) { } | protected void fireChangedUpdate(DocumentEvent event) { } | 38,665 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.