bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
Map getRestrictedClassMap () { return _restrictedClasses; } | Map getRestrictedClassMap () { return _restrictedClasses; } | 3,231,419 |
final public void init (Broker b, Settings config) throws InitException { String cacheManager; _log = b.getLog("resource", "Object loading and caching"); cacheManager = b.getSetting("PropertyOperator.CacheManager"); if (cacheManager == null || cacheManager.equals("")) { ... | final public void init (Broker b, Settings config) throws InitException { String cacheManager; _log = b.getLog("resource", "Object loading and caching"); cacheManager = b.getSetting("PropertyOperator.CacheManager"); if (cacheManager == null || cacheManager.equals("")) { ... | 3,231,420 |
final public void init (Broker b, Settings config) throws InitException { String cacheManager; _log = b.getLog("resource", "Object loading and caching"); cacheManager = b.getSetting("PropertyOperator.CacheManager"); if (cacheManager == null || cacheManager.equals("")) { ... | final public void init (Broker b, Settings config) throws InitException { String cacheManager; _log = b.getLog("resource", "Object loading and caching"); cacheManager = b.getSetting("PropertyOperator.CacheManager"); if (cacheManager == null || cacheManager.equals("")) { ... | 3,231,421 |
final public void init (Broker b, Settings config) throws InitException { String cacheManager; _log = b.getLog("resource", "Object loading and caching"); cacheManager = b.getSetting("PropertyOperator.CacheManager"); if (cacheManager == null || cacheManager.equals("")) { ... | final public void init (Broker b, Settings config) throws InitException { String cacheManager; _log = b.getLog("resource", "Object loading and caching"); cacheManager = b.getSetting("PropertyOperator.CacheManager"); if (cacheManager == null || cacheManager.equals("")) { ... | 3,231,422 |
final public void init (Broker b, Settings config) throws InitException { String cacheManager; _log = b.getLog("resource", "Object loading and caching"); cacheManager = b.getSetting("PropertyOperator.CacheManager"); if (cacheManager == null || cacheManager.equals("")) { ... | final public void init (Broker b, Settings config) throws InitException { String cacheManager; _log = b.getLog("resource", "Object loading and caching"); cacheManager = b.getSetting("PropertyOperator.CacheManager"); if (cacheManager == null || cacheManager.equals("")) { ... | 3,231,423 |
final public void init (Broker b, Settings config) throws InitException { String cacheManager; _log = b.getLog("resource", "Object loading and caching"); cacheManager = b.getSetting("PropertyOperator.CacheManager"); if (cacheManager == null || cacheManager.equals("")) { ... | final public void init (Broker b, Settings config) throws InitException { String cacheManager; _log = b.getLog("resource", "Object loading and caching"); cacheManager = b.getSetting("PropertyOperator.CacheManager"); if (cacheManager == null || cacheManager.equals("")) { ... | 3,231,424 |
final public boolean setProperty (final Context context, Object instance, final Object[] names, int start, final Object value) throws PropertyException, Secu... | final public boolean setProperty (final Context context, Object instance, final Object[] names, int start, final Object value) throws PropertyException, Secu... | 3,231,425 |
UnaryMethodAccessor (final String name, final Method m, final Class[] params) throws PropertyException { super(name, m, params); } | UnaryMethodAccessor (final String name, final Method m, final Class[] params) throws PropertyException { super(name, m, params); } | 3,231,426 |
final Object get (final Object instance) throws PropertyException, NoSuchMethodException { return PropertyOperator.invoke(_getMethod, instance, null); } | final Object get (final Object instance) throws PropertyException, NoSuchMethodException { return PropertyOperator.invoke(_getMethod, instance, null); } | 3,231,427 |
final int numArgsGet () { return 0; } | final int numArgsGet () { return 0; } | 3,231,428 |
final int numArgsSet () { return 1; } | final int numArgsSet () { return 1; } | 3,231,429 |
final boolean set (final Object instance, final Object value) throws PropertyException, NoSuchMethodException { Object[] args = {value}; return setImpl(instance, args); } | final boolean set (final Object instance, final Object value) throws PropertyException, NoSuchMethodException { Object[] args = {value}; return setImpl(instance, args); } | 3,231,430 |
private void retrieveNotes() { final PrivateNotes privateNotes = PrivateNotes.getPrivateNotes(); String text = privateNotes.getNotes(); final JLabel titleLabel = new JLabel("Notepad"); titleLabel.setBorder(BorderFactory.createMatteBorder(0, 0, 1, 0, Color.LIGHT_GRAY)); titleLabel.... | private void retrieveNotes() { final PrivateNotes privateNotes = PrivateNotes.getPrivateNotes(); String text = privateNotes.getNotes(); final JLabel titleLabel = new JLabel("Notepad"); titleLabel.setBorder(BorderFactory.createMatteBorder(0, 0, 1, 0, Color.LIGHT_GRAY)); titleLabel.... | 3,231,431 |
private void retrieveNotes() { final PrivateNotes privateNotes = PrivateNotes.getPrivateNotes(); String text = privateNotes.getNotes(); final JLabel titleLabel = new JLabel("Notepad"); titleLabel.setBorder(BorderFactory.createMatteBorder(0, 0, 1, 0, Color.LIGHT_GRAY)); titleLabel.... | pane.setCaretPosition(0); pane.setCaretPosition(0); pane.setCaretPosition(0); pane.setCaretPosition(0); privatepane.setCaretPosition(0); voidpane.setCaretPosition(0); retrieveNotes()pane.setCaretPosition(0); {pane.setCaretPosition(0); pane.setCaretPosition(0); pane.setCaretPosition(0); pane.setCaretPosition(0); pane.se... | 3,231,432 |
public RubyObject eval(Ruby ruby, RubyObject self) { return StringEvaluate.eval(ruby, self, this); } | public RubyObject eval(Ruby ruby, RubyObject self) { if (simple) { return getLiteral().to_s(); } else { return StringEvaluate.eval(ruby, self, this); } } | 3,231,433 |
public void actionPerformed(ActionEvent ae) { try { int index = Integer.parseInt(ae.getActionCommand()); switch (index) { case START_T: movieStartActionHandler(view.startT, view.endT, TYPE_T); break; case END_T: ... | public void actionPerformed(ActionEvent ae) { try { int index = Integer.parseInt(ae.getActionCommand()); switch (index) { case START_T: movieStartActionHandler(view.startT, view.endT, TYPE_T); break; case END_T: ... | 3,231,434 |
public void actionPerformed(ActionEvent ae) { try { int index = Integer.parseInt(ae.getActionCommand()); switch (index) { case START_T: movieStartActionHandler(view.startT, view.endT, TYPE_T); break; case END_T: ... | public void actionPerformed(ActionEvent ae) { try { int index = Integer.parseInt(ae.getActionCommand()); switch (index) { case START_T: movieStartActionHandler(view.startT, view.endT, TYPE_T); break; case END_T: ... | 3,231,435 |
public void actionPerformed(ActionEvent ae) { try { int index = Integer.parseInt(ae.getActionCommand()); switch (index) { case START_T: movieStartActionHandler(view.startT, view.endT, TYPE_T); break; case END_T: ... | public void actionPerformed(ActionEvent ae) { try { int index = Integer.parseInt(ae.getActionCommand()); switch (index) { case START_T: movieStartActionHandler(view.startT, view.endT, TYPE_T); break; case END_T: ... | 3,231,436 |
void visitCollection(Collection collection) throws BeansException; | void visitCollection(Collection collection) throws BeansException; | 3,231,441 |
void visitConstructorArgumentValues(ConstructorArgumentValues constructorArgumentValues) throws BeansException; | void visitConstructorArgumentValues(ConstructorArgumentValues constructorArgumentValues) throws BeansException; | 3,231,442 |
void visitMap(Map map) throws BeansException; | void visitMap(Map map) throws BeansException; | 3,231,443 |
void visitMutablePropertyValues(MutablePropertyValues propertyValues) throws BeansException; | void visitMutablePropertyValues(MutablePropertyValues propertyValues) throws BeansException; | 3,231,444 |
void visitObject(Object value) throws BeansException; | void visitObject(Object value) throws BeansException; | 3,231,445 |
void visitPropertyValue(PropertyValue propertyValue) throws BeansException; | void visitPropertyValue(PropertyValue propertyValue) throws BeansException; | 3,231,446 |
void visitRuntimeBeanReference(RuntimeBeanReference beanReference) throws BeansException; | void visitRuntimeBeanReference(RuntimeBeanReference beanReference) throws BeansException; | 3,231,447 |
public RubyModule module_function(IRubyObject[] args) { if (getRuntime().getSafeLevel() >= 4 && !isTaint()) { throw new RubySecurityException(getRuntime(), "Insecure: can't change method visibility"); } if (args.length == 0) { getRuntime().setCurrentVisibility(Visibility.M... | public RubyModule module_function(IRubyObject[] args) { if (getRuntime().getSafeLevel() >= 4 && !isTaint()) { throw new RubySecurityException(getRuntime(), "Insecure: can't change method visibility"); } if (args.length == 0) { getRuntime().setCurrentVisibility(Visibility.M... | 3,231,448 |
public IRubyObject op_cmp(IRubyObject other) { long millis = getTimeInMillis(); if (other.isNil()) { return other; } if (other instanceof RubyFloat || other instanceof RubyBignum) { double time = millis / 1000.0; double time_other = ((RubyNum... | public IRubyObject op_cmp(IRubyObject other) { long millis = getTimeInMillis(); if (other.isNil()) { return other; } if (other instanceof RubyFloat || other instanceof RubyBignum) { double time = millis / 1000.0; double time_other = ((RubyNum... | 3,231,449 |
public IRubyObject op_cmp(IRubyObject other) { long millis = getTimeInMillis(); if (other.isNil()) { return other; } if (other instanceof RubyFloat || other instanceof RubyBignum) { double time = millis / 1000.0; double time_other = ((RubyNum... | public IRubyObject op_cmp(IRubyObject other) { long millis = getTimeInMillis(); if (other.isNil()) { return other; } if (other instanceof RubyFloat || other instanceof RubyBignum) { double time = millis / 1000.0; double time_other = ((RubyNum... | 3,231,450 |
public List childNodes() { return Collections.EMPTY_LIST; } | public List childNodes() { return EMPTY_LIST; } | 3,231,451 |
public BeanGlobalVariable(Ruby ruby, BSFDeclaredBean bean) { super(ruby, bean.name, null); this.bean = bean; } | public BeanGlobalVariable(Ruby ruby, BSFDeclaredBean bean) { super(ruby, "$" + bean.name, null); this.bean = bean; } | 3,231,452 |
public Object apply(String file, int line, int col, Object funcBody, Vector paramNames, Vector args) { ISourcePosition oldPosition = ruby.getPosition(); ruby.setPosition(file, line); StringBuffer sb = new StringBuffer(((String) funcBody).length() + 100); sb.append("def __jruby_bsf_anonym... | public Object apply(String file, int line, int col, Object funcBody, Vector paramNames, Vector args) { ISourcePosition oldPosition = ruby.getPosition(); ruby.setPosition(file, line); StringBuffer sb = new StringBuffer(((String) funcBody).length() + 100); sb.append("def __jruby_bsf_anonym... | 3,231,453 |
public void initialize(BSFManager mgr, String lang, Vector declaredBeans) throws BSFException { super.initialize(mgr, lang, declaredBeans); ruby = Ruby.getDefaultInstance(); int size = declaredBeans.size(); for (int i = 0; i < size; i++) { BSFDeclaredBean bean = (BSFDe... | public void initialize(BSFManager mgr, String lang, Vector declaredBeans) throws BSFException { super.initialize(mgr, lang, declaredBeans); ruby = Ruby.getDefaultInstance(); int size = declaredBeans.size(); for (int i = 0; i < size; i++) { BSFDeclaredBean bean = (BSFDe... | 3,231,454 |
public String toString() { return "Token: Type = " + getType() + "; Line = " + getLine() + "; Column = " + getColumn() + "; Data = \"" + String.valueOf(getData()).replaceAll("\n", "\\\\n") + "\""; } | public String toString() { return "Token: Type = " + getType() + "; Line = " + getLine() + "; Column = " + getColumn() + "; Data = \"" + String.valueOf(getData()) + "\""; } | 3,231,455 |
private static String convert2String(IRubyObject l2Conv) { IRuby runtime = l2Conv.getRuntime(); if (l2Conv.getMetaClass() != runtime.getClass("String")) { l2Conv = l2Conv.convertToType("String", "to_s", true); //we may need a false here, not sure } return ((RubyString) l2Conv)... | private static String convert2String(IRubyObject l2Conv) { IRuby runtime = l2Conv.getRuntime(); if (l2Conv.getMetaClass() != runtime.getClass("String")) { l2Conv = l2Conv.convertToType("String", "to_s", true); //we may need a false here, not sure } return ((RubyString) l2Conv)... | 3,231,456 |
public static RubyString pack(List list, RubyString formatString) { IRuby runtime = formatString.getRuntime(); PtrList format = new PtrList(formatString.getValue()); StringBuffer result = new StringBuffer(); int listSize = list.size(); char type = format.nextChar(); ... | public static RubyString pack(List list, RubyString formatString) { IRuby runtime = formatString.getRuntime(); PtrList format = new PtrList(formatString.toString()); StringBuffer result = new StringBuffer(); int listSize = list.size(); char type = format.nextChar(); ... | 3,231,457 |
public static RubyArray unpack(String encodedString, RubyString formatString) { IRuby runtime = formatString.getRuntime(); RubyArray result = runtime.newArray(); PtrList format = new PtrList(formatString.getValue()); PtrList encode = new PtrList(encodedString); char ty... | public static RubyArray unpack(String encodedString, RubyString formatString) { IRuby runtime = formatString.getRuntime(); RubyArray result = runtime.newArray(); PtrList format = new PtrList(formatString.toString()); PtrList encode = new PtrList(encodedString); char ty... | 3,231,458 |
public void invoke(JFrame parentFrame) { // Before creating any connections. Update proxy if needed. try { updateProxyConfig(); } catch (Exception e) { Log.error(e); } LoginPanel loginPanel = new LoginPanel(); // Construct Dialog loginDia... | public void invoke(JFrame parentFrame) { // Before creating any connections. Update proxy if needed. try { updateProxyConfig(); } catch (Exception e) { Log.error(e); } LoginPanel loginPanel = new LoginPanel(); // Construct Dialog loginDia... | 3,231,460 |
void setZoomPanel(ZoomPanel zoomPanel) { this.zoomPanel = zoomPanel; Dimension imageDim = new Dimension(imageWidth, imageHeight); zoomPanel.setPreferredSize(imageDim); zoomPanel.setSize(imageDim); } | void setZoomPanel(ZoomPanel zoomPanel) { this.zoomPanel = zoomPanel; Dimension imageDim = new Dimension(imageWidth, imageHeight); zoomPanel.setPreferredSize(imageDim); zoomPanel.setSize(imageDim); } | 3,231,461 |
public void setItemSelected(double level) { Integer index = (Integer) values.get(new Double(level)); Iterator i = items.keySet().iterator(); AbstractButton item; Integer j; if (index != null) { while (i.hasNext()) { j = (Integer) i.next(); item = (AbstractButton) items.get(j); item.setSelected(j.equals... | public void setItemSelected(double level) { Integer index = (Integer) values.get(new Double(level)); Iterator i = items.keySet().iterator(); AbstractButton item; Integer j; if (index != null) { while (i.hasNext()) { j = (Integer) i.next(); item = (AbstractButton) items.get(j); item.setSelected(j.equals... | 3,231,462 |
private void buildContactList() { XMPPConnection con = SparkManager.getConnection(); final Roster roster = con.getRoster(); roster.addRosterListener(this); for (RosterGroup group : roster.getGroups()) { ContactGroup contactGroup = addContactGroup(group.getName()); f... | private void buildContactList() { XMPPConnection con = SparkManager.getConnection(); final Roster roster = con.getRoster(); roster.addRosterListener(this); for (RosterGroup group : roster.getGroups()) { ContactGroup contactGroup = addContactGroup(group.getName()); f... | 3,231,464 |
public void connectionClosedOnError(final Exception ex) { String errorMessage = Res.getString("message.disconnected.error"); if (ex != null && ex instanceof XMPPException) { XMPPException xmppEx = (XMPPException)ex; StreamError error = xmppEx.getStreamError(); String r... | publicvoidconnectionClosedOnError(finalExceptionex){StringerrorMessage=Res.getString("message.disconnected.error");if(ex!=null&&exinstanceofXMPPException){XMPPExceptionxmppEx=(XMPPException)ex;StreamErrorerror=xmppEx.getStreamError();Stringreason=error.getCode();if("conflict".equals(reason)){errorMessage=Res.getString(... | 3,231,465 |
private synchronized void handleEntriesUpdated(final Collection addresses) { SwingUtilities.invokeLater(new Runnable() { public void run() { Roster roster = SparkManager.getConnection().getRoster(); Iterator jids = addresses.iterator(); while (jids.hasN... | private synchronized void handleEntriesUpdated(final Collection addresses) { SwingUtilities.invokeLater(new Runnable() { public void run() { Roster roster = SparkManager.getConnection().getRoster(); Iterator jids = addresses.iterator(); while (jids.hasN... | 3,231,466 |
private synchronized void handleEntriesUpdated(final Collection addresses) { SwingUtilities.invokeLater(new Runnable() { public void run() { Roster roster = SparkManager.getConnection().getRoster(); Iterator jids = addresses.iterator(); while (jids.hasN... | private synchronized void handleEntriesUpdated(final Collection addresses) { SwingUtilities.invokeLater(new Runnable() { public void run() { Roster roster = SparkManager.getConnection().getRoster(); Iterator jids = addresses.iterator(); while (jids.hasN... | 3,231,467 |
public void run() { Roster roster = SparkManager.getConnection().getRoster(); Iterator jids = addresses.iterator(); while (jids.hasNext()) { String jid = (String)jids.next(); RosterEntry rosterEntry = roster.getEntry(jid); ... | public void run() { Roster roster = SparkManager.getConnection().getRoster(); Iterator jids = addresses.iterator(); while (jids.hasNext()) { String jid = (String)jids.next(); RosterEntry rosterEntry = roster.getEntry(jid); ... | 3,231,468 |
public void run() { Roster roster = SparkManager.getConnection().getRoster(); Iterator jids = addresses.iterator(); while (jids.hasNext()) { String jid = (String)jids.next(); RosterEntry rosterEntry = roster.getEntry(jid); ... | public void run() { Roster roster = SparkManager.getConnection().getRoster(); Iterator jids = addresses.iterator(); while (jids.hasNext()) { String jid = (String)jids.next(); RosterEntry rosterEntry = roster.getEntry(jid); ... | 3,231,469 |
private void removeAllUsers() { // Behind the scenes, move everyone to the offline group. Iterator contactGroups = new ArrayList(getContactGroups()).iterator(); while (contactGroups.hasNext()) { ContactGroup contactGroup = (ContactGroup)contactGroups.next(); Iterator conta... | private void removeAllUsers() { // Behind the scenes, move everyone to the offline group. final Iterator contactGroups = new ArrayList(getContactGroups()).iterator(); while (contactGroups.hasNext()) { ContactGroup contactGroup = (ContactGroup)contactGroups.next(); Iterator... | 3,231,470 |
private void subscriptionRequest(final String jid) { final Roster roster = SparkManager.getConnection().getRoster(); RosterEntry entry = roster.getEntry(jid); if (entry != null && entry.getType() == RosterPacket.ItemType.TO) { Presence response = new Presence(Presence.Type.subscribed... | private void subscriptionRequest(final String jid) { final Roster roster = SparkManager.getConnection().getRoster(); RosterEntry entry = roster.getEntry(jid); if (entry != null && entry.getType() == RosterPacket.ItemType.TO) { Presence response = new Presence(Presence.Type.subscribed... | 3,231,471 |
private void updateUserPresence(Presence presence) { if (presence == null) { return; } Roster roster = SparkManager.getConnection().getRoster(); final String bareJID = StringUtils.parseBareAddress(presence.getFrom()); RosterEntry entry = roster.getEntry(bareJID); ... | private void updateUserPresence(Presence presence) { if (presence == null) { return; } Roster roster = SparkManager.getConnection().getRoster(); final String bareJID = StringUtils.parseBareAddress(presence.getFrom()); RosterEntry entry = roster.getEntry(bareJID); ... | 3,231,472 |
private void setupListeners() { chat.addParticipantStatusListener(new DefaultParticipantStatusListener() { public void kicked(String participant) { String nickname = StringUtils.parseResource(participant); insertText(Res.getString("message.user.kicked.from.room", nick... | private void setupListeners() { chat.addParticipantStatusListener(new DefaultParticipantStatusListener() { public void kicked(String participant) { String nickname = StringUtils.parseResource(participant); insertText(Res.getString("message.user.kicked.from.room", nick... | 3,231,473 |
public void voiceGranted() { insertText(Res.getString("message.your.voice.revoked")); getChatInputEditor().setEnabled(true); } | public void voiceGranted() { insertText(Res.getString("message.your.voice.granted")); getChatInputEditor().setEnabled(true); } | 3,231,474 |
public ChatRoomImpl(final String participantJID, String participantNickname, String title) { this.participantJID = participantJID; this.participantNickname = participantNickname; AndFilter presenceFilter = new AndFilter(new PacketTypeFilter(Presence.class), new FromContainsFilter(this.participa... | public ChatRoomImpl(final String participantJID, String participantNickname, String title) { this.participantJID = participantJID; this.participantNickname = participantNickname; AndFilter presenceFilter = new AndFilter(new PacketTypeFilter(Presence.class), new FromContainsFilter(this.participa... | 3,231,475 |
public ChatRoomImpl(final String participantJID, String participantNickname, String title) { this.participantJID = participantJID; this.participantNickname = participantNickname; AndFilter presenceFilter = new AndFilter(new PacketTypeFilter(Presence.class), new FromContainsFilter(this.participa... | public ChatRoomImpl(final String participantJID, String participantNickname, String title) { this.participantJID = participantJID; this.participantNickname = participantNickname; AndFilter presenceFilter = new AndFilter(new PacketTypeFilter(Presence.class), new FromContainsFilter(this.participa... | 3,231,476 |
public void actionPerformed(ActionEvent e) { int index = -1; try { index = Integer.parseInt(e.getActionCommand()); switch (index) { case SAVE: save(); break; case CANCEL: cancel(); break; case ... | public void actionPerformed(ActionEvent e) { int index = -1; try { index = Integer.parseInt(e.getActionCommand()); switch (index) { case SAVE: save(); break; case CANCEL: cancel(); break; case ... | 3,231,477 |
private void showImages() { CategoryGroupData group = (CategoryGroupData) view.getExistingGroups().getSelectedItem(); int selectedIndex = view.getImagesSelection().getSelectedIndex(); if (selectedIndex != selectionIndex) { selectionIndex = selectedIndex; List im... | private void showImages() { CategoryGroupData group = (CategoryGroupData) view.getExistingGroups().getSelectedItem(); int selectedIndex = view.getImagesSelection().getSelectedIndex(); if (selectedIndex != selectionIndex) { selectionIndex = selectedIndex; List im... | 3,231,479 |
private void showImages() { CategoryGroupData group = (CategoryGroupData) view.getExistingGroups().getSelectedItem(); int selectedIndex = view.getImagesSelection().getSelectedIndex(); if (selectedIndex != selectionIndex) { selectionIndex = selectedIndex; List im... | private void showImages() { CategoryGroupData group = (CategoryGroupData) view.getExistingGroups().getSelectedItem(); int selectedIndex = view.getImagesSelection().getSelectedIndex(); if (selectedIndex != selectionIndex) { selectionIndex = selectedIndex; List im... | 3,231,480 |
public void propertyChange(PropertyChangeEvent pce) { String propName = pce.getPropertyName(); if (ImViewer.Z_SELECTED_PROPERTY.equals(propName)) { view.setZSection(((Integer) pce.getNewValue()).intValue()); } else if (ImViewer.T_SELECTED_PROPERTY.equals(propName)) { v... | public void propertyChange(PropertyChangeEvent pce) { String propName = pce.getPropertyName(); if (ImViewer.Z_SELECTED_PROPERTY.equals(propName)) { view.setZSection(((Integer) pce.getNewValue()).intValue()); } else if (ImViewer.T_SELECTED_PROPERTY.equals(propName)) { v... | 3,231,482 |
public String toString(){ return "AnalysisNodeExecution"+(analysisNodeExecutionId==null ? ":Hash"+this.hashCode() : ":"+analysisNodeExecutionId); } | public String toString(){ return "AnalysisNodeExecution"+(analysisNodeExecutionId==null ? ":Hash_"+this.hashCode() : ":Id_"+analysisNodeExecutionId); } | 3,231,483 |
public ReceiveMessage() { setLayout(new GridBagLayout()); setBackground(new Color(250, 249, 242)); add(imageLabel, new GridBagConstraints(0, 0, 1, 3, 0.0, 0.0, GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, new Insets(5, 5, 5, 5), 0, 0)); add(titleLabel, new GridBagConstraints(1,... | public ReceiveMessage() { setLayout(new GridBagLayout()); setBackground(new Color(250, 249, 242)); add(imageLabel, new GridBagConstraints(0, 0, 1, 3, 0.0, 0.0, GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, new Insets(5, 5, 5, 5), 0, 0)); add(titleLabel, new GridBagConstraints(1,... | 3,231,484 |
public ReceiveMessage() { setLayout(new GridBagLayout()); setBackground(new Color(250, 249, 242)); add(imageLabel, new GridBagConstraints(0, 0, 1, 3, 0.0, 0.0, GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, new Insets(5, 5, 5, 5), 0, 0)); add(titleLabel, new GridBagConstraints(1,... | public ReceiveMessage() { setLayout(new GridBagLayout()); setBackground(new Color(250, 249, 242)); add(imageLabel, new GridBagConstraints(0, 0, 1, 3, 0.0, 0.0, GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, new Insets(5, 5, 5, 5), 0, 0)); add(titleLabel, new GridBagConstraints(1,... | 3,231,485 |
public ReceiveMessage() { setLayout(new GridBagLayout()); setBackground(new Color(250, 249, 242)); add(imageLabel, new GridBagConstraints(0, 0, 1, 3, 0.0, 0.0, GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, new Insets(5, 5, 5, 5), 0, 0)); add(titleLabel, new GridBagConstraints(1,... | public ReceiveMessage() { setLayout(new GridBagLayout()); setBackground(new Color(250, 249, 242)); add(imageLabel, new GridBagConstraints(0, 0, 1, 3, 0.0, 0.0, GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, new Insets(5, 5, 5, 5), 0, 0)); add(titleLabel, new GridBagConstraints(1,... | 3,231,486 |
public void acceptFileTransfer(final FileTransferRequest request) { String fileName = request.getFileName(); long fileSize = request.getFileSize(); String requestor = request.getRequestor(); String bareJID = StringUtils.parseBareAddress(requestor); ByteFormat format = new ByteForm... | public void acceptFileTransfer(final FileTransferRequest request) { String fileName = request.getFileName(); long fileSize = request.getFileSize(); String requestor = request.getRequestor(); String bareJID = StringUtils.parseBareAddress(requestor); ByteFormat format = new ByteForm... | 3,231,487 |
private void acceptRequest(final FileTransferRequest request) { String requestor = request.getRequestor(); String bareJID = StringUtils.parseBareAddress(requestor); ContactList contactList = SparkManager.getWorkspace().getContactList(); final ContactItem contactItem = contactList.getCont... | private void acceptRequest(final FileTransferRequest request) { String requestor = request.getRequestor(); String bareJID = StringUtils.parseBareAddress(requestor); ContactList contactList = SparkManager.getWorkspace().getContactList(); final ContactItem contactItem = contactList.getCont... | 3,231,488 |
private void acceptRequest(final FileTransferRequest request) { String requestor = request.getRequestor(); String bareJID = StringUtils.parseBareAddress(requestor); ContactList contactList = SparkManager.getWorkspace().getContactList(); final ContactItem contactItem = contactList.getCont... | private void acceptRequest(final FileTransferRequest request) { String requestor = request.getRequestor(); String bareJID = StringUtils.parseBareAddress(requestor); ContactList contactList = SparkManager.getWorkspace().getContactList(); final ContactItem contactItem = contactList.getCont... | 3,231,489 |
private void acceptRequest(final FileTransferRequest request) { String requestor = request.getRequestor(); String bareJID = StringUtils.parseBareAddress(requestor); ContactList contactList = SparkManager.getWorkspace().getContactList(); final ContactItem contactItem = contactList.getCont... | private void acceptRequest(final FileTransferRequest request) { String requestor = request.getRequestor(); String bareJID = StringUtils.parseBareAddress(requestor); ContactList contactList = SparkManager.getWorkspace().getContactList(); final ContactItem contactItem = contactList.getCont... | 3,231,490 |
private void acceptRequest(final FileTransferRequest request) { String requestor = request.getRequestor(); String bareJID = StringUtils.parseBareAddress(requestor); ContactList contactList = SparkManager.getWorkspace().getContactList(); final ContactItem contactItem = contactList.getCont... | private void acceptRequest(final FileTransferRequest request) { String requestor = request.getRequestor(); String bareJID = StringUtils.parseBareAddress(requestor); ContactList contactList = SparkManager.getWorkspace().getContactList(); final ContactItem contactItem = contactList.getCont... | 3,231,491 |
private void acceptRequest(final FileTransferRequest request) { String requestor = request.getRequestor(); String bareJID = StringUtils.parseBareAddress(requestor); ContactList contactList = SparkManager.getWorkspace().getContactList(); final ContactItem contactItem = contactList.getCont... | private void acceptRequest(final FileTransferRequest request) { String requestor = request.getRequestor(); String bareJID = StringUtils.parseBareAddress(requestor); ContactList contactList = SparkManager.getWorkspace().getContactList(); final ContactItem contactItem = contactList.getCont... | 3,231,492 |
private void acceptRequest(final FileTransferRequest request) { String requestor = request.getRequestor(); String bareJID = StringUtils.parseBareAddress(requestor); ContactList contactList = SparkManager.getWorkspace().getContactList(); final ContactItem contactItem = contactList.getCont... | private void acceptRequest(final FileTransferRequest request) { String requestor = request.getRequestor(); String bareJID = StringUtils.parseBareAddress(requestor); ContactList contactList = SparkManager.getWorkspace().getContactList(); final ContactItem contactItem = contactList.getCont... | 3,231,493 |
private void acceptRequest(final FileTransferRequest request) { String requestor = request.getRequestor(); String bareJID = StringUtils.parseBareAddress(requestor); ContactList contactList = SparkManager.getWorkspace().getContactList(); final ContactItem contactItem = contactList.getCont... | private void acceptRequest(final FileTransferRequest request) { String requestor = request.getRequestor(); String bareJID = StringUtils.parseBareAddress(requestor); ContactList contactList = SparkManager.getWorkspace().getContactList(); final ContactItem contactItem = contactList.getCont... | 3,231,494 |
private void acceptRequest(final FileTransferRequest request) { String requestor = request.getRequestor(); String bareJID = StringUtils.parseBareAddress(requestor); ContactList contactList = SparkManager.getWorkspace().getContactList(); final ContactItem contactItem = contactList.getCont... | private void acceptRequest(final FileTransferRequest request) { String requestor = request.getRequestor(); String bareJID = StringUtils.parseBareAddress(requestor); ContactList contactList = SparkManager.getWorkspace().getContactList(); final ContactItem contactItem = contactList.getCont... | 3,231,495 |
private void acceptRequest(final FileTransferRequest request) { String requestor = request.getRequestor(); String bareJID = StringUtils.parseBareAddress(requestor); ContactList contactList = SparkManager.getWorkspace().getContactList(); final ContactItem contactItem = contactList.getCont... | private void acceptRequest(final FileTransferRequest request) { String requestor = request.getRequestor(); String bareJID = StringUtils.parseBareAddress(requestor); ContactList contactList = SparkManager.getWorkspace().getContactList(); final ContactItem contactItem = contactList.getCont... | 3,231,496 |
private void acceptRequest(final FileTransferRequest request) { String requestor = request.getRequestor(); String bareJID = StringUtils.parseBareAddress(requestor); ContactList contactList = SparkManager.getWorkspace().getContactList(); final ContactItem contactItem = contactList.getCont... | private void acceptRequest(final FileTransferRequest request) { String requestor = request.getRequestor(); String bareJID = StringUtils.parseBareAddress(requestor); ContactList contactList = SparkManager.getWorkspace().getContactList(); final ContactItem contactItem = contactList.getCont... | 3,231,497 |
public Object construct() { try { transfer.recieveFile(downloadedFile); } catch (XMPPException e) { Log.error(e); } while (true) { try { ... | public Object construct() { try { transfer.recieveFile(downloadedFile); } catch (XMPPException e) { Log.error(e); } while (true) { try { ... | 3,231,498 |
public Object construct() { try { transfer.recieveFile(downloadedFile); } catch (XMPPException e) { Log.error(e); } while (true) { try { ... | public Object construct() { try { transfer.recieveFile(downloadedFile); } catch (XMPPException e) { Log.error(e); } while (true) { try { ... | 3,231,499 |
public Object construct() { try { transfer.recieveFile(downloadedFile); } catch (XMPPException e) { Log.error(e); } while (true) { try { ... | public Object construct() { try { transfer.recieveFile(downloadedFile); } catch (XMPPException e) { Log.error(e); } while (true) { try { ... | 3,231,500 |
public void finished() { if (transfer.getAmountWritten() >= request.getFileSize()) { transferDone(request, transfer); imageLabel.setToolTipText("Click to open"); titleLabel.setToolTipText("Click to open"); ... | public void finished() { if (transfer.getAmountWritten() >= request.getFileSize()) { transferDone(request, transfer); imageLabel.setToolTipText("Click to open"); titleLabel.setToolTipText("Click to open"); ... | 3,231,501 |
public void finished() { if (transfer.getAmountWritten() >= request.getFileSize()) { transferDone(request, transfer); imageLabel.setToolTipText("Click to open"); titleLabel.setToolTipText("Click to open"); ... | public void finished() { if (transfer.getAmountWritten() >= request.getFileSize()) { transferDone(request, transfer); imageLabel.setToolTipText("Click to open"); titleLabel.setToolTipText("Click to open"); ... | 3,231,502 |
public void finished() { if (transfer.getAmountWritten() >= request.getFileSize()) { transferDone(request, transfer); imageLabel.setToolTipText("Click to open"); titleLabel.setToolTipText("Click to open"); ... | public void finished() { if (transfer.getAmountWritten() >= request.getFileSize()) { transferDone(request, transfer); imageLabel.setToolTipText("Click to open"); titleLabel.setToolTipText("Click to open"); ... | 3,231,503 |
public void finished() { if (transfer.getAmountWritten() >= request.getFileSize()) { transferDone(request, transfer); imageLabel.setToolTipText("Click to open"); titleLabel.setToolTipText("Click to open"); ... | public void finished() { if (transfer.getAmountWritten() >= request.getFileSize()) { transferDone(request, transfer); imageLabel.setToolTipText("Click to open"); titleLabel.setToolTipText("Click to open"); ... | 3,231,504 |
public void finished() { if (transfer.getAmountWritten() >= request.getFileSize()) { transferDone(request, transfer); imageLabel.setToolTipText("Click to open"); titleLabel.setToolTipText("Click to open"); ... | public void finished() { if (transfer.getAmountWritten() >= request.getFileSize()) { transferDone(request, transfer); imageLabel.setToolTipText("Click to open"); titleLabel.setToolTipText("Click to open"); ... | 3,231,505 |
public void finished() { if (transfer.getAmountWritten() >= request.getFileSize()) { transferDone(request, transfer); imageLabel.setToolTipText("Click to open"); titleLabel.setToolTipText("Click to open"); ... | public void finished() { if (transfer.getAmountWritten() >= request.getFileSize()) { transferDone(request, transfer); imageLabel.setToolTipText("Click to open"); titleLabel.setToolTipText("Click to open"); ... | 3,231,506 |
private void decorateCancelButton() { cancelButton.setVisible(false); ResourceUtils.resButton(cancelButton, "Cancel"); cancelButton.setBorder(BorderFactory.createMatteBorder(0, 0, 1, 0, new Color(73, 113, 196))); cancelButton.setForeground(new Color(73, 113, 196)); cancelButton.se... | private void decorateCancelButton() { cancelButton.setVisible(false); ResourceUtils.resButton(cancelButton, Res.getString("cancel")); cancelButton.setBorder(BorderFactory.createMatteBorder(0, 0, 1, 0, new Color(73, 113, 196))); cancelButton.setForeground(new Color(73, 113, 196)); ... | 3,231,507 |
private void decorateCancelButton() { cancelButton.setVisible(false); ResourceUtils.resButton(cancelButton, "Cancel"); cancelButton.setBorder(BorderFactory.createMatteBorder(0, 0, 1, 0, new Color(73, 113, 196))); cancelButton.setForeground(new Color(73, 113, 196)); cancelButton.se... | private void decorateCancelButton() { cancelButton.setVisible(false); ResourceUtils.resButton(cancelButton, "Cancel"); cancelButton.setBorder(BorderFactory.createMatteBorder(0, 0, 1, 0, new Color(73, 113, 196))); cancelButton.setForeground(new Color(73, 113, 196)); cancelButton.se... | 3,231,508 |
private void rejectRequest(FileTransferRequest request) { request.reject(); setBackground(new Color(239, 245, 250)); acceptLabel.setText(""); declineLabel.setText(""); fileLabel.setText(""); titleLabel.setText("You have cancelled the file transfer."); titleLabel.setF... | private void rejectRequest(FileTransferRequest request) { request.reject(); setBackground(new Color(239, 245, 250)); acceptLabel.setText(""); declineLabel.setText(""); fileLabel.setText(""); titleLabel.setText(Res.getString("message.file.transfer.canceled")); titleLa... | 3,231,509 |
private void showPopup(MouseEvent e, final File downloadedFile) { if (e.isPopupTrigger()) { final JPopupMenu popup = new JPopupMenu(); final ReceiveMessage ui = this; Action saveAsAction = new AbstractAction() { public void actionPerformed(ActionEvent e) { ... | private void showPopup(MouseEvent e, final File downloadedFile) { if (e.isPopupTrigger()) { final JPopupMenu popup = new JPopupMenu(); final ReceiveMessage ui = this; Action saveAsAction = new AbstractAction() { public void actionPerformed(ActionEvent e) { ... | 3,231,510 |
private void showPopup(MouseEvent e, final File downloadedFile) { if (e.isPopupTrigger()) { final JPopupMenu popup = new JPopupMenu(); final ReceiveMessage ui = this; Action saveAsAction = new AbstractAction() { public void actionPerformed(ActionEvent e) { ... | private void showPopup(MouseEvent e, final File downloadedFile) { if (e.isPopupTrigger()) { final JPopupMenu popup = new JPopupMenu(); final ReceiveMessage ui = this; Action saveAsAction = new AbstractAction() { public void actionPerformed(ActionEvent e) { ... | 3,231,511 |
public void actionPerformed(ActionEvent e) { final JFileChooser chooser = Downloads.getInstance().getFileChooser(); File selectedFile = chooser.getSelectedFile(); if (selectedFile != null) { selectedFile = new File(selectedF... | public void actionPerformed(ActionEvent e) { final JFileChooser chooser = Downloads.getInstance().getFileChooser(); File selectedFile = chooser.getSelectedFile(); if (selectedFile != null) { selectedFile = new File(selectedF... | 3,231,512 |
private void transferDone(final FileTransferRequest request, FileTransfer transfer) { cancelButton.setVisible(false); showAlert(true); String bareJID = StringUtils.parseBareAddress(request.getRequestor()); ContactList contactList = SparkManager.getWorkspace().getContactList(); Con... | private void transferDone(final FileTransferRequest request, FileTransfer transfer) { cancelButton.setVisible(false); showAlert(true); String bareJID = StringUtils.parseBareAddress(request.getRequestor()); ContactList contactList = SparkManager.getWorkspace().getContactList(); Con... | 3,231,513 |
private void transferDone(final FileTransferRequest request, FileTransfer transfer) { cancelButton.setVisible(false); showAlert(true); String bareJID = StringUtils.parseBareAddress(request.getRequestor()); ContactList contactList = SparkManager.getWorkspace().getContactList(); Con... | private void transferDone(final FileTransferRequest request, FileTransfer transfer) { cancelButton.setVisible(false); showAlert(true); String bareJID = StringUtils.parseBareAddress(request.getRequestor()); ContactList contactList = SparkManager.getWorkspace().getContactList(); Con... | 3,231,514 |
private void transferDone(final FileTransferRequest request, FileTransfer transfer) { cancelButton.setVisible(false); showAlert(true); String bareJID = StringUtils.parseBareAddress(request.getRequestor()); ContactList contactList = SparkManager.getWorkspace().getContactList(); Con... | private void transferDone(final FileTransferRequest request, FileTransfer transfer) { cancelButton.setVisible(false); showAlert(true); String bareJID = StringUtils.parseBareAddress(request.getRequestor()); ContactList contactList = SparkManager.getWorkspace().getContactList(); Con... | 3,231,515 |
private void transferDone(final FileTransferRequest request, FileTransfer transfer) { cancelButton.setVisible(false); showAlert(true); String bareJID = StringUtils.parseBareAddress(request.getRequestor()); ContactList contactList = SparkManager.getWorkspace().getContactList(); Con... | private void transferDone(final FileTransferRequest request, FileTransfer transfer) { cancelButton.setVisible(false); showAlert(true); String bareJID = StringUtils.parseBareAddress(request.getRequestor()); ContactList contactList = SparkManager.getWorkspace().getContactList(); Con... | 3,231,516 |
public static Test suite() { TestSuite suite = new TestSuite(); Ruby ruby = Ruby.getDefaultInstance(null); ruby.initLoad(new ArrayList()); suite.addTest(new ScriptTest(ruby, "testRegexp")); suite.addTest(new ScriptTest(ruby, "testStringEval")); suite.addTest(new ScriptTest(ruby, "testHereDocument")); s... | public static Test suite() { TestSuite suite = new TestSuite(); Ruby ruby = Ruby.getDefaultInstance(null); ruby.initLoad(new ArrayList()); suite.addTest(new ScriptTest(ruby, "testRegexp")); suite.addTest(new ScriptTest(ruby, "testStringEval")); suite.addTest(new ScriptTest(ruby, "testHereDocument")); s... | 3,231,517 |
private boolean attempt() { UserCredentials uc = config.getCredentials(); try { if (uc == null) throw new DSOutOfServiceException( "No user's credentials have been entered yet."); //NOTE: This will never happen if the Splash Scree... | private boolean attempt() { UserCredentials uc = config.getCredentials(); try { if (uc == null) throw new DSOutOfServiceException( "No user's credentials have been entered yet."); //NOTE: This will never happen if the Splash Scree... | 3,231,519 |
private boolean attempt() { UserCredentials uc = config.getCredentials(); try { if (uc == null) throw new DSOutOfServiceException( "No user's credentials have been entered yet."); //NOTE: This will never happen if the Splash Scree... | private boolean attempt() { UserCredentials uc = config.getCredentials(); try { if (uc == null) throw new DSOutOfServiceException( "No user's credentials have been entered yet."); //NOTE: This will never happen if the Splash Scree... | 3,231,520 |
private boolean attempt() { UserCredentials uc = config.getCredentials(); try { if (uc == null) throw new DSOutOfServiceException( "No user's credentials have been entered yet."); //NOTE: This will never happen if the Splash Scree... | private boolean attempt() { UserCredentials uc = config.getCredentials(); try { if (uc == null) throw new DSOutOfServiceException( "No user's credentials have been entered yet."); //NOTE: This will never happen if the Splash Scree... | 3,231,521 |
public void sortBy(int index) { model.getSorter().setByDate(SortByAction.BY_DATE == index); view.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); Browser browser = getBrowser(); switch (browser.getSelectedLayout()) { case LayoutFactory.SQUARY_LAYOUT: ... | public void sortBy(int index) { model.getSorter().setByDate(SortByAction.BY_DATE == index); view.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); Browser browser = getBrowser(); switch (browser.getSelectedLayout()) { case LayoutFactory.SQUARY_LAYOUT: ... | 3,231,523 |
private JPanel createChannelButtons() { JPanel p = new JPanel(); p.setLayout(new BoxLayout(p, BoxLayout.Y_AXIS)); ChannelMetadata[] data = model.getChannelData(); boolean gs = model.getColorModel().equals(ImViewer.GREY_SCALE_MODEL); ChannelMetadata d; ChannelToggleButton... | private JPanel createChannelButtons() { JPanel p = new JPanel(); p.setLayout(new BoxLayout(p, BoxLayout.Y_AXIS)); ChannelMetadata[] data = model.getChannelData(); boolean gs = model.getColorModel().equals(ImViewer.GREY_SCALE_MODEL); ChannelMetadata d; ChannelToggleButton... | 3,231,524 |
private JPanel createChannelButtons() { JPanel p = new JPanel(); p.setLayout(new BoxLayout(p, BoxLayout.Y_AXIS)); ChannelMetadata[] data = model.getChannelData(); boolean gs = model.getColorModel().equals(ImViewer.GREY_SCALE_MODEL); ChannelMetadata d; ChannelToggleButton... | private JPanel createChannelButtons() { JPanel p = new JPanel(); p.setLayout(new BoxLayout(p, BoxLayout.Y_AXIS)); ChannelMetadata[] data = model.getChannelData(); boolean gs = model.getColorModel().equals(ImViewer.GREY_SCALE_MODEL); ChannelMetadata d; ChannelToggleButton... | 3,231,525 |
private JPanel createChannelButtons() { JPanel p = new JPanel(); p.setLayout(new BoxLayout(p, BoxLayout.Y_AXIS)); ChannelMetadata[] data = model.getChannelData(); boolean gs = model.getColorModel().equals(ImViewer.GREY_SCALE_MODEL); ChannelMetadata d; ChannelToggleButton... | private JPanel createChannelButtons() { JPanel p = new JPanel(); p.setLayout(new BoxLayout(p, BoxLayout.Y_AXIS)); ChannelMetadata[] data = model.getChannelData(); boolean gs = model.getColorModel().equals(ImViewer.GREY_SCALE_MODEL); ChannelMetadata d; ChannelToggleButton... | 3,231,526 |
public void activate() { } | public void activate() { } | 3,231,527 |
void showPresentation() { if (presentation != null) { topFrame.addToDesktop(presentation, TopFrame.PALETTE_LAYER); presentation.setVisible(true); } } | void showPresentation() { if (presentation != null) { topFrame.addToDesktop(presentation, TopFrame.PALETTE_LAYER); presentation.setVisible(true); } } | 3,231,528 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.