bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public Instruction visitDAsgnNode(DAsgnNode iVisited) { state.getThreadContext().getCurrentDynamicVars().set(iVisited.getName(), value); return null; }
public Instruction visitDAsgnNode(DAsgnNode iVisited) { state.getThreadContext().getCurrentDynamicVars().set(iVisited.getName(), value); return null; }
3,227,122
public Instruction visitGlobalAsgnNode(GlobalAsgnNode iVisited) { state.runtime.getGlobalVariables().set(iVisited.getName(), value); return null; }
public Instruction visitGlobalAsgnNode(GlobalAsgnNode iVisited) { state.runtime.getGlobalVariables().set(iVisited.getName(), value); return null; }
3,227,123
public Instruction visitInstAsgnNode(InstAsgnNode iVisited) { state.getSelf().setInstanceVariable(iVisited.getName(), value); return null; }
public Instruction visitInstAsgnNode(InstAsgnNode iVisited) { state.getSelf().setInstanceVariable(iVisited.getName(), value); return null; }
3,227,124
public Instruction visitLocalAsgnNode(LocalAsgnNode iVisited) { state.runtime.getCurrentContext().getFrameScope().setValue(iVisited.getCount(), value); return null; }
public Instruction visitLocalAsgnNode(LocalAsgnNode iVisited) { state.runtime.getCurrentContext().getFrameScope().setValue(iVisited.getCount(), value); return null; }
3,227,125
public Instruction visitMultipleAsgnNode(MultipleAsgnNode iVisited) { if (!(value instanceof RubyArray)) { value = RubyArray.newArray(state.runtime, value); } state.setResult(state.getThreadContext() .mAssign(state.getSelf(), iVisited, (RubyArray) value, check)); return null; }
public Instruction visitMultipleAsgnNode(MultipleAsgnNode iVisited) { if (!(value instanceof RubyArray)) { value = RubyArray.newArray(state.runtime, value); } state.setResult(state.getThreadContext() .mAssign(state.getSelf(), iVisited, (RubyArray) value, check)); return null; }
3,227,126
public Instruction visitMultipleAsgnNode(MultipleAsgnNode iVisited) { if (!(value instanceof RubyArray)) { value = RubyArray.newArray(state.runtime, value); } state.setResult(state.getThreadContext() .mAssign(state.getSelf(), iVisited, (RubyArray) value, check)); return null; }
public Instruction visitMultipleAsgnNode(MultipleAsgnNode iVisited) { if (!(value instanceof RubyArray)) { value = RubyArray.newArray(state.runtime, value); } state.setResult(state.getThreadContext() .mAssign(state.getSelf(), iVisited, (RubyArray) value, check)); return null; }
3,227,127
public RubyObject aset(RubyObject[] args) { int strLen = getValue().length(); if (argCount(args, 2, 3) == 3) { RubyString repl = stringValue(args[2]); int beg = RubyNumeric.fix2int(args[0]); int len = RubyNumeric.fix2int(args[1]); if (len < 0) { ...
public RubyObject aset(RubyObject[] args) { int strLen = getValue().length(); if (argCount(args, 2, 3) == 3) { RubyString repl = stringValue(args[2]); int beg = RubyNumeric.fix2int(args[0]); int len = RubyNumeric.fix2int(args[1]); if (len < 0) { ...
3,227,128
public static RubyString stringValue(RubyObject other) { if (other instanceof RubyString) { return (RubyString) other; } else { try { return (RubyString) other.convertType(RubyString.class, "String", "to_str"); } catch (Exception ex) { thr...
public static RubyString stringValue(RubyObject other) { if (other instanceof RubyString) { return (RubyString) other; } else { try { return (RubyString) other.convertType(RubyString.class, "String", "to_str"); } catch (Exception ex) { thr...
3,227,129
public boolean isRemoveable(){return true;}
public boolean isRemoveable(){return true;}
3,227,130
public void doGroup_update ( RunData data ) { SessionState state = ((JetspeedRunData)data).getPortletSessionState (((JetspeedRunData)data).getJs_peid ()); ParameterParser params = data.getParameters (); Set gMemberSet = (Set) state.getAttribute(STATE_GROUP_MEMBERS); Site site = getStateSite(state); String title...
public void doGroup_update ( RunData data ) { SessionState state = ((JetspeedRunData)data).getPortletSessionState (((JetspeedRunData)data).getJs_peid ()); ParameterParser params = data.getParameters (); Set gMemberSet = (Set) state.getAttribute(STATE_GROUP_MEMBERS); Site site = getStateSite(state); String title...
3,227,131
public void doGroup_update ( RunData data ) { SessionState state = ((JetspeedRunData)data).getPortletSessionState (((JetspeedRunData)data).getJs_peid ()); ParameterParser params = data.getParameters (); Set gMemberSet = (Set) state.getAttribute(STATE_GROUP_MEMBERS); Site site = getStateSite(state); String title...
public void doGroup_update ( RunData data ) { SessionState state = ((JetspeedRunData)data).getPortletSessionState (((JetspeedRunData)data).getJs_peid ()); ParameterParser params = data.getParameters (); Set gMemberSet = (Set) state.getAttribute(STATE_GROUP_MEMBERS); Site site = getStateSite(state); String title...
3,227,132
public void doUpdate_participant(RunData data) { SessionState state = ((JetspeedRunData)data).getPortletSessionState (((JetspeedRunData)data).getJs_peid ()); ParameterParser params = data.getParameters (); Site s = getStateSite(state); String realmId = SiteService.siteReference(s.getId()); if (AuthzGroupService....
public void doUpdate_participant(RunData data) { SessionState state = ((JetspeedRunData)data).getPortletSessionState (((JetspeedRunData)data).getJs_peid ()); ParameterParser params = data.getParameters (); Site s = getStateSite(state); String realmId = SiteService.siteReference(s.getId()); if (AuthzGroupService....
3,227,133
public void doUpdate_participant(RunData data) { SessionState state = ((JetspeedRunData)data).getPortletSessionState (((JetspeedRunData)data).getJs_peid ()); ParameterParser params = data.getParameters (); Site s = getStateSite(state); String realmId = SiteService.siteReference(s.getId()); if (AuthzGroupService....
public void doUpdate_participant(RunData data) { SessionState state = ((JetspeedRunData)data).getPortletSessionState (((JetspeedRunData)data).getJs_peid ()); ParameterParser params = data.getParameters (); Site s = getStateSite(state); String realmId = SiteService.siteReference(s.getId()); if (AuthzGroupService....
3,227,134
public void doUpdate_participant(RunData data) { SessionState state = ((JetspeedRunData)data).getPortletSessionState (((JetspeedRunData)data).getJs_peid ()); ParameterParser params = data.getParameters (); Site s = getStateSite(state); String realmId = SiteService.siteReference(s.getId()); if (AuthzGroupService....
public void doUpdate_participant(RunData data) { SessionState state = ((JetspeedRunData)data).getPortletSessionState (((JetspeedRunData)data).getJs_peid ()); ParameterParser params = data.getParameters (); Site s = getStateSite(state); String realmId = SiteService.siteReference(s.getId()); if (AuthzGroupService....
3,227,135
public void doUpdate_participant(RunData data) { SessionState state = ((JetspeedRunData)data).getPortletSessionState (((JetspeedRunData)data).getJs_peid ()); ParameterParser params = data.getParameters (); Site s = getStateSite(state); String realmId = SiteService.siteReference(s.getId()); if (AuthzGroupService....
public void doUpdate_participant(RunData data) { SessionState state = ((JetspeedRunData)data).getPortletSessionState (((JetspeedRunData)data).getJs_peid ()); ParameterParser params = data.getParameters (); Site s = getStateSite(state); String realmId = SiteService.siteReference(s.getId()); if (AuthzGroupService....
3,227,136
public void doUpdate_participant(RunData data) { SessionState state = ((JetspeedRunData)data).getPortletSessionState (((JetspeedRunData)data).getJs_peid ()); ParameterParser params = data.getParameters (); Site s = getStateSite(state); String realmId = SiteService.siteReference(s.getId()); if (AuthzGroupService....
public void doUpdate_participant(RunData data) { SessionState state = ((JetspeedRunData)data).getPortletSessionState (((JetspeedRunData)data).getJs_peid ()); ParameterParser params = data.getParameters (); Site s = getStateSite(state); String realmId = SiteService.siteReference(s.getId()); if (AuthzGroupService....
3,227,137
public void doUpdate_participant(RunData data) { SessionState state = ((JetspeedRunData)data).getPortletSessionState (((JetspeedRunData)data).getJs_peid ()); ParameterParser params = data.getParameters (); Site s = getStateSite(state); String realmId = SiteService.siteReference(s.getId()); if (AuthzGroupService....
public void doUpdate_participant(RunData data) { SessionState state = ((JetspeedRunData)data).getPortletSessionState (((JetspeedRunData)data).getJs_peid ()); ParameterParser params = data.getParameters (); Site s = getStateSite(state); String realmId = SiteService.siteReference(s.getId()); if (AuthzGroupService....
3,227,138
public void doUpdate_participant(RunData data) { SessionState state = ((JetspeedRunData)data).getPortletSessionState (((JetspeedRunData)data).getJs_peid ()); ParameterParser params = data.getParameters (); Site s = getStateSite(state); String realmId = SiteService.siteReference(s.getId()); if (AuthzGroupService....
public void doUpdate_participant(RunData data) { SessionState state = ((JetspeedRunData)data).getPortletSessionState (((JetspeedRunData)data).getJs_peid ()); ParameterParser params = data.getParameters (); Site s = getStateSite(state); String realmId = SiteService.siteReference(s.getId()); if (AuthzGroupService....
3,227,139
public void doUpdate_participant(RunData data) { SessionState state = ((JetspeedRunData)data).getPortletSessionState (((JetspeedRunData)data).getJs_peid ()); ParameterParser params = data.getParameters (); Site s = getStateSite(state); String realmId = SiteService.siteReference(s.getId()); if (AuthzGroupService....
public void doUpdate_participant(RunData data) { SessionState state = ((JetspeedRunData)data).getPortletSessionState (((JetspeedRunData)data).getJs_peid ()); ParameterParser params = data.getParameters (); Site s = getStateSite(state); String realmId = SiteService.siteReference(s.getId()); if (AuthzGroupService....
3,227,140
public void doUpdate_participant(RunData data) { SessionState state = ((JetspeedRunData)data).getPortletSessionState (((JetspeedRunData)data).getJs_peid ()); ParameterParser params = data.getParameters (); Site s = getStateSite(state); String realmId = SiteService.siteReference(s.getId()); if (AuthzGroupService....
public void doUpdate_participant(RunData data) { SessionState state = ((JetspeedRunData)data).getPortletSessionState (((JetspeedRunData)data).getJs_peid ()); ParameterParser params = data.getParameters (); Site s = getStateSite(state); String realmId = SiteService.siteReference(s.getId()); if (AuthzGroupService....
3,227,141
public void doUpdate_participant(RunData data) { SessionState state = ((JetspeedRunData)data).getPortletSessionState (((JetspeedRunData)data).getJs_peid ()); ParameterParser params = data.getParameters (); Site s = getStateSite(state); String realmId = SiteService.siteReference(s.getId()); if (AuthzGroupService....
public void doUpdate_participant(RunData data) { SessionState state = ((JetspeedRunData)data).getPortletSessionState (((JetspeedRunData)data).getJs_peid ()); ParameterParser params = data.getParameters (); Site s = getStateSite(state); String realmId = SiteService.siteReference(s.getId()); if (AuthzGroupService....
3,227,142
public void doUpdate_participant(RunData data) { SessionState state = ((JetspeedRunData)data).getPortletSessionState (((JetspeedRunData)data).getJs_peid ()); ParameterParser params = data.getParameters (); Site s = getStateSite(state); String realmId = SiteService.siteReference(s.getId()); if (AuthzGroupService....
public void doUpdate_participant(RunData data) { SessionState state = ((JetspeedRunData)data).getPortletSessionState (((JetspeedRunData)data).getJs_peid ()); ParameterParser params = data.getParameters (); Site s = getStateSite(state); String realmId = SiteService.siteReference(s.getId()); if (AuthzGroupService....
3,227,143
private List getParticipantList(SessionState state) { List members = new Vector(); List participants = new Vector(); String realmId = SiteService.siteReference((String) state.getAttribute(STATE_SITE_INSTANCE_ID)); List providerCourseList = null; providerCourseList = getProviderCourseList(StringUtil.trimToNull(g...
private List getParticipantList(SessionState state) { List members = new Vector(); List participants = new Vector(); String realmId = SiteService.siteReference((String) state.getAttribute(STATE_SITE_INSTANCE_ID)); List providerCourseList = null; providerCourseList = getProviderCourseList(StringUtil.trimToNull(g...
3,227,144
public synchronized void addListChangeListener(IListChangeListener listener) { if (listChangeListeners == null) { boolean hadListeners = hasListeners(); listChangeListeners = listener; if (!hadListeners) { firstListenerAdded(); } return; } Collection listenerList; if (listChangeListeners instanceof Co...
public synchronized void addListChangeListener(IListChangeListener listener) { if (listChangeListeners == null) { boolean hadListeners = hasListeners(); listChangeListeners = listener; if (!hadListeners) { firstListenerAdded(); } return; } Collection listenerList; if (listChangeListeners instanceof Co...
3,227,145
public synchronized void dispose() { listChangeListeners = null; super.dispose(); }
public synchronized void dispose() { listChangeListeners = null; super.dispose(); }
3,227,146
protected void fireListChange(ListDiff diff) { // fire general change event first super.fireChange(); if (listChangeListeners == null) { return; } if (listChangeListeners instanceof IListChangeListener) { ((IListChangeListener) listChangeListeners).handleListChange(this, diff); return; } Collection ch...
protected void fireListChange(ListDiff diff) { // fire general change event first super.fireChange(); if (listChangeListeners == null) { return; } if (listChangeListeners instanceof IListChangeListener) { ((IListChangeListener) listChangeListeners).handleListChange(this, diff); return; } Collection ch...
3,227,147
public synchronized void removeListChangeListener(IListChangeListener listener) { if (listChangeListeners == listener) { listChangeListeners = null; if (!hasListeners()) { lastListenerRemoved(); } return; } if (listChangeListeners instanceof Collection) { Collection listenerList = (Collection) listChan...
public synchronized void removeListChangeListener(IListChangeListener listener) { if (listChangeListeners == listener) { listChangeListeners = null; if (!hasListeners()) { lastListenerRemoved(); } return; } if (listChangeListeners instanceof Collection) { Collection listenerList = (Collection) listChan...
3,227,148
public static void addRosterEntry( HttpSession ses, String companyId, String emailAddress) throws PortalException, SystemException, XMPPException { Roster roster = getRoster(ses); User user = UserLocalServiceUtil.getUserByEmailAddress( companyId, emailAddress); String smackId = getXmppId(user); String name = ...
public static void addRosterEntry( HttpSession ses, String companyId, String emailAddress) throws PortalException, SystemException, XMPPException { Roster roster = getRoster(ses); User user = UserLocalServiceUtil.getUserByEmailAddress( companyId, emailAddress); String smackId = getXmppId(user); String name = ...
3,227,149
public static void addRosterEntry( HttpSession ses, String companyId, String emailAddress) throws PortalException, SystemException, XMPPException { Roster roster = getRoster(ses); User user = UserLocalServiceUtil.getUserByEmailAddress( companyId, emailAddress); String smackId = getXmppId(user); String name = ...
public JSONObject jo = new JSONObject(); static JSONObject jo = new JSONObject(); void JSONObject jo = new JSONObject(); addRosterEntry( HttpSession JSONObject jo = new JSONObject(); ses, JSONObject jo = new JSONObject(); String JSONObject jo = new JSONObject(); companyId, JSONObject jo = new JSONObject(); String JS...
3,227,150
public static void createXMPPConnection(HttpSession ses, String userId) throws XMPPException { if (isJabberEnabled()) { XMPPConnection con = null; try { con = new XMPPConnection(SERVER_ADDRESS, SERVER_PORT); } catch (XMPPException e) { return; } try { con.login(userId, USER_PASSWORD, ses.getId()...
public static void createXMPPConnection(HttpSession ses, String userId) throws XMPPException { if (isJabberEnabled()) { XMPPConnection con = null; try { con = new XMPPConnection(SERVER_ADDRESS, SERVER_PORT); } catch (XMPPException e) { return; } try { con.login(userId, USER_PASSWORD, ses.getId()...
3,227,152
public void addAccount(AccountID id){ String acctString = id.toString(); addAccount(acctString); }
public void addAccount(AccountID id){ String acctString = id.toString(); addAccount(acctString); }
3,227,153
public void addSymbol(MSymbol symbol){ String symbolString = symbol.toString(); addSymbol(symbolString); }
public void addSymbol(MSymbol symbol){ String symbolString = symbol.toString(); addSymbol(symbolString); }
3,227,154
private void initContent() { accountMatchers.add(new FIXMatcherEditor<String>(Account.FIELD, null, "<NO ACCOUNT>")); accountMatchers.add(new FIXMatcherEditor<String>(Account.FIELD, "FOO", "FOO")); accountMatchers.add(new FIXMatcherEditor<String>(Account.FIELD, "QWER", "QWER")); symbolMatche...
private void initContent() { accountMatchers.add(new FIXMatcherEditor<String>(Account.FIELD, null, "<NO ACCOUNT>")); accountMatchers.add(new FIXMatcherEditor<String>(Account.FIELD, "FOO", "FOO")); accountMatchers.add(new FIXMatcherEditor<String>(Account.FIELD, "QWER", "QWER")); symbolMatche...
3,227,155
public void orderActionTaken(Message message) { try { String accountString = message.getString(Account.FIELD); addAccount(accountString); } catch (FieldNotFound e) { // do nothing } try { String symbolString = message.getString(Symbol.FIELD); addSymbol(symbolString); } catch (FieldNotFound e...
public void orderActionTaken(Message message) { try { String accountString = message.getString(Account.FIELD); addAccount(new AccountID(accountString)); } catch (FieldNotFound e) { // do nothing } try { String symbolString = message.getString(Symbol.FIELD); addSymbol(symbolString); } catch (...
3,227,157
public void orderActionTaken(Message message) { try { String accountString = message.getString(Account.FIELD); addAccount(accountString); } catch (FieldNotFound e) { // do nothing } try { String symbolString = message.getString(Symbol.FIELD); addSymbol(symbolString); } catch (FieldNotFound e...
public void orderActionTaken(Message message) { try { String accountString = message.getString(Account.FIELD); addAccount(accountString); } catch (FieldNotFound e) { // do nothing } try { String symbolString = message.getString(Symbol.FIELD); addSymbol(symbolString); } catch (FieldNotFound e...
3,227,158
public Object getAdapter(Class adapter) { if (adapter == IWorkingSet.class || adapter == IPersistableElement.class) { return this; } return InternalPlatform.getDefault().getAdapterManager().getAdapter(this, adapter); }
public Object getAdapter(Class adapter) { if (adapter == IWorkingSet.class || adapter == IPersistableElement.class) { return this; } return Platform.getAdapterManager().getAdapter(this, adapter); }
3,227,159
protected void fillMenuBar(IMenuManager menuBar) { // File menu MenuManager menu = new MenuManager( Messages.ApplicationActionBarAdvisor_FileMenuName); menu.add(reconnectJMSAction); menu.add(new Separator()); menu.add(saveAction); menu.add(new Separator()); menu.add(closeAllAction); menu.add(closeAction); ...
protected void fillMenuBar(IMenuManager menuBar) { // File menu MenuManager menu = new MenuManager( Messages.ApplicationActionBarAdvisor_FileMenuName); menu.add(reconnectJMSAction); menu.add(new Separator()); menu.add(saveAction); menu.add(new Separator()); menu.add(closeAllAction); menu.add(closeAction); ...
3,227,161
protected void fillMenuBar(IMenuManager menuBar) { // File menu MenuManager menu = new MenuManager( Messages.ApplicationActionBarAdvisor_FileMenuName); menu.add(reconnectJMSAction); menu.add(new Separator()); menu.add(saveAction); menu.add(new Separator()); menu.add(closeAllAction); menu.add(closeAction); ...
protected void fillMenuBar(IMenuManager menuBar) { // File menu MenuManager menu = new MenuManager( Messages.ApplicationActionBarAdvisor_FileMenuName); menu.add(reconnectJMSAction); menu.add(new Separator()); menu.add(saveAction); menu.add(new Separator()); menu.add(closeAllAction); menu.add(closeAction); ...
3,227,162
private IRubyObject unmarshalObjectDirectly(int type, IRubyObject proc) throws IOException { IRubyObject rubyObj = null; switch (type) { case '0' : rubyObj = runtime.getNil(); break; case 'T' : rubyObj = RubyBoolean.newBoolean(runtime, tr...
private IRubyObject unmarshalObjectDirectly(int type, IRubyObject proc) throws IOException { IRubyObject rubyObj = null; switch (type) { case '0' : rubyObj = runtime.getNil(); break; case 'T' : rubyObj = runtime.getTrue(); ...
3,227,164
private IRubyObject unmarshalObjectDirectly(int type, IRubyObject proc) throws IOException { IRubyObject rubyObj = null; switch (type) { case '0' : rubyObj = runtime.getNil(); break; case 'T' : rubyObj = RubyBoolean.newBoolean(runtime, tr...
private IRubyObject unmarshalObjectDirectly(int type, IRubyObject proc) throws IOException { IRubyObject rubyObj = null; switch (type) { case '0' : rubyObj = runtime.getNil(); break; case 'T' : rubyObj = RubyBoolean.newBoolean(runtime, tr...
3,227,165
private IRubyObject unmarshalObjectDirectly(int type, IRubyObject proc) throws IOException { IRubyObject rubyObj = null; switch (type) { case '0' : rubyObj = runtime.getNil(); break; case 'T' : rubyObj = RubyBoolean.newBoolean(runtime, tr...
private IRubyObject unmarshalObjectDirectly(int type, IRubyObject proc) throws IOException { IRubyObject rubyObj = null; switch (type) { case '0' : rubyObj = runtime.getNil(); break; case 'T' : rubyObj = RubyBoolean.newBoolean(runtime, tr...
3,227,166
private IRubyObject userUnmarshal() throws IOException { String className = unmarshalObject().asSymbol(); String marshaled = unmarshalString(); RubyModule classInstance = runtime.getModule(className); IRubyObject result = classInstance.callMethod( "_load", RubyStrin...
private IRubyObject userUnmarshal() throws IOException { String className = unmarshalObject().asSymbol(); String marshaled = unmarshalString(); RubyModule classInstance = runtime.getModule(className); IRubyObject result = classInstance.callMethod( "_load", runtime.n...
3,227,167
public void addMessageResources( String categoryId, String topicId, String messageId, boolean addCommunityPermissions, boolean addGuestPermissions) throws PortalException, SystemException { MBCategory category = MBCategoryUtil.findByPrimaryKey(categoryId); MBMessage message = MBMessageUtil.findByPrimaryKey( n...
public void addMessageResources( String categoryId, String topicId, String messageId, boolean addCommunityPermissions, boolean addGuestPermissions) throws PortalException, SystemException { MBCategory category = MBCategoryUtil.findByPrimaryKey(categoryId); MBMessage message = MBMessageUtil.findByPrimaryKey( n...
3,227,168
public void addMessageResources( String categoryId, String topicId, String messageId, boolean addCommunityPermissions, boolean addGuestPermissions) throws PortalException, SystemException { MBCategory category = MBCategoryUtil.findByPrimaryKey(categoryId); MBMessage message = MBMessageUtil.findByPrimaryKey( n...
public void addMessageResources( String categoryId, String topicId, String messageId, boolean addCommunityPermissions, boolean addGuestPermissions) throws PortalException, SystemException { MBCategory category = MBCategoryUtil.findByPrimaryKey(categoryId); MBMessage message = MBMessageUtil.findByPrimaryKey( n...
3,227,169
public void deleteDiscussionMessage(String topicId, String messageId) throws PortalException, SystemException { deleteMessage(topicId, messageId); }
public void deleteDiscussionMessage(String topicId, String messageId) throws PortalException, SystemException { deleteMessage(topicId, messageId); }
3,227,170
public void deleteDiscussionMessage(String topicId, String messageId) throws PortalException, SystemException { deleteMessage(topicId, messageId); }
public void deleteDiscussionMessage(String topicId, String messageId) throws PortalException, SystemException { deleteMessage(topicId, messageId); }
3,227,171
public void deleteDiscussionMessages(String className, String classPK) throws PortalException, SystemException { try { MBDiscussion discussion = MBDiscussionUtil.findByC_C(className, classPK); List messages = MBMessageUtil.findByT_P( discussion.getThreadId(), MBMessage.DEFAULT_PARENT_MESSAGE_ID); MBMessa...
public void deleteDiscussionMessages(String className, String classPK) throws PortalException, SystemException { try { MBDiscussion discussion = MBDiscussionUtil.findByC_C(className, classPK); List messages = MBMessageUtil.findByT_P( discussion.getThreadId(), MBMessage.DEFAULT_PARENT_MESSAGE_ID); MBMessa...
3,227,172
public void deleteMessage(String topicId, String messageId) throws PortalException, SystemException { MBMessage message = MBMessageUtil.findByPrimaryKey( new MBMessagePK(topicId, messageId)); deleteMessage(message); }
public void deleteMessage(String topicId, String messageId) throws PortalException, SystemException { MBMessage message = MBMessageUtil.findByPrimaryKey( new MBMessagePK(topicId, messageId)); deleteMessage(message); }
3,227,173
public void deleteMessage(String topicId, String messageId) throws PortalException, SystemException { MBMessage message = MBMessageUtil.findByPrimaryKey( new MBMessagePK(topicId, messageId)); deleteMessage(message); }
public void deleteMessage(String topicId, String messageId) throws PortalException, SystemException { MBMessage message = MBMessageUtil.findByPrimaryKey( new MBMessagePK(topicId, messageId)); deleteMessage(message); }
3,227,174
public MBMessage getMessage(String topicId, String messageId) throws PortalException, SystemException { return MBMessageUtil.findByPrimaryKey( new MBMessagePK(topicId, messageId)); }
public MBMessage getMessage(String topicId, String messageId) throws PortalException, SystemException { return MBMessageUtil.findByPrimaryKey( new MBMessagePK(topicId, messageId)); }
3,227,175
public MBMessage getMessage(String topicId, String messageId) throws PortalException, SystemException { return MBMessageUtil.findByPrimaryKey( new MBMessagePK(topicId, messageId)); }
public MBMessage getMessage(String topicId, String messageId) throws PortalException, SystemException { return MBMessageUtil.findByPrimaryKey( new MBMessagePK(topicId, messageId)); }
3,227,176
public MBMessageDisplay getMessageDisplay( String topicId, String messageId, String userId) throws PortalException, SystemException { MBMessage message = getMessage(topicId, messageId); return getMessageDisplay(message, userId); }
public MBMessageDisplay getMessageDisplay( String topicId, String messageId, String userId) throws PortalException, SystemException { MBMessage message = getMessage(topicId, messageId); return getMessageDisplay(message, userId); }
3,227,177
public MBMessageDisplay getMessageDisplay( String topicId, String messageId, String userId) throws PortalException, SystemException { MBMessage message = getMessage(topicId, messageId); return getMessageDisplay(message, userId); }
public MBMessageDisplay getMessageDisplay( String topicId, String messageId, String userId) throws PortalException, SystemException { MBMessage message = getMessage(topicId, messageId); return getMessageDisplay(message, userId); }
3,227,178
public void subscribeMessage( String userId, String topicId, String messageId) throws PortalException, SystemException { MBMessage message = MBMessageUtil.findByPrimaryKey( new MBMessagePK(topicId, messageId)); SubscriptionLocalServiceUtil.addSubscription( userId, MBThread.class.getName(), message.getThreadId...
public void subscribeMessage( String userId, String topicId, String messageId) throws PortalException, SystemException { MBMessage message = MBMessageUtil.findByPrimaryKey( new MBMessagePK(topicId, messageId)); SubscriptionLocalServiceUtil.addSubscription( userId, MBThread.class.getName(), message.getThreadId...
3,227,179
public void subscribeMessage( String userId, String topicId, String messageId) throws PortalException, SystemException { MBMessage message = MBMessageUtil.findByPrimaryKey( new MBMessagePK(topicId, messageId)); SubscriptionLocalServiceUtil.addSubscription( userId, MBThread.class.getName(), message.getThreadId...
public void subscribeMessage( String userId, String topicId, String messageId) throws PortalException, SystemException { MBMessage message = MBMessageUtil.findByPrimaryKey( new MBMessagePK(topicId, messageId)); SubscriptionLocalServiceUtil.addSubscription( userId, MBThread.class.getName(), message.getThreadId...
3,227,180
public void unsubscribeMessage( String userId, String topicId, String messageId) throws PortalException, SystemException { MBMessage message = MBMessageUtil.findByPrimaryKey( new MBMessagePK(topicId, messageId)); SubscriptionLocalServiceUtil.deleteSubscription( userId, MBThread.class.getName(), message.getThr...
public void unsubscribeMessage( String userId, String topicId, String messageId) throws PortalException, SystemException { MBMessage message = MBMessageUtil.findByPrimaryKey( new MBMessagePK(topicId, messageId)); SubscriptionLocalServiceUtil.deleteSubscription( userId, MBThread.class.getName(), message.getThr...
3,227,181
public void unsubscribeMessage( String userId, String topicId, String messageId) throws PortalException, SystemException { MBMessage message = MBMessageUtil.findByPrimaryKey( new MBMessagePK(topicId, messageId)); SubscriptionLocalServiceUtil.deleteSubscription( userId, MBThread.class.getName(), message.getThr...
public void unsubscribeMessage( String userId, String topicId, String messageId) throws PortalException, SystemException { MBMessage message = MBMessageUtil.findByPrimaryKey( new MBMessagePK(topicId, messageId)); SubscriptionLocalServiceUtil.deleteSubscription( userId, MBThread.class.getName(), message.getThr...
3,227,182
public MBMessage updateDiscussionMessage( String topicId, String messageId, String subject, String body) throws PortalException, SystemException { String categoryId = Company.SYSTEM; List files = new ArrayList(); PortletPreferences prefs = null; return updateMessage( topicId, messageId, categoryId, subject, b...
public MBMessage updateDiscussionMessage( String topicId, String messageId, String subject, String body) throws PortalException, SystemException { String categoryId = Company.SYSTEM; List files = new ArrayList(); PortletPreferences prefs = null; return updateMessage( topicId, messageId, categoryId, subject, b...
3,227,183
public MBMessage updateDiscussionMessage( String topicId, String messageId, String subject, String body) throws PortalException, SystemException { String categoryId = Company.SYSTEM; List files = new ArrayList(); PortletPreferences prefs = null; return updateMessage( topicId, messageId, categoryId, subject, b...
public MBMessage updateDiscussionMessage( String topicId, String messageId, String subject, String body) throws PortalException, SystemException { String categoryId = Company.SYSTEM; List files = new ArrayList(); PortletPreferences prefs = null; return updateMessage( topicId, messageId, categoryId, subject, b...
3,227,184
public MBMessage updateMessage( String topicId, String messageId, String categoryId, String subject, String body, List files, PortletPreferences prefs) throws PortalException, SystemException { // Message MBCategory category = MBCategoryUtil.findByPrimaryKey(categoryId); Date now = new Date(); validate(subjec...
public MBMessage updateMessage( String topicId, String messageId, String categoryId, String subject, String body, List files, PortletPreferences prefs) throws PortalException, SystemException { // Message MBCategory category = MBCategoryUtil.findByPrimaryKey(categoryId); Date now = new Date(); validate(subjec...
3,227,185
public MBMessage updateMessage( String topicId, String messageId, String categoryId, String subject, String body, List files, PortletPreferences prefs) throws PortalException, SystemException { // Message MBCategory category = MBCategoryUtil.findByPrimaryKey(categoryId); Date now = new Date(); validate(subjec...
public MBMessage updateMessage( String topicId, String messageId, String categoryId, String subject, String body, List files, PortletPreferences prefs) throws PortalException, SystemException { // Message MBCategory category = MBCategoryUtil.findByPrimaryKey(categoryId); Date now = new Date(); validate(subjec...
3,227,186
public MBMessage updateMessage( String topicId, String messageId, String categoryId, String subject, String body, List files, PortletPreferences prefs) throws PortalException, SystemException { // Message MBCategory category = MBCategoryUtil.findByPrimaryKey(categoryId); Date now = new Date(); validate(subjec...
public MBMessage updateMessage( String topicId, String messageId, String categoryId, String subject, String body, List files, PortletPreferences prefs) throws PortalException, SystemException { // Message MBCategory category = MBCategoryUtil.findByPrimaryKey(categoryId); Date now = new Date(); validate(subjec...
3,227,187
public void processAction( ActionMapping mapping, ActionForm form, PortletConfig config, ActionRequest req, ActionResponse res) throws Exception { String cmd = ParamUtil.getString(req, Constants.CMD); try { if (cmd.equals(Constants.ADD) || cmd.equals(Constants.UPDATE)) { updateCategory(req); } else if ...
public void processAction( ActionMapping mapping, ActionForm form, PortletConfig config, ActionRequest req, ActionResponse res) throws Exception { String cmd = ParamUtil.getString(req, Constants.CMD); try { if (cmd.equals(Constants.ADD) || cmd.equals(Constants.UPDATE)) { updateCategory(req); } else if ...
3,227,188
public static void addFile( String companyId, String portletId, String groupId, String repositoryId, String fileName) throws IOException { synchronized (IndexWriter.class) { if (_log.isDebugEnabled()) { _log.debug( "Indexing document " + companyId + " " + portletId + " " + groupId + " " + repositor...
public static void addFile( String companyId, String portletId, String groupId, String repositoryId, String fileName) throws IOException { synchronized (IndexWriter.class) { if (_log.isDebugEnabled()) { _log.debug( "Indexing document " + companyId + " " + portletId + " " + groupId + " " + repositor...
3,227,189
public void actionPerformed( ActionEvent evt ) { if ( inspectorFrame == null ) { inspectorFrame = new JFrame( "DOM Tree Inspector" ); } if ( inspector == null ) { // inspectorFrame = new JFrame("DOM Tree Inspector"); // CLEAN: this is...
public void actionPerformed( ActionEvent evt ) { if ( inspectorFrame == null ) { inspectorFrame = new JFrame( "DOM Tree Inspector" ); } if ( inspector == null ) { // inspectorFrame = new JFrame("DOM Tree Inspector"); // CLEAN: this is...
3,227,190
public void actionPerformed( ActionEvent evt ) { if ( inspectorFrame == null ) { inspectorFrame = new JFrame( "DOM Tree Inspector" ); } if ( inspector == null ) { // inspectorFrame = new JFrame("DOM Tree Inspector"); // CLEAN: this is...
public void actionPerformed( ActionEvent evt ) { if ( inspectorFrame == null ) { inspectorFrame = new JFrame( "DOM Tree Inspector" ); } if ( inspector == null ) { // inspectorFrame = new JFrame("DOM Tree Inspector"); // CLEAN: this is...
3,227,191
public void actionPerformed( ActionEvent evt ) { if ( inspectorFrame == null ) { inspectorFrame = new JFrame( "DOM Tree Inspector" ); } if ( inspector == null ) { // inspectorFrame = new JFrame("DOM Tree Inspector"); // CLEAN: this is...
public void actionPerformed( ActionEvent evt ) { if ( inspectorFrame == null ) { inspectorFrame = new JFrame( "DOM Tree Inspector" ); } if ( inspector == null ) { // inspectorFrame = new JFrame("DOM Tree Inspector"); // CLEAN: this is...
3,227,192
public void actionPerformed( ActionEvent evt ) { if ( inspectorFrame == null ) { inspectorFrame = new JFrame( "DOM Tree Inspector" ); } if ( inspector == null ) { // inspectorFrame = new JFrame("DOM Tree Inspector"); // CLEAN: this is...
public void actionPerformed( ActionEvent evt ) { if ( inspectorFrame == null ) { inspectorFrame = new JFrame( "DOM Tree Inspector" ); } if ( inspector == null ) { // inspectorFrame = new JFrame("DOM Tree Inspector"); // CLEAN: this is...
3,227,193
public void resourceChanged(IResourceChangeEvent event) { String[] markerTypes = getMarkerTypes(); if(event.getType() == IResourceChangeEvent.PRE_BUILD){ refreshJob.buildDone = false; return; } if(event.getType() == IResourceChangeEvent.POST_BUILD){ refreshJob.buildDone = true; refreshJob.sch...
public void resourceChanged(IResourceChangeEvent event) { String[] markerTypes = getMarkerTypes(); if(event.getType() == IResourceChangeEvent.PRE_BUILD){ refreshJob.buildDone = false; return; } if(event.getType() == IResourceChangeEvent.POST_BUILD){ refreshJob.buildDone = true; refreshJob.sch...
3,227,195
public void resourceChanged(IResourceChangeEvent event) { String[] markerTypes = getMarkerTypes(); if(event.getType() == IResourceChangeEvent.PRE_BUILD){ refreshJob.buildDone = false; return; } if(event.getType() == IResourceChangeEvent.POST_BUILD){ refreshJob.buildDone = true; refreshJob.sch...
public void resourceChanged(IResourceChangeEvent event) { String[] markerTypes = getMarkerTypes(); if(event.getType() == IResourceChangeEvent.PRE_BUILD){ refreshJob.buildDone = false; return; } if(event.getType() == IResourceChangeEvent.POST_BUILD){ refreshJob.buildDone = true; refreshJob.sch...
3,227,196
public void resourceChanged(IResourceChangeEvent event) { String[] markerTypes = getMarkerTypes(); if(event.getType() == IResourceChangeEvent.PRE_BUILD){ refreshJob.buildDone = false; return; } if(event.getType() == IResourceChangeEvent.POST_BUILD){ refreshJob.buildDone = true; refreshJob.sch...
public void resourceChanged(IResourceChangeEvent event) { String[] markerTypes = getMarkerTypes(); if(event.getType() == IResourceChangeEvent.PRE_BUILD){ refreshJob.buildDone = false; return; } if(event.getType() == IResourceChangeEvent.POST_BUILD){ refreshJob.buildDone = true; refreshJob.sch...
3,227,197
public void resourceChanged(IResourceChangeEvent event) { String[] markerTypes = getMarkerTypes(); if(event.getType() == IResourceChangeEvent.PRE_BUILD){ refreshJob.buildDone = false; return; } if(event.getType() == IResourceChangeEvent.POST_BUILD){ refreshJob.buildDone = true; refreshJob.sch...
public void resourceChanged(IResourceChangeEvent event) { String[] markerTypes = getMarkerTypes(); if(event.getType() == IResourceChangeEvent.PRE_BUILD){ refreshJob.buildDone = false; return; } if(event.getType() == IResourceChangeEvent.POST_BUILD){ refreshJob.buildDone = true; refreshJob.sch...
3,227,198
public void resourceChanged(IResourceChangeEvent event) { String[] markerTypes = getMarkerTypes(); if(event.getType() == IResourceChangeEvent.PRE_BUILD){ refreshJob.buildDone = false; return; } if(event.getType() == IResourceChangeEvent.POST_BUILD){ refreshJob.buildDone = true; refreshJob.sch...
public void resourceChanged(IResourceChangeEvent event) { String[] markerTypes = getMarkerTypes(); if(event.getType() == IResourceChangeEvent.PRE_BUILD){ refreshJob.buildDone = false; return; } if(event.getType() == IResourceChangeEvent.POST_BUILD){ refreshJob.buildDone = true; refreshJob.sch...
3,227,199
public void resourceChanged(IResourceChangeEvent event) { String[] markerTypes = getMarkerTypes(); if(event.getType() == IResourceChangeEvent.PRE_BUILD){ refreshJob.buildDone = false; return; } if(event.getType() == IResourceChangeEvent.POST_BUILD){ refreshJob.buildDone = true; refreshJob.sch...
public void resourceChanged(IResourceChangeEvent event) { String[] markerTypes = getMarkerTypes(); if(event.getType() == IResourceChangeEvent.PRE_BUILD){ refreshJob.buildDone = false; return; } if(event.getType() == IResourceChangeEvent.POST_BUILD){ refreshJob.buildDone = true; refreshJob.sch...
3,227,200
public void addUpdateFinishListener(IJobChangeListener listener) { uiRefreshJob.addJobChangeListener(listener); }
public void addUpdateFinishListener(IJobChangeListener listener) { uiRefreshJob.addJobChangeListener(listener); }
3,227,202
private void createDefaultFilter() { MarkerFilter filter = createFilter(MarkerMessages.MarkerFilter_defaultFilterName); filter.resetState(); setFilters(new MarkerFilter[] { filter }); }
private void createDefaultFilter() { MarkerFilter filter = createFilter(MarkerMessages.MarkerFilter_defaultFilterName); filter.resetState(); setFilters(new MarkerFilter[] { filter }); }
3,227,203
public void createPartControl(Composite parent) { clipboard = new Clipboard(parent.getDisplay()); super.createPartControl(parent); initDragAndDrop(); getSite().getPage().addSelectionListener(focusListener); focusSelectionChanged(getSite().getPage().getActivePart(), getSite() .getPage().getSelection()); Resour...
public void createPartControl(Composite parent) { clipboard = new Clipboard(parent.getDisplay()); super.createPartControl(parent); initDragAndDrop(); getSite().getPage().addSelectionListener(focusListener); focusSelectionChanged(getSite().getPage().getActivePart(), getSite() .getPage().getSelection()); Resour...
3,227,204
void createShowInMenu(IMenuManager menu) { ISelection selection = getViewer().getSelection(); if (!(selection instanceof IStructuredSelection)) return; IStructuredSelection structured = (IStructuredSelection) selection; if(!Util.isSingleConcreteSelection(structured)) return; menu.add(new Separator(MENU_SHOW_I...
void createShowInMenu(IMenuManager menu) { ISelection selection = getViewer().getSelection(); if (!(selection instanceof IStructuredSelection)) return; IStructuredSelection structured = (IStructuredSelection) selection; if(!Util.isSingleConcreteSelection(structured)) return; menu.add(new Separator(MENU_SHOW_I...
3,227,206
void createShowInMenu(IMenuManager menu) { ISelection selection = getViewer().getSelection(); if (!(selection instanceof IStructuredSelection)) return; IStructuredSelection structured = (IStructuredSelection) selection; if(!Util.isSingleConcreteSelection(structured)) return; menu.add(new Separator(MENU_SHOW_I...
voidcreateShowInMenu(IMenuManagermenu){ ISelectionselection=getViewer().getSelection(); if(!(selectioninstanceofIStructuredSelection)) return; IStructuredSelectionstructured=(IStructuredSelection)selection; if(!Util.isSingleConcreteSelection(structured)) return; menu.add(newSeparator(MENU_SHOW_IN_GROUP)); //...
3,227,207
protected void handleOpenEvent(OpenEvent event) { if(openAction.isEnabled()) openAction.run(); }
protected void handleOpenEvent(OpenEvent event) { if(openAction.isEnabled()) openAction.run(); }
3,227,208
public void removeUpdateFinishListener(IJobChangeListener listener) { uiRefreshJob.removeJobChangeListener(listener); }
public void removeUpdateFinishListener(IJobChangeListener listener) { uiRefreshJob.removeJobChangeListener(listener); }
3,227,209
protected IStructuredSelection restoreSelection(IMemento memento) { if (memento == null) { return new StructuredSelection(); } IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot(); IMemento selectionMemento = memento.getChild(TAG_SELECTION); if (selectionMemento == null) { return new StructuredSelec...
protected IStructuredSelection restoreSelection(IMemento memento) { if (memento == null) { return new StructuredSelection(); } IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot(); IMemento selectionMemento = memento.getChild(TAG_SELECTION); if (selectionMemento == null) { return new StructuredSelec...
3,227,210
protected IStructuredSelection restoreSelection(IMemento memento) { if (memento == null) { return new StructuredSelection(); } IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot(); IMemento selectionMemento = memento.getChild(TAG_SELECTION); if (selectionMemento == null) { return new StructuredSelec...
protected IStructuredSelection restoreSelection(IMemento memento) { if (memento == null) { return new StructuredSelection(); } IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot(); IMemento selectionMemento = memento.getChild(TAG_SELECTION); if (selectionMemento == null) { return new StructuredSelec...
3,227,211
void updateFocusMarkers(Object[] elements) { boolean updateNeeded = updateNeeded(focusElements, elements); if (updateNeeded) { focusElements = elements; updateFilterSelection(elements); ((MarkerAdapter) getViewerInput()).markAllStale(); getViewer().refresh(); } }
void updateFocusMarkers(Object[] elements) { boolean updateNeeded = updateNeeded(focusElements, elements); if (updateNeeded) { focusElements = elements; updateFilterSelection(elements); ((MarkerAdapter) getViewerInput()).markAllStale(); getViewer().refresh(); } }
3,227,212
public com.liferay.portal.model.Contact update( com.liferay.portal.model.Contact contact) throws SystemException { Session session = null; try { if (contact.isNew() || contact.isModified()) { session = openSession(); if (contact.isNew()) { Contact contactModel = new Contact(); contactModel.setContac...
public com.liferay.portal.model.Contact update( com.liferay.portal.model.Contact contact) throws SystemException { Session session = null; try { if (contact.isNew() || contact.isModified()) { session = openSession(); if (contact.isNew()) { Contact contactModel = new Contact(); contactModel.setContac...
3,227,213
protected LayoutContext newLayoutContext(PageInfo pageInfo, Graphics2D g) { XRLog.layout(Level.FINEST, "new context begin"); getSharedContext().setCanvas(this); Rectangle extents; if (pageInfo != null) { extents = new Rectangle(0, 0, (int) pageInfo.getConten...
protected LayoutContext newLayoutContext(PageInfo pageInfo, Graphics2D g) { XRLog.layout(Level.FINEST, "new context begin"); getSharedContext().setCanvas(this); Rectangle extents; if (pageInfo != null) { extents = new Rectangle(0, 0, (int) pageInfo.getConten...
3,227,214
protected RenderingContext newRenderingContext(PageInfo pageInfo, Graphics2D g) { XRLog.layout(Level.FINEST, "new context begin"); getSharedContext().setCanvas(this); Rectangle extents; if (pageInfo != null) { extents = new Rectangle(0, 0, (int) pageInfo.get...
protected RenderingContext newRenderingContext(PageInfo pageInfo, Graphics2D g) { XRLog.layout(Level.FINEST, "new context begin"); getSharedContext().setCanvas(this); Rectangle extents; if (pageInfo != null) { extents = new Rectangle(0, 0, (int) pageInfo.get...
3,227,215
public void doFilter( ServletRequest req, ServletResponse res, FilterChain chain) throws IOException, ServletException { if (USE_LAYOUT_CACHE_FILTER) { _log.debug("Layout Cache is enabled"); } else { _log.debug("Layout Cache is disabled"); } HttpServletRequest request = (HttpServletRequest)req; HttpServle...
public void doFilter( ServletRequest req, ServletResponse res, FilterChain chain) throws IOException, ServletException { if (USE_LAYOUT_CACHE_FILTER) { _log.debug("Layout Cache is enabled"); } else { _log.debug("Layout Cache is disabled"); } HttpServletRequest request = (HttpServletRequest)req; HttpServle...
3,227,216
public void doFilter( ServletRequest req, ServletResponse res, FilterChain chain) throws IOException, ServletException { if (USE_LAYOUT_CACHE_FILTER) { _log.debug("Layout Cache is enabled"); } else { _log.debug("Layout Cache is disabled"); } HttpServletRequest request = (HttpServletRequest)req; HttpServle...
public void doFilter( ServletRequest req, ServletResponse res, FilterChain chain) throws IOException, ServletException { if (USE_LAYOUT_CACHE_FILTER) { _log.debug("Layout Cache is enabled"); } else { _log.debug("Layout Cache is disabled"); } HttpServletRequest request = (HttpServletRequest)req; HttpServle...
3,227,217
public com.liferay.portlet.shopping.model.ShoppingCoupon update( com.liferay.portlet.shopping.model.ShoppingCoupon shoppingCoupon) throws SystemException { Session session = null; try { if (shoppingCoupon.isNew() || shoppingCoupon.isModified()) { session = openSession(); if (shoppingCoupon.isNew()) { S...
public com.liferay.portlet.shopping.model.ShoppingCoupon update( com.liferay.portlet.shopping.model.ShoppingCoupon shoppingCoupon) throws SystemException { Session session = null; try { if (shoppingCoupon.isNew() || shoppingCoupon.isModified()) { session = openSession(); if (shoppingCoupon.isNew()) { S...
3,227,218
public DerivedValue(CSSName cssName, CSSPrimitiveValue primitive, CalculatedStyle style) { _cssName = cssName; _domCSSPrimitiveValue = primitive; String org = _domCSSPrimitiveValue.getCssText(); primitive.setCssText(Idents.convertIdent(cssName, org)); if (primitive.getCssText() ==...
public DerivedValue(CSSName cssName, CSSPrimitiveValue primitive, CalculatedStyle style) { _cssName = cssName; _domCSSPrimitiveValue = primitive; String org = _domCSSPrimitiveValue.getCssText(); if (primitive.getCssText() == null) { primitive.setCssText(org); } String converted = Idents...
3,227,219
public static IRubyObject raise(IRubyObject recv, IRubyObject args[]) { Ruby runtime = recv.getRuntime(); switch (args.length) { case 0 : IRubyObject defaultException = runtime.getGlobalVariables().get("$!"); if (defaultException.isNil()) { throw new RaiseEx...
public static IRubyObject raise(IRubyObject recv, IRubyObject args[]) { Ruby runtime = recv.getRuntime(); switch (args.length) { case 0 : IRubyObject defaultException = runtime.getGlobalVariables().get("$!"); if (defaultException.isNil()) { throw new RaiseEx...
3,227,220
public void handleMapChange(IObservableMap source, MapDiff diff) { Set affectedElements = diff.getChangedKeys(); LabelProviderChangedEvent event = new LabelProviderChangedEvent( ObservableMapLabelProvider.this, affectedElements .toArray()); fireLabelProviderChanged(event); }
public void handleMapChange(IObservableMap source, MapDiff diff) { Set affectedElements = diff.getChangedKeys(); LabelProviderChangedEvent event = new LabelProviderChangedEvent( ObservableMapLabelProvider.this, affectedElements .toArray()); fireLabelProviderChanged(event); }
3,227,221
public void handleMapChange(IObservableMap source, MapDiff diff) { Set affectedElements = diff.getChangedKeys(); LabelProviderChangedEvent event = new LabelProviderChangedEvent( ObservableMapLabelProvider.this, affectedElements .toArray()); fireLabelProviderChanged(event); }
public void handleMapChange(IObservableMap source, MapDiff diff) { Set affectedElements = diff.getChangedKeys(); LabelProviderChangedEvent event = new LabelProviderChangedEvent( ObservableMapLabelProvider.this, affectedElements .toArray()); fireLabelProviderChanged(event); }
3,227,222
public void setDocument(String filename) throws Exception { setDocument(x.loadDocument(filename),new File(filename).toURL()); }
public void setDocument(String filename) throws Exception { URL url = new File(filename).toURL(); setDocument(loadDocument(url),url); }
3,227,224
private void createDescriptionArea(Composite mainComposite) { Composite textComposite = new Composite(mainComposite, SWT.NONE); textComposite.setLayoutData(new GridData(GridData.FILL_BOTH)); GridLayout textLayout = new GridLayout(); textLayout.marginWidth = 0; textLayout.marginHeight = 0; textComposite.setLayout...
private void createDescriptionArea(Composite mainComposite) { Composite textComposite = new Composite(mainComposite, SWT.NONE); textComposite.setLayoutData(new GridData(GridData.FILL_BOTH)); GridLayout textLayout = new GridLayout(); textLayout.marginWidth = 0; textLayout.marginHeight = 0; textComposite.setLayout...
3,227,226
protected Rectangle getContentAreaEdge(int left, int top, CssContext cssCtx) { return new Rectangle(-viewport.x, -viewport.y, viewport.width, viewport.height); }
public Rectangle getContentAreaEdge(int left, int top, CssContext cssCtx) { return new Rectangle(-viewport.x, -viewport.y, viewport.width, viewport.height); }
3,227,227
public void dispose() { //no-op }
publicviewer = null; voidviewer = null; dispose()viewer = null; { viewer = null; viewer = null; viewer = null; viewer = null; //no-op }
3,227,229
private void handleChild(Object element, ArrayList list) { if (element instanceof WizardCollectionElement) { if (hasChildren(element)) list.add(element); } else { if (getFiltering() && WorkbenchActivityHelper.filterItem(element)) { return; } list.add(element); } }
private void handleChild(Object element, ArrayList list) { if (element instanceof WizardCollectionElement) { if (hasChildren(element)) list.add(element); } else { if (getFiltering() && WorkbenchActivityHelper.filterItem(element)) { return; } list.add(element); } }
3,227,230
private void handleChild(Object element, ArrayList list) { if (element instanceof WizardCollectionElement) { if (hasChildren(element)) list.add(element); } else { if (getFiltering() && WorkbenchActivityHelper.filterItem(element)) { return; } list.add(element); } }
private void handleChild(Object element, ArrayList list) { if (element instanceof WizardCollectionElement) { if (hasChildren(element)) list.add(element); } else { if (getFiltering() && WorkbenchActivityHelper.filterItem(element)) { return; } list.add(element); } }
3,227,231