bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public static void shutdownProgressManager() { if (singleton == null) { return; } singleton.shutdown(); }
public static void shutdownProgressManager() { if (singleton == null) { return; } singleton.shutdown(); }
3,227,016
public static void shutdownProgressManager() { if (singleton == null) { return; } singleton.shutdown(); }
public static void shutdownProgressManager() { if (singleton == null) { return; } singleton.shutdown(); }
3,227,017
public void setCompanyId(String companyId) { if (((companyId == null) && (_companyId != null)) || ((companyId != null) && (_companyId == null)) || ((companyId != null) && (_companyId != null) && !companyId.equals(_companyId))) { if (!XSS_ALLOW_COMPANYID) { companyId = XSSUtil.strip(companyId); } _co...
public void setCompanyId(String companyId) { if (((companyId == null) && (_companyId != null)) || ((companyId != null) && (_companyId == null)) || ((companyId != null) && (_companyId != null) && !companyId.equals(_companyId))) { if (!XSS_ALLOW_COMPANYID) { companyId = XSSUtil.strip(companyId); } _co...
3,227,018
public void setModifiedDate(Date modifiedDate) { if (((modifiedDate == null) && (_modifiedDate != null)) || ((modifiedDate != null) && (_modifiedDate == null)) || ((modifiedDate != null) && (_modifiedDate != null) && !modifiedDate.equals(_modifiedDate))) { _modifiedDate = modifiedDate; setModified(true);...
public void setModifiedDate(Date modifiedDate) { if (((modifiedDate == null) && (_modifiedDate != null)) || ((modifiedDate != null) && (_modifiedDate == null)) || ((modifiedDate != null) && (_modifiedDate != null) && !modifiedDate.equals(_modifiedDate))) { _modifiedDate = modifiedDate; setModified(true);...
3,227,019
public void setRemoteAddr(String remoteAddr) { if (((remoteAddr == null) && (_remoteAddr != null)) || ((remoteAddr != null) && (_remoteAddr == null)) || ((remoteAddr != null) && (_remoteAddr != null) && !remoteAddr.equals(_remoteAddr))) { if (!XSS_ALLOW_REMOTEADDR) { remoteAddr = XSSUtil.strip(remoteAdd...
public void setRemoteAddr(String remoteAddr) { if (((remoteAddr == null) && (_remoteAddr != null)) || ((remoteAddr != null) && (_remoteAddr == null)) || ((remoteAddr != null) && (_remoteAddr != null) && !remoteAddr.equals(_remoteAddr))) { if (!XSS_ALLOW_REMOTEADDR) { remoteAddr = XSSUtil.strip(remoteAdd...
3,227,020
public void setRemoteHost(String remoteHost) { if (((remoteHost == null) && (_remoteHost != null)) || ((remoteHost != null) && (_remoteHost == null)) || ((remoteHost != null) && (_remoteHost != null) && !remoteHost.equals(_remoteHost))) { if (!XSS_ALLOW_REMOTEHOST) { remoteHost = XSSUtil.strip(remoteHos...
public void setRemoteHost(String remoteHost) { if (((remoteHost == null) && (_remoteHost != null)) || ((remoteHost != null) && (_remoteHost == null)) || ((remoteHost != null) && (_remoteHost != null) && !remoteHost.equals(_remoteHost))) { if (!XSS_ALLOW_REMOTEHOST) { remoteHost = XSSUtil.strip(remoteHos...
3,227,021
public void setUserAgent(String userAgent) { if (((userAgent == null) && (_userAgent != null)) || ((userAgent != null) && (_userAgent == null)) || ((userAgent != null) && (_userAgent != null) && !userAgent.equals(_userAgent))) { if (!XSS_ALLOW_USERAGENT) { userAgent = XSSUtil.strip(userAgent); } _us...
public void setUserAgent(String userAgent) { if (((userAgent == null) && (_userAgent != null)) || ((userAgent != null) && (_userAgent == null)) || ((userAgent != null) && (_userAgent != null) && !userAgent.equals(_userAgent))) { if (!XSS_ALLOW_USERAGENT) { userAgent = XSSUtil.strip(userAgent); } _us...
3,227,022
public void setUserId(String userId) { if (((userId == null) && (_userId != null)) || ((userId != null) && (_userId == null)) || ((userId != null) && (_userId != null) && !userId.equals(_userId))) { if (!XSS_ALLOW_USERID) { userId = XSSUtil.strip(userId); } _userId = userId; setModified(true); } ...
public void setUserId(String userId) { if (((userId == null) && (_userId != null)) || ((userId != null) && (_userId == null)) || ((userId != null) && (_userId != null) && !userId.equals(_userId))) { if (!XSS_ALLOW_USERID) { userId = XSSUtil.strip(userId); } _userId = userId; setModified(true); } ...
3,227,023
public void setUserTrackerId(String userTrackerId) { if (((userTrackerId == null) && (_userTrackerId != null)) || ((userTrackerId != null) && (_userTrackerId == null)) || ((userTrackerId != null) && (_userTrackerId != null) && !userTrackerId.equals(_userTrackerId))) { if (!XSS_ALLOW_USERTRACKERID) { use...
public void setUserTrackerId(String userTrackerId) { if (((userTrackerId == null) && (_userTrackerId != null)) || ((userTrackerId != null) && (_userTrackerId == null)) || ((userTrackerId != null) && (_userTrackerId != null) && !userTrackerId.equals(_userTrackerId))) { if (!XSS_ALLOW_USERTRACKERID) { use...
3,227,024
public synchronized void addChangeListener(IChangeListener listener) { if (changeListeners == null) { boolean hadListeners = hasListeners(); changeListeners = listener; if (!hadListeners) { firstListenerAdded(); } return; } Collection listenerList; if (changeListeners instanceof IChangeListener) { I...
public synchronized void addChangeListener(IChangeListener listener) { if (changeListeners == null) { boolean hadListeners = hasListeners(); changeListeners = listener; if (!hadListeners) { firstListenerAdded(); } return; } Collection listenerList; if (changeListeners instanceof IChangeListener) { I...
3,227,025
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,026
public synchronized void addStaleListener(IStaleListener listener) { if (staleListeners == null) { boolean hadListeners = hasListeners(); staleListeners = listener; if (!hadListeners) { firstListenerAdded(); } return; } Collection listenerList; if (staleListeners instanceof IStaleListener) { IStaleL...
public synchronized void addStaleListener(IStaleListener listener) { if (staleListeners == null) { boolean hadListeners = hasListeners(); staleListeners = listener; if (!hadListeners) { firstListenerAdded(); } return; } Collection listenerList; if (staleListeners instanceof IStaleListener) { IStaleL...
3,227,027
public synchronized void dispose() { listChangeListeners = null; changeListeners = null; staleListeners = null; lastListenerRemoved(); }
public synchronized void dispose() { listChangeListeners = null; changeListeners = null; staleListeners = null; lastListenerRemoved(); }
3,227,028
protected void fireChange() { checkRealm(); if (changeListeners == null) { return; } if (changeListeners instanceof IChangeListener) { ((IChangeListener) changeListeners).handleChange(this); return; } Collection changeListenerCollection = (Collection) changeListeners; IChangeListener[] listeners = (IChang...
protected void fireChange() { checkRealm(); if (changeListeners == null) { return; } if (changeListeners instanceof IChangeListener) { ((IChangeListener) changeListeners).handleChange(this); return; } Collection changeListenerCollection = (Collection) changeListeners; IChangeListener[] listeners = (IChang...
3,227,029
protected void fireListChange(ListDiff diff) { // fire general change event first fireChange(); if (listChangeListeners == null) { return; } if (listChangeListeners instanceof IListChangeListener) { ((IListChangeListener) listChangeListeners).handleListChange(this, diff); return; } Collection changeLi...
protected void fireListChange(ListDiff diff) { // fire general change event first fireChange(); if (listChangeListeners == null) { return; } if (listChangeListeners instanceof IListChangeListener) { ((IListChangeListener) listChangeListeners).handleListChange(this, diff); return; } Collection changeLi...
3,227,030
protected void fireStale() { checkRealm(); if (staleListeners == null) { return; } if (staleListeners instanceof IChangeListener) { ((IChangeListener) staleListeners).handleChange(this); return; } Collection changeListenerCollection = (Collection) staleListeners; IChangeListener[] listeners = (IChangeList...
protected void fireStale() { checkRealm(); if (staleListeners == null) { return; } if (staleListeners instanceof IChangeListener) { ((IChangeListener) staleListeners).handleChange(this); return; } Collection changeListenerCollection = (Collection) staleListeners; IChangeListener[] listeners = (IChangeList...
3,227,031
public synchronized void removeChangeListener(IChangeListener listener) { if (changeListeners == listener) { changeListeners = null; if (!hasListeners()) { lastListenerRemoved(); } return; } if (changeListeners instanceof Collection) { Collection listenerList = (Collection) changeListeners; listenerL...
public synchronized void removeChangeListener(IChangeListener listener) { if (changeListeners == listener) { changeListeners = null; if (!hasListeners()) { lastListenerRemoved(); } return; } if (changeListeners instanceof Collection) { Collection listenerList = (Collection) changeListeners; listenerL...
3,227,032
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,033
public synchronized void removeStaleListener(IStaleListener listener) { if (staleListeners == listener) { staleListeners = null; if (!hasListeners()) { lastListenerRemoved(); } return; } if (staleListeners instanceof Collection) { Collection listenerList = (Collection) staleListeners; listenerList.re...
public synchronized void removeStaleListener(IStaleListener listener) { if (staleListeners == listener) { staleListeners = null; if (!hasListeners()) { lastListenerRemoved(); } return; } if (staleListeners instanceof Collection) { Collection listenerList = (Collection) staleListeners; listenerList.re...
3,227,034
public com.liferay.portal.model.PasswordTracker update( com.liferay.portal.model.PasswordTracker passwordTracker) throws SystemException { Session session = null; try { if (passwordTracker.isNew() || passwordTracker.isModified()) { session = openSession(); if (passwordTracker.isNew()) { PasswordTracker...
public com.liferay.portal.model.PasswordTracker update( com.liferay.portal.model.PasswordTracker passwordTracker) throws SystemException { Session session = null; try { if (passwordTracker.isNew() || passwordTracker.isModified()) { session = openSession(); if (passwordTracker.isNew()) { PasswordTracker...
3,227,035
public IRubyObject decode(Ruby runtime, PtrList enc) { return RubyFixnum.newFixnum(runtime, decodeShortUnsignedLittleEndian(enc)); }
public IRubyObject decode(Ruby runtime, PtrList enc) { return runtime.newFixnum( decodeShortUnsignedLittleEndian(enc)); }
3,227,036
public IRubyObject decode(Ruby runtime, PtrList enc) { return RubyFixnum.newFixnum(runtime, decodeIntUnsignedLittleEndian(enc)); }
public IRubyObject decode(Ruby runtime, PtrList enc) { return runtime.newFixnum( decodeIntUnsignedLittleEndian(enc)); }
3,227,037
public IRubyObject decode(Ruby runtime, PtrList enc) { return RubyFixnum.newFixnum(runtime, decodeIntUnsignedBigEndian(enc)); }
public IRubyObject decode(Ruby runtime, PtrList enc) { return runtime.newFixnum( decodeIntUnsignedBigEndian(enc)); }
3,227,038
public IRubyObject decode(Ruby runtime, PtrList enc) { return RubyFixnum.newFixnum(runtime, decodeIntBigEndian(enc)); }
public IRubyObject decode(Ruby runtime, PtrList enc) { return runtime.newFixnum(decodeIntBigEndian(enc)); }
3,227,039
public IRubyObject decode(Ruby runtime, PtrList enc) { return RubyFixnum.newFixnum(runtime, decodeShortBigEndian(enc)); }
public IRubyObject decode(Ruby runtime, PtrList enc) { return runtime.newFixnum(decodeShortBigEndian(enc)); }
3,227,040
public IRubyObject decode(Ruby runtime, PtrList enc) { return RubyFixnum.newFixnum(runtime, decodeShortUnsignedBigEndian(enc)); }
public IRubyObject decode(Ruby runtime, PtrList enc) { return runtime.newFixnum( decodeShortUnsignedBigEndian(enc)); }
3,227,041
public IRubyObject decode(Ruby runtime, PtrList enc) { int c = enc.nextChar(); return RubyFixnum.newFixnum(runtime, c > (char) 127 ? c-256 : c); }
public IRubyObject decode(Ruby runtime, PtrList enc) { int c = enc.nextChar(); return runtime.newFixnum(c > (char) 127 ? c-256 : c); }
3,227,042
public IRubyObject decode(Ruby runtime, PtrList enc) { return RubyFixnum.newFixnum(runtime, enc.nextChar()); }
public IRubyObject decode(Ruby runtime, PtrList enc) { return runtime.newFixnum(enc.nextChar()); }
3,227,043
public static int encode(Ruby runtime, int occurrences, StringBuffer result, List list, int index, Converter converter) { int listSize = list.size(); while (occurrences-- > 0) { if (listSize-- <= 0) { throw new ArgumentError(runtime, sTooFew); } ...
public static int encode(Ruby runtime, int occurrences, StringBuffer result, List list, int index, Converter converter) { int listSize = list.size(); while (occurrences-- > 0) { if (listSize-- <= 0) { throw runtime.newArgumentError(sTooFew); } ...
3,227,044
private static StringBuffer encodes(Ruby runtime, StringBuffer io2Append, String i2Encode, int iLength, char iType) { iLength = iLength < i2Encode.length() ? iLength : i2Encode.length(); io2Append.ensureCapacity(iLength * 4 / 3 + 6); int i = 0; char[] lTranslationTable = iType == 'u' ? u...
private static StringBuffer encodes(Ruby runtime, StringBuffer io2Append, String i2Encode, int iLength, char iType) { iLength = iLength < i2Encode.length() ? iLength : i2Encode.length(); io2Append.ensureCapacity(iLength * 4 / 3 + 6); int i = 0; char[] lTranslationTable = iType == 'u' ? u...
3,227,045
public static RubyString pack(List list, RubyString formatString) { Ruby runtime = formatString.getRuntime(); PtrList format = new PtrList(runtime, formatString.getValue()); StringBuffer result = new StringBuffer(); int listSize = list.size(); char type = format.nextChar(); ...
public static RubyString pack(List list, RubyString formatString) { Ruby runtime = formatString.getRuntime(); PtrList format = new PtrList(runtime, formatString.getValue()); StringBuffer result = new StringBuffer(); int listSize = list.size(); char type = format.nextChar(); ...
3,227,046
public static RubyString pack(List list, RubyString formatString) { Ruby runtime = formatString.getRuntime(); PtrList format = new PtrList(runtime, formatString.getValue()); StringBuffer result = new StringBuffer(); int listSize = list.size(); char type = format.nextChar(); ...
public static RubyString pack(List list, RubyString formatString) { Ruby runtime = formatString.getRuntime(); PtrList format = new PtrList(runtime, formatString.getValue()); StringBuffer result = new StringBuffer(); int listSize = list.size(); char type = format.nextChar(); ...
3,227,047
public static RubyString pack(List list, RubyString formatString) { Ruby runtime = formatString.getRuntime(); PtrList format = new PtrList(runtime, formatString.getValue()); StringBuffer result = new StringBuffer(); int listSize = list.size(); char type = format.nextChar(); ...
public static RubyString pack(List list, RubyString formatString) { Ruby runtime = formatString.getRuntime(); PtrList format = new PtrList(runtime, formatString.getValue()); StringBuffer result = new StringBuffer(); int listSize = list.size(); char type = format.nextChar(); ...
3,227,048
public static RubyString pack(List list, RubyString formatString) { Ruby runtime = formatString.getRuntime(); PtrList format = new PtrList(runtime, formatString.getValue()); StringBuffer result = new StringBuffer(); int listSize = list.size(); char type = format.nextChar(); ...
public static RubyString pack(List list, RubyString formatString) { Ruby runtime = formatString.getRuntime(); PtrList format = new PtrList(runtime, formatString.getValue()); StringBuffer result = new StringBuffer(); int listSize = list.size(); char type = format.nextChar(); ...
3,227,049
public static RubyString pack(List list, RubyString formatString) { Ruby runtime = formatString.getRuntime(); PtrList format = new PtrList(runtime, formatString.getValue()); StringBuffer result = new StringBuffer(); int listSize = list.size(); char type = format.nextChar(); ...
public static RubyString pack(List list, RubyString formatString) { Ruby runtime = formatString.getRuntime(); PtrList format = new PtrList(runtime, formatString.getValue()); StringBuffer result = new StringBuffer(); int listSize = list.size(); char type = format.nextChar(); ...
3,227,050
public static RubyString pack(List list, RubyString formatString) { Ruby runtime = formatString.getRuntime(); PtrList format = new PtrList(runtime, formatString.getValue()); StringBuffer result = new StringBuffer(); int listSize = list.size(); char type = format.nextChar(); ...
public static RubyString pack(List list, RubyString formatString) { Ruby runtime = formatString.getRuntime(); PtrList format = new PtrList(runtime, formatString.getValue()); StringBuffer result = new StringBuffer(); int listSize = list.size(); char type = format.nextChar(); ...
3,227,051
public static RubyString pack(List list, RubyString formatString) { Ruby runtime = formatString.getRuntime(); PtrList format = new PtrList(runtime, formatString.getValue()); StringBuffer result = new StringBuffer(); int listSize = list.size(); char type = format.nextChar(); ...
public static RubyString pack(List list, RubyString formatString) { Ruby runtime = formatString.getRuntime(); PtrList format = new PtrList(runtime, formatString.getValue()); StringBuffer result = new StringBuffer(); int listSize = list.size(); char type = format.nextChar(); ...
3,227,052
public static RubyString pack(List list, RubyString formatString) { Ruby runtime = formatString.getRuntime(); PtrList format = new PtrList(runtime, formatString.getValue()); StringBuffer result = new StringBuffer(); int listSize = list.size(); char type = format.nextChar(); ...
public static RubyString pack(List list, RubyString formatString) { Ruby runtime = formatString.getRuntime(); PtrList format = new PtrList(runtime, formatString.getValue()); StringBuffer result = new StringBuffer(); int listSize = list.size(); char type = format.nextChar(); ...
3,227,053
public static RubyArray unpack(String encodedString, RubyString formatString) { Ruby runtime = formatString.getRuntime(); RubyArray result = RubyArray.newArray(runtime); PtrList format = new PtrList(runtime, formatString.getValue()); PtrList encode = new PtrList(runtime, enco...
public static RubyArray unpack(String encodedString, RubyString formatString) { Ruby runtime = formatString.getRuntime(); RubyArray result = runtime.newArray(); PtrList format = new PtrList(runtime, formatString.getValue()); PtrList encode = new PtrList(runtime, encodedString...
3,227,054
public static RubyArray unpack(String encodedString, RubyString formatString) { Ruby runtime = formatString.getRuntime(); RubyArray result = RubyArray.newArray(runtime); PtrList format = new PtrList(runtime, formatString.getValue()); PtrList encode = new PtrList(runtime, enco...
public static RubyArray unpack(String encodedString, RubyString formatString) { Ruby runtime = formatString.getRuntime(); RubyArray result = RubyArray.newArray(runtime); PtrList format = new PtrList(runtime, formatString.getValue()); PtrList encode = new PtrList(runtime, enco...
3,227,055
public static RubyArray unpack(String encodedString, RubyString formatString) { Ruby runtime = formatString.getRuntime(); RubyArray result = RubyArray.newArray(runtime); PtrList format = new PtrList(runtime, formatString.getValue()); PtrList encode = new PtrList(runtime, enco...
public static RubyArray unpack(String encodedString, RubyString formatString) { Ruby runtime = formatString.getRuntime(); RubyArray result = RubyArray.newArray(runtime); PtrList format = new PtrList(runtime, formatString.getValue()); PtrList encode = new PtrList(runtime, enco...
3,227,056
public static RubyArray unpack(String encodedString, RubyString formatString) { Ruby runtime = formatString.getRuntime(); RubyArray result = RubyArray.newArray(runtime); PtrList format = new PtrList(runtime, formatString.getValue()); PtrList encode = new PtrList(runtime, enco...
public static RubyArray unpack(String encodedString, RubyString formatString) { Ruby runtime = formatString.getRuntime(); RubyArray result = RubyArray.newArray(runtime); PtrList format = new PtrList(runtime, formatString.getValue()); PtrList encode = new PtrList(runtime, enco...
3,227,057
public static RubyArray unpack(String encodedString, RubyString formatString) { Ruby runtime = formatString.getRuntime(); RubyArray result = RubyArray.newArray(runtime); PtrList format = new PtrList(runtime, formatString.getValue()); PtrList encode = new PtrList(runtime, enco...
public static RubyArray unpack(String encodedString, RubyString formatString) { Ruby runtime = formatString.getRuntime(); RubyArray result = RubyArray.newArray(runtime); PtrList format = new PtrList(runtime, formatString.getValue()); PtrList encode = new PtrList(runtime, enco...
3,227,058
public static RubyArray unpack(String encodedString, RubyString formatString) { Ruby runtime = formatString.getRuntime(); RubyArray result = RubyArray.newArray(runtime); PtrList format = new PtrList(runtime, formatString.getValue()); PtrList encode = new PtrList(runtime, enco...
public static RubyArray unpack(String encodedString, RubyString formatString) { Ruby runtime = formatString.getRuntime(); RubyArray result = RubyArray.newArray(runtime); PtrList format = new PtrList(runtime, formatString.getValue()); PtrList encode = new PtrList(runtime, enco...
3,227,059
public static RubyArray unpack(String encodedString, RubyString formatString) { Ruby runtime = formatString.getRuntime(); RubyArray result = RubyArray.newArray(runtime); PtrList format = new PtrList(runtime, formatString.getValue()); PtrList encode = new PtrList(runtime, enco...
public static RubyArray unpack(String encodedString, RubyString formatString) { Ruby runtime = formatString.getRuntime(); RubyArray result = RubyArray.newArray(runtime); PtrList format = new PtrList(runtime, formatString.getValue()); PtrList encode = new PtrList(runtime, enco...
3,227,060
public static RubyArray unpack(String encodedString, RubyString formatString) { Ruby runtime = formatString.getRuntime(); RubyArray result = RubyArray.newArray(runtime); PtrList format = new PtrList(runtime, formatString.getValue()); PtrList encode = new PtrList(runtime, enco...
public static RubyArray unpack(String encodedString, RubyString formatString) { Ruby runtime = formatString.getRuntime(); RubyArray result = RubyArray.newArray(runtime); PtrList format = new PtrList(runtime, formatString.getValue()); PtrList encode = new PtrList(runtime, enco...
3,227,061
public static RubyArray unpack(String encodedString, RubyString formatString) { Ruby runtime = formatString.getRuntime(); RubyArray result = RubyArray.newArray(runtime); PtrList format = new PtrList(runtime, formatString.getValue()); PtrList encode = new PtrList(runtime, enco...
public static RubyArray unpack(String encodedString, RubyString formatString) { Ruby runtime = formatString.getRuntime(); RubyArray result = RubyArray.newArray(runtime); PtrList format = new PtrList(runtime, formatString.getValue()); PtrList encode = new PtrList(runtime, enco...
3,227,062
public static RubyArray unpack(String encodedString, RubyString formatString) { Ruby runtime = formatString.getRuntime(); RubyArray result = RubyArray.newArray(runtime); PtrList format = new PtrList(runtime, formatString.getValue()); PtrList encode = new PtrList(runtime, enco...
public static RubyArray unpack(String encodedString, RubyString formatString) { Ruby runtime = formatString.getRuntime(); RubyArray result = RubyArray.newArray(runtime); PtrList format = new PtrList(runtime, formatString.getValue()); PtrList encode = new PtrList(runtime, enco...
3,227,063
public static RubyArray unpack(String encodedString, RubyString formatString) { Ruby runtime = formatString.getRuntime(); RubyArray result = RubyArray.newArray(runtime); PtrList format = new PtrList(runtime, formatString.getValue()); PtrList encode = new PtrList(runtime, enco...
public static RubyArray unpack(String encodedString, RubyString formatString) { Ruby runtime = formatString.getRuntime(); RubyArray result = RubyArray.newArray(runtime); PtrList format = new PtrList(runtime, formatString.getValue()); PtrList encode = new PtrList(runtime, enco...
3,227,064
public static RubyArray unpack(String encodedString, RubyString formatString) { Ruby runtime = formatString.getRuntime(); RubyArray result = RubyArray.newArray(runtime); PtrList format = new PtrList(runtime, formatString.getValue()); PtrList encode = new PtrList(runtime, enco...
public static RubyArray unpack(String encodedString, RubyString formatString) { Ruby runtime = formatString.getRuntime(); RubyArray result = RubyArray.newArray(runtime); PtrList format = new PtrList(runtime, formatString.getValue()); PtrList encode = new PtrList(runtime, enco...
3,227,065
public static RubyArray unpack(String encodedString, RubyString formatString) { Ruby runtime = formatString.getRuntime(); RubyArray result = RubyArray.newArray(runtime); PtrList format = new PtrList(runtime, formatString.getValue()); PtrList encode = new PtrList(runtime, enco...
public static RubyArray unpack(String encodedString, RubyString formatString) { Ruby runtime = formatString.getRuntime(); RubyArray result = RubyArray.newArray(runtime); PtrList format = new PtrList(runtime, formatString.getValue()); PtrList encode = new PtrList(runtime, enco...
3,227,066
public static int fontXHeightForElement(Context context, CalculatedStyle style) { return lineHeight(context, style); }
public static int fontXHeightForElement(Context context, CalculatedStyle style) { return lineHeight(context); }
3,227,067
public static Font getFont(Context c) { CalculatedStyle style = c.getCurrentStyle(); return getFont(c, style); }
public static Font getFont(Context c) { CalculatedStyle style = c.getCurrentStyle(); Font f = c.getGraphics().getFont(); if (quick) { return f; } float size = style.propertyByName(CSSName.FONT_SIZE).computedValue().asFloat(); String weight = style.propertyByName(CSSName.FONT_WEIGHT).computedValue(...
3,227,068
public static Rectangle2D getTextBounds(Context c, InlineTextBox box) { CalculatedStyle style = c.getCurrentStyle(); return c.getTextRenderer().getLogicalBounds(c.getGraphics(), getFont(c, style), box.getSubstring()); }
public static Rectangle2D getTextBounds(Context c, InlineTextBox box) { return c.getTextRenderer().getLogicalBounds(c.getGraphics(), getFont(c, style), box.getSubstring()); }
3,227,069
public static Rectangle2D getTextBounds(Context c, InlineTextBox box) { CalculatedStyle style = c.getCurrentStyle(); return c.getTextRenderer().getLogicalBounds(c.getGraphics(), getFont(c, style), box.getSubstring()); }
public static Rectangle2D getTextBounds(Context c, InlineTextBox box) { CalculatedStyle style = c.getCurrentStyle(); return c.getTextRenderer().getLogicalBounds(c.getGraphics(), getFont(c), box.getSubstring()); }
3,227,070
public static int lineHeight(Context c, CalculatedStyle style) { int val = (int) Math.ceil(c.getTextRenderer().getLogicalBounds(c.getGraphics(), getFont(c, style), "Test").getHeight()); if (style.hasProperty(CSSName.LINE_HEIGHT)) { val = (int) style.getFloatPropertyRelative(CSSName.LINE_HEI...
public static int lineHeight(Context c, CalculatedStyle style) { int val = (int) Math.ceil(c.getTextRenderer().getLogicalBounds(c.getGraphics(), getFont(c, style), "Test").getHeight()); if (style.hasProperty(CSSName.LINE_HEIGHT)) { val = (int) style.getFloatPropertyRelative(CSSName.LINE_HEI...
3,227,071
public static List stripInlineContent(Context c, List inlineContent) { List stripped = new LinkedList(); List pendingStylePushes = new LinkedList(); boolean collapse = false; boolean allWhitespace = true; for (Iterator i = inlineContent.iterator(); i.hasNext();) { Objec...
public static List stripInlineContent(Context c, List inlineContent) { List stripped = new LinkedList(); List pendingStylePushes = new LinkedList(); boolean collapse = false; boolean allWhitespace = true; for (Iterator i = inlineContent.iterator(); i.hasNext();) { Objec...
3,227,075
private static void stripWhitespaceContent(List list) { List remove_list = new ArrayList(); for (int i = 0; i < list.size(); i++) { if (list.get(i) instanceof TextContent) { remove_list.add(list.get(i)); } } for (int i = 0; i < remove_list.size(); i++...
private static void stripWhitespaceContent(List list) { List remove_list = new ArrayList(); for (int i = 0; i < list.size(); i++) { if (list.get(i) instanceof TextContent) { remove_list.add(list.get(i)); } } for (int i = 0; i < remove_list.size(); i++...
3,227,076
private static void stripWhitespaceContent(List list) { List remove_list = new ArrayList(); for (int i = 0; i < list.size(); i++) { if (list.get(i) instanceof TextContent) { remove_list.add(list.get(i)); } } for (int i = 0; i < remove_list.size(); i++...
private static void stripWhitespaceContent(List list) { List remove_list = new ArrayList(); for (int i = 0; i < list.size(); i++) { if (list.get(i) instanceof TextContent) { remove_list.add(list.get(i)); } } for (int i = 0; i < remove_list.size(); i++...
3,227,077
public JavaConstructor(Ruby runtime, Constructor constructor) { super(runtime, (RubyClass) runtime.getClasses().getClassFromPath("Java::JavaConstructor")); this.constructor = constructor; }
public JavaConstructor(Ruby runtime, Constructor constructor) { super(runtime, runtime.getModule("Java").getClass("JavaConstructor")); this.constructor = constructor; }
3,227,079
public static RubyClass createJavaConstructorClass(Ruby runtime, RubyModule javaModule) { RubyClass result = javaModule.defineClassUnder("JavaConstructor", runtime.getClasses().getObjectClass()); CallbackFactory callbackFactory = runtime.callbackFactory(JavaConstructor.class); Ja...
public static RubyClass createJavaConstructorClass(Ruby runtime, RubyModule javaModule) { RubyClass result = javaModule.defineClassUnder("JavaConstructor", runtime.getObject()); CallbackFactory callbackFactory = runtime.callbackFactory(JavaConstructor.class); JavaCallable.registe...
3,227,080
public static Box layout(Context c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { // install a block formatting context for the body, // ie. if it's null. // set up the outtermost bfc if (c.getBlockForm...
public static Box layout(Context c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { // install a block formatting context for the body, // ie. if it's null. // set up the outtermost bfc if (c.getBlockForm...
3,227,081
public static Box layout(Context c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { // install a block formatting context for the body, // ie. if it's null. // set up the outtermost bfc if (c.getBlockForm...
public static Box layout(Context c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { // install a block formatting context for the body, // ie. if it's null. // set up the outtermost bfc if (c.getBlockForm...
3,227,082
public static Box layout(Context c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { // install a block formatting context for the body, // ie. if it's null. // set up the outtermost bfc if (c.getBlockForm...
public static Box layout(Context c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { // install a block formatting context for the body, // ie. if it's null. // set up the outtermost bfc if (c.getBlockForm...
3,227,083
public static Box layout(Context c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { // install a block formatting context for the body, // ie. if it's null. // set up the outtermost bfc if (c.getBlockForm...
public static Box layout(Context c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { // install a block formatting context for the body, // ie. if it's null. // set up the outtermost bfc if (c.getBlockForm...
3,227,084
private static CellBox layoutCell(Context c, CellBox cell, Content content, boolean fixed, TableBox table, int col) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } if ...
private static CellBox layoutCell(Context c, CellBox cell, Content content, boolean fixed, TableBox table, int col) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } if ...
3,227,085
private static CellBox layoutCell(Context c, CellBox cell, Content content, boolean fixed, TableBox table, int col) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } if ...
private static CellBox layoutCell(Context c, CellBox cell, Content content, boolean fixed, TableBox table, int col) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } if ...
3,227,086
private static CellBox layoutCell(Context c, CellBox cell, Content content, boolean fixed, TableBox table, int col) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } if ...
private static CellBox layoutCell(Context c, CellBox cell, Content content, boolean fixed, TableBox table, int col) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } if ...
3,227,087
private static CellBox layoutCell(Context c, CellBox cell, Content content, boolean fixed, TableBox table, int col) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } if ...
private static CellBox layoutCell(Context c, CellBox cell, Content content, boolean fixed, TableBox table, int col) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } if ...
3,227,088
private static CellBox layoutCell(Context c, CellBox cell, Content content, boolean fixed, TableBox table, int col) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } if ...
private static CellBox layoutCell(Context c, CellBox cell, Content content, boolean fixed, TableBox table, int col) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } if ...
3,227,089
private static CellBox layoutCell(Context c, CellBox cell, Content content, boolean fixed, TableBox table, int col) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } if ...
private static CellBox layoutCell(Context c, CellBox cell, Content content, boolean fixed, TableBox table, int col) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } if ...
3,227,090
private static RowBox layoutRow(Context c, TableRowContent tableRowContent, TableBox table, boolean fixed, int borderSpacingHorizontal, int borderSpacingVertical) { // copy the extents Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); RowBox row = new RowBox(); row.s...
private static RowBox layoutRow(Context c, TableRowContent tableRowContent, TableBox table, boolean fixed, int borderSpacingHorizontal, int borderSpacingVertical) { // copy the extents Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); RowBox row = new RowBox(); ...
3,227,091
public static Border getBorder(Context c, Box box) { //TODO: can I skip this? //Uu.p("box on: " + box); //Uu.p("is inline element = " + box.isInlineElement()); //Uu.p("text content = " + (box.content instanceof TextContent)); if (isBlockOrInlineElementBox(box)) { // if...
public static Border getBorder(Context c, Box box) { //TODO: can I skip this?//Uu.p("box on: " + box); //Uu.p("is inline element = " + box.isInlineElement()); //Uu.p("text content = " + (box.content instanceof TextContent)); if (isBlockOrInlineElementBox(box)) {// if (box.isInlineElement() || !(box.content instanc...
3,227,093
public static Border getBorder(Context c, Box box) { //TODO: can I skip this? //Uu.p("box on: " + box); //Uu.p("is inline element = " + box.isInlineElement()); //Uu.p("text content = " + (box.content instanceof TextContent)); if (isBlockOrInlineElementBox(box)) { // if...
public static Border getBorder(Context c, Box box) {//TODO: can I skip this? //Uu.p("box on: " + box);//Uu.p("is inline element = " + box.isInlineElement());//Uu.p("text content = " + (box.content instanceof TextContent));if (isBlockOrInlineElementBox(box)) {// if (box.isInlineElement() || !(box.content instanceof Text...
3,227,094
public static Border getBorder(Context c, Box box) { //TODO: can I skip this? //Uu.p("box on: " + box); //Uu.p("is inline element = " + box.isInlineElement()); //Uu.p("text content = " + (box.content instanceof TextContent)); if (isBlockOrInlineElementBox(box)) { // if...
public static Border getBorder(Context c, Box box) {//TODO: can I skip this? //Uu.p("box on: " + box);//Uu.p("is inline element = " + box.isInlineElement());//Uu.p("text content = " + (box.content instanceof TextContent));if (isBlockOrInlineElementBox(box)) {// if (box.isInlineElement() || !(box.content instanceof Text...
3,227,095
public IRegion documentChanged2(DocumentEvent e) { try { IDocument d= e.getDocument(); Position[] category= d.getPositions(CONTENT_TYPES_CATEGORY); IRegion line= d.getLineInformationOfOffset(e.getOffset()); int reparseStart= line.getOffset(); int partitionStart= 0; String contentType= null; ...
public IRegion documentChanged2(DocumentEvent e) { try { IDocument d= e.getDocument(); Position[] category= d.getPositions(CONTENT_TYPES_CATEGORY); IRegion line= d.getLineInformationOfOffset(e.getOffset()); int reparseStart= line.getOffset(); int partitionStart= 0; String contentType= null; ...
3,227,096
public com.liferay.portal.model.OrgLabor update( com.liferay.portal.model.OrgLabor orgLabor) throws SystemException { Session session = null; try { if (orgLabor.isNew() || orgLabor.isModified()) { session = openSession(); if (orgLabor.isNew()) { OrgLabor orgLaborModel = new OrgLabor(); orgLaborModel...
public com.liferay.portal.model.OrgLabor update( com.liferay.portal.model.OrgLabor orgLabor) throws SystemException { Session session = null; try { if (orgLabor.isNew() || orgLabor.isModified()) { session = openSession(); if (orgLabor.isNew()) { OrgLabor orgLaborModel = new OrgLabor(); orgLaborModel...
3,227,097
public synchronized void includeModule(IRubyObject arg) { testFrozen("module"); if (!isTaint()) { getRuntime().secure(4); } if (!(arg instanceof RubyModule)) { throw getRuntime().newTypeError("Wrong argument type " + arg.getMetaClass().getName() + " (expected Module...
public synchronized void includeModule(IRubyObject arg) { testFrozen("module"); if (!isTaint()) { getRuntime().secure(4); } if (!(arg instanceof RubyModule)) { throw getRuntime().newTypeError("Wrong argument type " + arg.getMetaClass().getName() + " (expected Module...
3,227,099
public synchronized void includeModule(IRubyObject arg) { testFrozen("module"); if (!isTaint()) { getRuntime().secure(4); } if (!(arg instanceof RubyModule)) { throw getRuntime().newTypeError("Wrong argument type " + arg.getMetaClass().getName() + " (expected Module...
public synchronized void includeModule(IRubyObject arg) { testFrozen("module"); if (!isTaint()) { getRuntime().secure(4); } if (!(arg instanceof RubyModule)) { throw getRuntime().newTypeError("Wrong argument type " + arg.getMetaClass().getName() + " (expected Module...
3,227,100
public synchronized void includeModule(IRubyObject arg) { testFrozen("module"); if (!isTaint()) { getRuntime().secure(4); } if (!(arg instanceof RubyModule)) { throw getRuntime().newTypeError("Wrong argument type " + arg.getMetaClass().getName() + " (expected Module...
public synchronized void includeModule(IRubyObject arg) { testFrozen("module"); if (!isTaint()) { getRuntime().secure(4); } if (!(arg instanceof RubyModule)) { throw getRuntime().newTypeError("Wrong argument type " + arg.getMetaClass().getName() + " (expected Module...
3,227,101
public synchronized void includeModule(IRubyObject arg) { testFrozen("module"); if (!isTaint()) { getRuntime().secure(4); } if (!(arg instanceof RubyModule)) { throw getRuntime().newTypeError("Wrong argument type " + arg.getMetaClass().getName() + " (expected Module...
public synchronized void includeModule(IRubyObject arg) { testFrozen("module"); if (!isTaint()) { getRuntime().secure(4); } if (!(arg instanceof RubyModule)) { throw getRuntime().newTypeError("Wrong argument type " + arg.getMetaClass().getName() + " (expected Module...
3,227,102
public synchronized void includeModule(IRubyObject arg) { testFrozen("module"); if (!isTaint()) { getRuntime().secure(4); } if (!(arg instanceof RubyModule)) { throw getRuntime().newTypeError("Wrong argument type " + arg.getMetaClass().getName() + " (expected Module...
public synchronized void includeModule(IRubyObject arg) { testFrozen("module"); if (!isTaint()) { getRuntime().secure(4); } if (!(arg instanceof RubyModule)) { throw getRuntime().newTypeError("Wrong argument type " + arg.getMetaClass().getName() + " (expected Module...
3,227,103
public boolean isSame(RubyModule module) { // FIXME: lame equality check; need something better return module.getMethods() == getMethods(); }
public boolean isSame(RubyModule module) { // FIXME: lame equality check; need something better return this == module; }
3,227,104
public void handleChange(IObservable source) { count++; this.source = source; }
public void handleChange(IObservable source) { count++; this.source = source; }
3,227,105
public void handleChange(IObservable source) { count++; this.source = source; }
public void handleChange(IObservable source) { count++; this.source = source; }
3,227,106
public void handleListChange(IObservableList source, ListDiff diff) { count++; this.source = source; this.diff = diff; }
public void handleListChange(IObservableList source, ListDiff diff) { count++; this.source = source; this.diff = diff; }
3,227,107
public void handleListChange(IObservableList source, ListDiff diff) { count++; this.source = source; this.diff = diff; }
public void handleListChange(IObservableList source, ListDiff diff) { count++; this.source = source; this.diff = diff; }
3,227,108
public void handleStale(IObservable source) { count++; this.source = source; }
public void handleStale(IObservable source) { count++; this.source = source; }
3,227,109
public void handleStale(IObservable source) { count++; this.source = source; }
public void handleStale(IObservable source) { count++; this.source = source; }
3,227,110
public RubyObject get() { String name = ruby.getRubyFrame().getLastFunc(); RubyArray member = (RubyArray) getInstanceVariable(classOf(), "__member__"); if (member.isNil()) { throw new RubyBugException("uninitialized struct"); } for (int i = 0; i < member.getLength(); i+...
public RubyObject get() { String name = ruby.getRubyFrame().getLastFunc(); RubyArray member = (RubyArray) getInstanceVariable(classOf(), "__member__"); if (member.isNil()) { throw new RubyBugException("uninitialized struct"); } for (int i = 0; i < member.getLength(); i+...
3,227,111
private RubyObject getByName(String name) { RubyArray member = (RubyArray) getInstanceVariable(classOf(), "__member__"); if (member.isNil()) { throw new RubyBugException("uninitialized struct"); } for (int i = 0; i < member.getLength(); i++) { if (member.entry(i).to...
private RubyObject getByName(String name) { RubyArray member = (RubyArray) getInstanceVariable(classOf(), "__member__"); if (member.isNil()) { throw new RubyBugException("uninitialized struct"); } for (int i = 0; i < member.getLength(); i++) { if (member.entry(i).to...
3,227,112
public RubyObject set(RubyObject value) { String name = ruby.getRubyFrame().getLastFunc(); RubyArray member = (RubyArray) getInstanceVariable(classOf(), "__member__"); if (member.isNil()) { throw new RubyBugException("uninitialized struct"); } modify(); for (int ...
public RubyObject set(RubyObject value) { String name = ruby.getRubyFrame().getLastFunc(); RubyArray member = (RubyArray) getInstanceVariable(classOf(), "__member__"); if (member.isNil()) { throw new RubyBugException("uninitialized struct"); } modify(); for (int ...
3,227,113
private RubyObject setByName(String name, RubyObject value) { RubyArray member = (RubyArray) getInstanceVariable(classOf(), "__member__"); if (member.isNil()) { throw new RubyBugException("uninitialized struct"); } modify(); for (int i = 0; i < member.getLength(); i++) ...
private RubyObject setByName(String name, RubyObject value) { RubyArray member = (RubyArray) getInstanceVariable(classOf(), "__member__"); if (member.isNil()) { throw new RubyBugException("uninitialized struct"); } modify(); for (int i = 0; i < member.getLength(); i++) ...
3,227,114
public Instruction visitCallNode(CallNode iVisited) { IRubyObject receiver = state.begin(iVisited.getReceiverNode()); if (iVisited.getArgsNode() == null) { // attribute set. receiver.callMethod(iVisited.getName(), new IRubyObject[] {value}, CallType.NORMAL); } else { // element set ...
public Instruction visitCallNode(CallNode iVisited) { IRubyObject receiver = EvaluationState.eval(runtime.getCurrentContext(), iVisited.getReceiverNode(), runtime.getCurrentContext().getFrameSelf()); if (iVisited.getArgsNode() == null) { // attribute set. receiver.callMethod(iVisited.getName()...
3,227,115
public Instruction visitCallNode(CallNode iVisited) { IRubyObject receiver = state.begin(iVisited.getReceiverNode()); if (iVisited.getArgsNode() == null) { // attribute set. receiver.callMethod(iVisited.getName(), new IRubyObject[] {value}, CallType.NORMAL); } else { // element set ...
public Instruction visitCallNode(CallNode iVisited) { IRubyObject receiver = state.begin(iVisited.getReceiverNode()); if (iVisited.getArgsNode() == null) { // attribute set. receiver.callMethod(iVisited.getName(), new IRubyObject[] {value}, CallType.NORMAL); } else { // element set ...
3,227,116
public Instruction visitClassVarAsgnNode(ClassVarAsgnNode iVisited) { state.getThreadContext().getRubyClass().setClassVar(iVisited.getName(), value); return null; }
public Instruction visitClassVarAsgnNode(ClassVarAsgnNode iVisited) { state.getThreadContext().getRubyClass().setClassVar(iVisited.getName(), value); return null; }
3,227,117
public Instruction visitClassVarDeclNode(ClassVarDeclNode iVisited) { ThreadContext tc = state.getThreadContext(); if (state.runtime.getVerbose().isTrue() && tc.getRubyClass().isSingleton()) { state.runtime.getWarnings().warn(iVisited.getPosition(), "Declaring singleton class variable."); } ...
public Instruction visitClassVarDeclNode(ClassVarDeclNode iVisited) { ThreadContext tc = state.getThreadContext(); if (state.runtime.getVerbose().isTrue() && tc.getRubyClass().isSingleton()) { state.runtime.getWarnings().warn(iVisited.getPosition(), "Declaring singleton class variable."); } ...
3,227,118
public Instruction visitClassVarDeclNode(ClassVarDeclNode iVisited) { ThreadContext tc = state.getThreadContext(); if (state.runtime.getVerbose().isTrue() && tc.getRubyClass().isSingleton()) { state.runtime.getWarnings().warn(iVisited.getPosition(), "Declaring singleton class variable."); } ...
public Instruction visitClassVarDeclNode(ClassVarDeclNode iVisited) { ThreadContext tc = state.getThreadContext(); if (state.runtime.getVerbose().isTrue() && tc.getRubyClass().isSingleton()) { state.runtime.getWarnings().warn(iVisited.getPosition(), "Declaring singleton class variable."); } ...
3,227,119
public Instruction visitConstDeclNode(ConstDeclNode iVisited) { if (iVisited.getPathNode() == null) { state.getThreadContext().getRubyClass().defineConstant(iVisited.getName(), value); } else { ((RubyModule) state.begin(iVisited.getPathNode())).defineConstant(iVisited.getName(), value); } return null; }
public Instruction visitConstDeclNode(ConstDeclNode iVisited) { if (iVisited.getPathNode() == null) { state.getThreadContext().getRubyClass().defineConstant(iVisited.getName(), value); } else { ((RubyModule) state.begin(iVisited.getPathNode())).defineConstant(iVisited.getName(), value); } return null; }
3,227,120
public Instruction visitConstDeclNode(ConstDeclNode iVisited) { if (iVisited.getPathNode() == null) { state.getThreadContext().getRubyClass().defineConstant(iVisited.getName(), value); } else { ((RubyModule) state.begin(iVisited.getPathNode())).defineConstant(iVisited.getName(), value); } return null; }
public Instruction visitConstDeclNode(ConstDeclNode iVisited) { if (iVisited.getPathNode() == null) { state.getThreadContext().getRubyClass().defineConstant(iVisited.getName(), value); } else { ((RubyModule) state.begin(iVisited.getPathNode())).defineConstant(iVisited.getName(), value); } return null; }
3,227,121