diff
stringlengths
38
1.78k
msg_token
stringlengths
9
190
<nb> import NAMESPACE ; @ datatypeinfo ( name = STRING0 , aliases = { STRING1 , STRING2 } , minParameters = NUMBER0 , maxParameters = NUMBER0 , priority = LiquibaseDataType . PRIORITY_DEFAULT ) public class NumberType extends LiquibaseDataType { + + private boolean autoIncrement ; + + public boolean isAut...
Add support for autoIncrement on NumberType
<nb> public class SpecialFiles { excludedFiles . add ( STRING0 ) ; SINGLE excludedFiles . add ( STRING1 ) ; SINGLE + excludedFiles . add ( STRING2 ) ; SINGLE excludedFiles . add ( STRING3 ) ; SINGLE excludedFiles . add ( STRING4 ) ; SINGLE }
update excluded files
<nb> public class LocalStore extends Store implements Serializable { COMMENT String disposition = attachment . getDisposition ( ) ; if ( disposition != null ) { - String s = MimeUtility . getHeaderParameter ( disposition , STRING0 ) ; - if ( s != null ) { + String sizeParam = MimeUtility . getHeaderParamete...
Renamed s to sizeParam
<nb> package NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; + import NAMESPACE ; - import NAMESPACE ; public class BeanSerializer implements Serializer {
replaced StringUtils dependency
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ;
Remove unused import
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> final class RuntimeInputGateContext implements BufferProvider , InputGateContext , return buffer ; } - if ( this . envelopeConsumpti...
Temporarily enabled receiver side spilling to prevent channel deadlocks
<nb> public final class AlluxioBlockStoreTest { Assert . assertEquals ( Long . valueOf ( BLOCK_LENGTH ) , Whitebox . getInternalState ( stream , STRING0 ) ) ; Assert . assertEquals ( new InetSocketAddress ( WORKER_HOSTNAME_REMOTE , WORKER_DATA_PORT ) , - Whitebox . getInternalState ( stream , STRING1 ) ) ; + ...
Fix unit test
<nb> public class ThresholdFailureDetector extends AsyncRecoveryFailureDetector { synchronized ( nodeStatus ) { if ( currentTime >= nodeStatus . getStartMillis ( ) + getConfig ( ) . getThresholdInterval ( ) ) { - SINGLE - SINGLE + SINGLE + SINGLE nodeStatus . setStartMillis ( currentTime ) ; nodeStatu...
Fixed misleading comment
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> class InProcessGradleExecuter extends AbstractGradleExecuter { StartParameter parameter = new StartParameter ( ) ; parameter . setCurr...
Changed InProcessGradleExecutor to run the builds with stacktrace by default as the forking executor does
<nb> public final class BufferUtils { SINGLE SINGLE SINGLE - SINGLE + SINGLE SINGLE SINGLE SINGLE
Fixed a typo in the comment
<nb> public class DbSqlSession implements Session { if ( sqlStatement == null ) { return line ; } - return sqlStatement + STRING0 + System . getProperty ( STRING1 ) + line ; + return sqlStatement + STRING0 + line ; } protected String readNextTrimmedLine ( BufferedReader reader ) throws IOException {
fixing platform dependent newline
<nb> package NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class SegmentReaderUtils { private static final Field FILTER_ATOMIC_READER_IN ; static { + assert Version . LUCENE_47 . onOrAfter ( Lucene . VE...
Add assertion to not forget to replace reflection with the new FilterAtomicReader unwrap
<nb> class PluginMethod extends PluginPoint Class < ? > raw = ( Class < ? > ) paramType . getRawType ( ) ; if ( Set . class . isAssignableFrom ( raw ) ) { - TypeCaster caster = TYPES . get ( raw ) ; + TypeCaster caster = TYPES . get ( paramType . getActualTypeArguments ( ) [ NUMBER0 ] ) ; if ( caster != nul...
Fixed Collection parameter types
<nb> public final class BatteryStatsImpl extends BatteryStats { private final Map < String , KernelWakelockStats > readKernelWakelockStats ( ) { - byte [ ] buffer = new byte [ NUMBER0 ] ; + byte [ ] buffer = new byte [ NUMBER1 ] ; int len ; try { <nb> public final class BatteryStatsImpl extends Batter...
Corrected buffer overflow when parsing proc wakelocks
<nb> public class AppEngineFacetEditor extends FacetEditorTab { private void doAdd ( ) { final FileChooserDescriptor descriptor = new FileChooserDescriptor ( true , true , false , false , false , true ) ; final ModuleRootModel rootModel = myContext . getRootModel ( ) ; - descriptor . setRoots ( Arrays . asList ...
Drop no longer needed path APIs
<nb> public final class GsmDataConnectionTracker extends DataConnectionTracker { @ override protected void onSetDependencyMet ( String apnType , boolean met ) { + SINGLE + if ( Phone . APN_TYPE_HIPRI . equals ( apnType ) ) return ; + ApnContext apnContext = mApnContexts . get ( apnType ) ; if ( apnConte...
Fix dependencyMet issues regarding hipri APN
<nb> package NAMESPACE ; - import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ;
Fix R import
<nb> public class LineChartRenderer extends LineRadarRenderer { float fillMin = dataSet . getFillFormatter ( ) . getFillLinePosition ( dataSet , mChart ) ; - - spline . lineTo ( to - NUMBER0 , fillMin ) ; - spline . lineTo ( from , fillMin ) ; + + SINGLE + SINGLE + SINGLE + + final Entry toEntry...
Fix cubic fill being weird when xIndex does not match entry index
<nb> public class IntroduceParameterObjectDialog extends RefactoringDialog { packageTextField . getTextField ( ) . getDocument ( ) . addDocumentListener ( docListener ) ; existingClassField . getTextField ( ) . getDocument ( ) . addDocumentListener ( docListener ) ; classNameField . getDocument ( ) . addDocumentL...
enable inner class creation
<nb> public class TelephonyManager { COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT
Fixing up doc links
<nb> public class OrderedPathTest tx . success ( ) ; tx . finish ( ) ; } - SINGLE + @ test public void testPath ( ) { + SINGLE final ArrayList < RelationshipType > orderedPathContext = new ArrayList < RelationshipType > ( ) ; orderedPathContext . add ( REL1 ) ; orderedPathContext . add ( withNam...
Start the code snippet at a better location
<nb> public class AddVariableInitializerFix implements IntentionAction { if ( psiClass != null && ! psiClass . isInterface ( ) && ! psiClass . hasModifierProperty ( PsiModifier . ABSTRACT ) && + psiClass . hasModifierProperty ( PsiModifier . PUBLIC ) && PsiUtil . hasDefaultConstructor ( psiClass ) ) { sugge...
initialize variable initialize in constructor suggests only public classes for collections
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class FMLClientHandler implements IFMLSidedHandler } public void onInitializationComplete ( ) { + SINGLE + GlStateManager ....
Fixed error GUIs showing a white screen and replaced a rogue direct GL call
<nb> public class ModCluster { return this ; } - public void setMaxRetries ( int maxRetries ) { + public Builder setMaxRetries ( int maxRetries ) { this . maxRetries = maxRetries ; - } - - public long getTtl ( ) { - return ttl ; + return this ; } public Builder setTtl ( long ttl ) {
Make all ModCluster Builder methods proper build methods
<nb> package NAMESPACE ; + import NAMESPACE ; + import NAMESPACE ; + import NAMESPACE ; + import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; + import NAMESPACE ; + import NAMESPACE ; + import NAMESPACE ; + import NAMESPACE ; + + @ bombed ( user = STRING0 , mo...
fix test run warning
<nb> public class SpringApplication { } COMMENT + COMMENT + COMMENT + COMMENT + public Class < ? > getMainApplicationClass ( ) { + return this . mainApplicationClass ; + } + + COMMENT COMMENT COMMENT COMMENT
Add mainApplicationClass accessor to SpringApplication
<nb> public class PostProcessor { return ; } - int width = buffersManager . getFBO ( STRING0 ) . width ( ) ; - int height = buffersManager . getFBO ( STRING1 ) . height ( ) ; + FBO sceneFinal = buffersManager . getFBO ( STRING1 ) ; + int width = sceneFinal . width ( ) ; + int height = sceneFinal . heigh...
Fix getting width from wrong FBO
<nb> public class ExceptionUtil { @ notnull private static List < PsiClassType > getThrownExceptions ( @ notnull PsiElement element ) { if ( element instanceof PsiClass ) { + if ( element instanceof PsiAnonymousClass ) { + final PsiExpressionList argumentList = ( ( PsiAnonymousClass ) element ) . getArgumentL...
retrieve exceptions thrown in argument list of anonymous class
<nb> public class PactProgram { String name = entry . getName ( ) ; name = name . replace ( File . separatorChar , STRING0 ) ; - File tempFile = File . createTempFile ( String . valueOf ( Math . abs ( rnd . nextInt ( ) ) + STRING1 ) , - entry . getName ( ) ) ; + File tempFile = File . createTempFile ( Strin...
Fixed bug that nested jar files in subdirectories are not supported
<nb> public class MediaConfigurationImpl } } ) ; + int videoMaxBandwith = deviceConfig . getVideoRTPPacingThreshold ( ) ; + SINGLE + SINGLE + SINGLE + videoMaxBandwith = ( ( videoMaxBandwith > NUMBER0 ) ? NUMBER0 : videoMaxBandwith ) ; + final JSpinner videoMaxBandwidth = new JSpinner ( new SpinnerN...
Fixes current configurations of RTP pacing threshold that may have used a value bigger than the newly configured maximum value
<nb> public class MetricsResource implements KairosMetricReporter try { File respFile = File . createTempFile ( STRING0 , STRING1 , new File ( datastore . getCacheDir ( ) ) ) ; - BufferedWriter writer = new BufferedWriter ( new FileWriter ( respFile ) ) ; + BufferedWriter writer = new BufferedWriter ( new Out...
fixed buffer writer encoding for cached files
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class UserServiceImplTest { private Role createRole ( String name ) { final RoleImpl role = new RoleImpl ( ) ; - role . _id =...
Fix UserServiceImplTest createRole String method
<nb> public class XMPPTCPConnection extends AbstractXMPPConnection { COMMENT COMMENT COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + public XMPPTCPConnection ( CharSequence jid , String password ) { + this ( XmppStringUtils . parseLocalpart ( jid . toS...
Add XMPPTCPConnection CharSequence String constructor
<nb> public class Runner implements MessageConsumer { RunnerException findException ( String message , ThreadReference thread ) { try { SINGLE - for ( StackFrame frame : thread . frames ( ) ) { - System . out . println ( STRING0 + frame ) ; - } + SINGLE + SINGLE + SINGLE List < StackFrame > frames...
remove debug lines
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class JpsServerManager implements ApplicationComponent { cmdLine . addParameter ( STRING0 ) ; SINGLE SINGLE - if ( SystemInfo...
adjust memory settings
<nb> - package NAMESPACE ; import NAMESPACE ; <nb> public class Fluid COMMENT COMMENT COMMENT - protected EnumRarity rarity ; + protected EnumRarity rarity = EnumRarity . common ; COMMENT COMMENT
Fluid Rarity should have a default
<nb> public class LocalResponseNormalization extends BaseLayer < org . deeplearning4j . nn . throw new UnsupportedOperationException ( ) ; } + @ override + public INDArray params ( ) { + return null ; + } + + @ override + public INDArray getParam ( String param ) { + return params ( ) ; + } + ...
Fixed runtime error on lrn where params not returning val
<nb> import NAMESPACE ; COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT
Added Robin as author
<nb> public class UnderStoreBlockInStreamTest { Assert . assertEquals ( remaining , inStream . skip ( remaining ) ) ; Assert . assertEquals ( - NUMBER0 , inStream . read ( ) ) ; Assert . assertEquals ( NUMBER1 , inStream . remaining ( ) ) ; + + SINGLE + Assert . assertEquals ( NUMBER1 , inStream . skip ( NU...
Add skipping past the ufs block test case
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; public class XContentTypeOptionsScanner extends PluginPassiveScanner {
removed unused packages
<nb> public class SimpleWebServer extends NanoHTTPD { private String findIndexFileInDirectory ( File directory ) { for ( String fileName : SimpleWebServer . INDEX_FILE_NAMES ) { File indexFile = new File ( directory , fileName ) ; - if ( indexFile . exists ( ) ) { + if ( indexFile . isFile ( ) ) { return fi...
Fix webserver serving folder named like index file
<nb> import NAMESPACE ; import NAMESPACE ; public class Requirements { - private static String [ ] cIncompatible = new String [ ] { STRING0 } ; + private static String [ ] cIncompatible = new String [ ] { STRING0 , STRING1 } ; @ suppresswarnings ( STRING2 ) public static void check ( final ActivityBase ...
Add the Poweramp unlocker to the list of incompatible apps
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class ContentNe...
Fix issue in ContentNeogitatingViewResolver
<nb> public class XMPPTCPConnection extends AbstractXMPPConnection { SINGLE long current = System . currentTimeMillis ( ) ; - long maxResumptionMillies = getMaxSmResumptionTime ( ) * NUMBER0 ; - if ( shutdownTimestamp + maxResumptionMillies > current ) { + long maxResumptionMillies = ( ( long ) getMaxSmResu...
Fix isSmResumptionPossible returning wrong values
<nb> public final class Indexer { SINGLE SINGLE SINGLE - if ( databaseDriver . equals ( STRING0 ) ) { + if ( STRING0 . equals ( databaseDriver ) ) { databaseDriver = DERBY_CLIENT_DRIVER ; - } else if ( databaseDriver . equals ( STRING1 ) ) { + } else if ( STRING1 . equals ( databaseDriver ) ) { databa...
Fixed PMD warnings PositionLiteralsFirstInComparisons
<nb> package NAMESPACE ; COMMENT COMMENT COMMENT + COMMENT + COMMENT COMMENT COMMENT COMMENT <nb> public final class ServiceHelper { COMMENT COMMENT COMMENT - COMMENT - COMMENT + COMMENT + COMMENT COMMENT COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMENT COMMENT COMME...
fixing suspend resume
<nb> public final class JavassistTypeParameterMatcherGenerator { classPool . appendClassPath ( pathname ) ; } - static TypeParameterMatcher generate ( Class < ? > type ) { + public static TypeParameterMatcher generate ( Class < ? > type ) { ClassLoader classLoader = Thread . currentThread ( ) . getContextCl...
Make JavassistTypeParameterMatcherGenerator generate public
<nb> public abstract class AbstractBox extends Mesh { duUpdateGeometryNormals ( ) ; duUpdateGeometryTextures ( ) ; duUpdateGeometryIndices ( ) ; + setStatic ( ) ; } COMMENT
make mesh static by default
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; + import NAMESPACE ; public class TestWebSocket extends TomcatBaseTest { + @ test + public void testSimple ( ) { + SINGLE + } + private static final class StreamingWebSocketServlet extends WebSocketServlet...
Fix CI build
<nb> public class SerializerInitialization { serializer . registerClass ( long [ ] . class , KRYO_OFFSET + NUMBER0 ) ; serializer . registerClass ( byte [ ] . class , new ByteArrayHandler ( ) , KRYO_OFFSET + NUMBER1 ) ; serializer . registerClass ( boolean [ ] . class , KRYO_OFFSET + NUMBER2 ) ; - SINGLE + se...
Removed wrong serializer initialization line
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class VizGui extends JFrame implements VertexSelectionListener , Remaining options . aStarSearchFactory = visitor . getAStarSearchF...
actually use vizgui s internal heuristic factory and set maxWalk to max double value
<nb> public class BinaryInspector { if ( args . length == NUMBER0 && STRING0 . equals ( args [ NUMBER1 ] ) ) { in . inspector ( new String [ ] { SINGLE - STRING1 , STRING2 , SINGLE + STRING1 , STRING2 , SINGLE SINGLE SINGLE SINGLE SINGLE SINGLE SINGLE - STRING3 + STRING4 SINGLE SINGLE SI...
Revert binary inspector
<nb> public interface Configuration extends FileCollection { COMMENT COMMENT COMMENT + COMMENT COMMENT COMMENT COMMENT
Fix auto tested sample
<nb> public class LatencyMetrics } @ deprecated - public double getRecentLatency ( ) + public synchronized double getRecentLatency ( ) { long ops = latency . count ( ) ; long n = totalLatency . count ( ) ; + if ( ops == lastOpCount ) + return NUMBER0 ; try { return ( ( double ) n - lastLatency...
getRecentLatency returns zero instead of infinity
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class AccountActivity extends SherlockActivity { Toast . makeText ( AccountActivity . this , STRING0 + result , Toast . LENGTH_LONG...
return cancelled result if account create doesn t work
<nb> COMMENT COMMENT COMMENT - COMMENT - COMMENT + COMMENT + COMMENT + COMMENT COMMENT COMMENT COMMENT
Fix the link to Service Loader
<nb> import NAMESPACE ; COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMENT public class Mina2Producer extends DefaultProducer implements ServicePoolAware { <nb> public class Mina2Producer extends DefaultProducer implements ServicePoolAware { return false ; } - @ suppresswarnings ( STRING0 ) ...
Ensure mina producer always disconnects if configured to do so even for timeouts when doing request reply
<nb> public final class TestUtils { SINGLE SINGLE Class < ? > sctpChannelClass = Class . forName ( STRING0 ) ; - Channel channel = ( Channel ) sctpChannelClass . getMethod ( STRING1 , null ) . invoke ( null , null ) ; + Channel channel = ( Channel ) sctpChannelClass . getMethod ( STRING1 ) . invoke ( null ) ;...
Fix compiler warnings related with SCTP detection
<nb> public class TitlePanel extends CaptionPanel { contentSize = new Dimension ( Integer . MAX_VALUE , Integer . MAX_VALUE ) ; } else { contentSize = myContentComponent . getPreferredSize ( ) ; + + final Dimension preferredSize = super . getPreferredSize ( ) ; + if ( preferredSize . width <= NUMBER0 ) { ...
sub menus have too large captions
<nb> public final class ConnectionHolder { } public void reset ( ) throws SQLException { - conn . setReadOnly ( defaultReadOnly ) ; - conn . setHoldability ( defaultHoldability ) ; - conn . setTransactionIsolation ( defaultTransactionIsolation ) ; - + SINGLE + if ( conn . isReadOnly ( ) != defaultRead...
reset default setting on demand
<nb> public final class TvInputInfo implements Parcelable { public TvInputInfo ( ResolveInfo service ) { mService = service ; ServiceInfo si = service . serviceInfo ; - mId = generateInputIdForComponenetName ( new ComponentName ( si . packageName , si . name ) ) ; + mId = generateInputIdForComponentName ( new...
Fix a typo
<nb> implements ManagedService { if ( sonosID != null ) { if ( sonosCommandType != null ) { + logger . debug ( STRING0 , new Object [ ] { itemName , someCommand , sonosID , sonosCommandType , commandAsString } ) ; executeCommand ( itemName , someCommand , sonosID , sonosCommandType , commandAsString ) ; }...
Added temporary debugging code to further improve the binding e g I am
<nb> package NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> import NAMESPACE ; COMMENT COMMENT public class DockerContainerNameGenerator { - private static final String NODE_HOST_GROUP = STRING0 ; + private static final String ...
Fix cleaning docker containers
<nb> public final class Client { + STRING0 + dsStatus . toString ( ) ) ; return ; default : - System . out . println ( STRING1 + state + STRING2 ) ; + System . out . println ( STRING1 + state + STRING2 ) ; } } }
Fix a typo
<nb> public class Vec extends Iced { assert key . _kb [ NUMBER0 ] == Key . VEC ; _key = key ; _espc = espc ; + _time = - NUMBER1 ; SINGLE } - protected Vec ( Key key , Vec v ) { _key = key ; _espc = v . _espc ; assert group ( ) == v . group ( ) ; } + protected Vec ( Key key , Vec v ) { _key = key ; _esp...
Missing time mode init
<nb> public class ODistributedThreadLocal extends ThreadLocal < Boolean > { public static ODistributedThreadLocal INSTANCE = new ODistributedThreadLocal ( ) ; public boolean distributedExecution = false ; + public String distributedRequestSource = null ; }
get request source
<nb> public class ForgeHooks for ( int x = NUMBER0 ; x < NUMBER1 ; x ++ ) { ItemStack stack = player . inventory . getStackInSlot ( x ) ; - if ( stack != null && stack . isItemEqual ( result ) ) + if ( stack != null && stack . isItemEqual ( result ) && ItemStack . func_77970_a ( stack , result ) ) { playe...
Pickblock will new compare NBT data should allow mods to refine there result better
<nb> public class ActionBarSherlockNative extends ActionBarSherlock { if ( callback != null ) { wrapped = new ActionModeCallbackWrapper ( callback ) ; } - android . view . ActionMode actionMode = mActivity . startActionMode ( wrapped ) ; - if ( actionMode != null ) { - mActionMode = new ActionModeWrapper ( ...
Use the action mode onCreate callback to grab the native instance
<nb> public class ExtensionsRootType extends RootType { Enumeration < URL > urlEnumeration = plugin != null ? cl . getResources ( resourcesPath ) : null ; if ( urlEnumeration == null ) return ContainerUtil . emptyList ( ) ; + PluginId corePluginId = PluginId . findId ( PluginManagerCore . CORE_PLUGIN_ID ) ; S...
do not skip core if in core
<nb> public class ZrtpControlImpl { return false ; } + + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + public long getTimeoutValue ( ) + { + SINGLE + SINGLE + return NUMBER0 ; + } } <nb> public interface ZrtpControl COMMENT COMMENT public void setSASVe...
Adds access to zrtp timeout value
<nb> public class SenderService extends IntentService { } reportDistributor . distribute ( report ) ; + SINGLE } } catch ( Exception e ) { ACRA . log . e ( LOG_TAG , STRING0 , e ) ;
add note on probable bug
<nb> public class RestSpec { RestSpec restSpec = new RestSpec ( ) ; for ( String path : paths ) { for ( File jsonFile : FileUtils . findJsonSpec ( optionalPathPrefix , path ) ) { - XContentParser parser = JsonXContent . jsonXContent . createParser ( new FileInputStream ( jsonFile ) ) ; - RestApi restApi = new...
Add better error reporting if a json spec can not be parsed
<nb> public class DemoContactNotificationScorer implements NotificationScorer { if ( DBG ) Slog . v ( TAG , STRING0 + getClass ( ) . getSimpleName ( ) + STRING1 ) ; mContext = context ; mEnabled = ENABLE_CONTACT_SCORER && NUMBER0 == Settings . Global . getInt ( - mContext . getContentResolver ( ) , SETTING_ENAB...
disable notification scorer by default
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ;
fixed test cases
<nb> public abstract class NumericContainerViewTable implements TableChunkDatasource myValue . isErrorOnEval ( ) , myValue . isReturnedVal ( ) , myValue . getParent ( ) , myValue . getFrameAccessor ( ) ) ; - return myValue . getFrameAccessor ( ) . getArrayItems ( slicedValue , rowOffset , colOffset , rows , col...
do not pass empty format to getArrayItems
<nb> public class AutoCompleteTextView extends EditText implements Filter . FilterListe && event . getRepeatCount ( ) == NUMBER0 ) { getKeyDispatcherState ( ) . startTracking ( event , this ) ; return true ; - } else if ( event . getAction ( ) == KeyEvent . ACTION_UP - && event . isTracking ( ) && ! event . i...
Fix back button handling in ACTV
<nb> public class JavaQualifiedNameProvider implements QualifiedNameProvider { } if ( ( ( PsiMethod ) targetElement ) . isConstructor ( ) ) { targetElement = targetElement . getContainingClass ( ) ; + fqn = StringUtil . getPackageName ( fqn ) ; } } else if ( targetElement instanceof PsiClass ) {
update fqn when constructor is replaced with class
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class ResolveUtil { SINGLE SINGLE - if ( ! isJavaResolver && run . getLanguage ( ) == JavaLanguage . INSTANCE ) { + if ( ! ...
resolve groovy references in Java fixed
<nb> public class WeekView extends View { SINGLE public interface EventClickListener { + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT public void onEventClick ( WeekViewEvent event , RectF eventRect ) ; } public interface MonthChangeListener { + COMMENT + COMMENT + COMMENT + COMMENT ...
Documented the interfaces
<nb> public class GeneralSettings implements NamedJDOMExternalizable , ApplicationComp private PropertyChangeSupport myPropertyChangeSupport ; private boolean myUseDefaultBrowser = true ; private String myLastProjectLocation ; - private boolean myUseCyclicBuffer ; + private boolean myUseCyclicBuffer = true ; ...
enable cyclic buffer in console
<nb> public class FileUrlLoader extends ModuleActor { checkCancellable . cancel ( ) ; } - checkCancellable = schedule ( new CheckQueue ( ) , NUMBER0 ) ; + checkCancellable = schedule ( new CheckQueue ( ) , NUMBER1 ) ; }
Reduce URL loading delay
<nb> public class TestFile extends File { } public void assertPermissions ( Matcher < String > matcher ) { - assertThat ( getPermissions ( ) , matcher ) ; + if ( ! System . getProperty ( STRING0 ) . toLowerCase ( ) . contains ( STRING1 ) ) { + assertThat ( getPermissions ( ) , matcher ) ; + } } priv...
Don t check file permissions on windows
<nb> package NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import N...
AbstractJdbcMessageIdRepository should use the ManagedResource and ManagedOperation from Camel
<nb> COMMENT package NAMESPACE ; + import NAMESPACE ; + public class IntArrayList implements Cloneable { private int [ ] myData ; private int mySize ; <nb> public class IntArrayList implements Cloneable { throw new IndexOutOfBoundsException ( STRING0 + index + STRING1 + mySize ) ; } } + + @ ...
Add method toString to IntArrayList
<nb> public class DefaultNamingStrategy extends AbstractNamingStrategy { public String getPropertyName ( String columnName , EntityType entityType ) { if ( columnName . length ( ) > NUMBER0 ) { String normalized = normalizePropertyName ( columnName ) ; - return normalized . substring ( NUMBER1 , NUMBER0 ) . toL...
Add reserved check back
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class OCommandExecutorSQLSelect extends OCommandExecutorSQLAbstract imple if ( prop != null && prop . isIndexed ( ) ) { SINGLE ...
Fixed a bug on using indexes in queries
<nb> abstract class ZLTextModelImpl implements ZLTextModel { ZLTextMark mark = null ; for ( ZLTextMark current : myMarks ) { - if ( current . compareTo ( position ) <= NUMBER0 ) { + if ( current . compareTo ( position ) < NUMBER0 ) { if ( ( mark == null ) || ( mark . compareTo ( current ) < NUMBER0 ) ) { ...
fixed backward search
<nb> public class AsyncContextImpl implements AsyncContext , AsyncContextCallback { private boolean hasOriginalRequestAndResponse = true ; private volatile Runnable dispatch = null ; private Context context = null ; + SINGLE private long timeout = - NUMBER0 ; private AsyncEvent event = null ; private Requ...
Add a comment as the default is not set where one might expect
<nb> import NAMESPACE ; @ nonnullbydefault - @ mixin ( value = Entity . class , priority = NUMBER0 , remap = false ) + @ mixin ( value = Entity . class , priority = NUMBER0 ) public abstract class MixinEntity implements IMixinEntity { @ shadow public net . minecraft . world . World worldObj ;
Really fix MixinEntity
<nb> public class XmppConnection implements Runnable { Element bind = packet . findChild ( STRING0 ) ; if ( bind != null ) { Element jid = bind . findChild ( STRING1 ) ; - if ( jid != null ) { + if ( jid != null && jid . getContent ( ) != null ) { account . setResource ( jid . getContent ( ) . split ( STRIN...
fixed very rare npe
<nb> import NAMESPACE ; COMMENT COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT <nb> class InstrumentMemoryAllocPass implements CompilerPass { final AbstractCompiler compiler ; - private static int newSiteId = NUMBER0 ; SINGLE + private int newSiteId = NUMBER0 ; SINGLE static final S...
Fix the use of a non const static class member that was causing test flakiness
<nb> public class PortalUtil { return _instance . _isSystemRole ( roleName ) ; } + public static void renderPage ( + StringBuffer sb , ServletContext ctx , HttpServletRequest req , + HttpServletResponse res , String path ) + throws IOException , ServletException { + + RequestDispatcher rd = ctx . getR...
Add renderPage method
<nb> package NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; + import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class MainActivity extends Activity implements Api . Monitor { gifView . setOnClickListener ( new View . OnClickListener (...
Copy thumbnail gif url on click in giphy sample
<nb> public class WriteConcern implements Serializable { } COMMENT - COMMENT - COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT COMMENT public void setWObject ( Object w ) { if ( ! ( w instanceof Integer ) && ! ( w instanceof String ) ) <nb> public class WriteConcern implements Seri...
Deprecate WriteConcern setWObject method
<nb> public @ interface ReportsCrashes { ReportField . STACK_TRACE } ; COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT
Fixed javadoc typos
<nb> public class SourceMapSection { this . column = column ; } - static SourceMapSection forMap ( String value , int line , int column ) { + public static SourceMapSection forMap ( String value , int line , int column ) { return new SourceMapSection ( SectionType . MAP , value , line , column ) ; } -...
Fix source map section constructors
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; COMMENT COMMENT <nb> public class FS20CommandHelper { case TOGGLE : return OnOffType . ON ; default : - return null ; + return UnDefType . UNDEF ; } }
Now returning UnDef type as default instead of null
<nb> public abstract class BaseDescription implements Description { case STRING0 : append ( STRING1 ) ; break ; + case STRING2 : + append ( STRING3 ) ; + break ; default : append ( ch ) ; } <nb> public final class BaseDescriptionTest { } @ test public void + quotesAppendedBackslash ( ) { +...
Added escape for backslashes in base description
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; <nb> public final class PoolUtilities connection . close ( ) ; } catch ( Exception e ) { + LoggerFactory . getLogger ( getClass ( ) ) . debug ( STRING0 , connection . toString ( ) , e ) ; retu...
Debug log failed closes
<nb> public class PostsListFragment extends Fragment implements EmptyViewAnimationHan apiArgs . add ( mIsPage ) ; apiArgs . add ( postCount ) ; apiArgs . add ( loadMore ) ; - showProgress ( ) ; + + SINGLE + if ( loadMore ) { + showProgress ( ) ; + } mCurrentFetchPostsTask = new ApiHelper . FetchPo...
Fixed bug that caused bottom progress bar to always appear when loading posts should only appear when loading more posts