diff
stringlengths
38
1.78k
msg_token
stringlengths
9
190
<nb> COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT <nb> public final class WebInterfaceConfigurationServlet extends HttpServlet { COMMENT COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT <nb> public final class WebInterfaceCo...
Resolve variable in configuration ui
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import static NAMESPACE ; import static NAMESPACE ; <nb> public class PartitionerITCase extends StreamingMultipleProgramsTestBase { Integer subtaskIndex = verifier . get ( elem . f1 ) ; if ( subtask...
hotfix tests Fix boxed Integer comparison with
<nb> public class ConnectionSettings { private final StringManager sm = StringManager . getManager ( ConnectionSettings . class ) ; public static final int DEFAULT_WINDOW_SIZE = ( NUMBER0 < < NUMBER1 ) - NUMBER0 ; - private static final int UNLIMITED = NUMBER0 < < NUMBER2 ; SINGLE + SINGLE + private static ...
Fix the limit
<nb> public class Camera implements Savable , Cloneable { COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT - COMMENT COMMENT COMMENT COMMENT <nb> public class Camera implements Savable , Cloneable { } COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT ...
Added Camera lookAtDirection
<nb> package NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; public class CallActor extends ModuleActor { + public static final String TAG = STRING0 ; private boolean inited = false ; private int timeout = NUMBER0 ; private boolean ali...
ignore call in progress
<nb> public final class AudioRecordingConfiguration implements Parcelable { mPatchHandle = patchHandle ; } + SINGLE COMMENT @ intdef ( { MediaRecorder . AudioSource . DEFAULT , + MediaRecorder . AudioSource . MIC , MediaRecorder . AudioSource . VOICE_UPLINK , MediaRecorder . AudioSource . VOICE_DOWN...
Fix javadoc missing possible return value in AudioRecordingConfiguration
<nb> + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT package NAMESPACE ; import NAMESPACE ;
Add missing license header
<nb> public class ResourceBundleEditorHighlighter implements BackgroundEditorHighligh new SmartList < > ( ) ; final IProperty [ ] properties = files . stream ( ) . map ( f - > f . findPropertyByKey ( key ) ) . filter ( Objects : : nonNull ) . toArray ( IProperty [ ] : : new ) ; + if ( properties . length == NUM...
do not highlight empty properties group
<nb> public class AccelListener implements SensorEventListener { private long lastUpdate = - NUMBER0 ; - AccelListener ( Context ctx , WebView appView ) + public AccelListener ( Context ctx , WebView appView ) { mCtx = ctx ; mAppView = appView ; <nb> public class GeoBroker { private Context mCtx ; ...
Making constructors public
<nb> public class Reporter { STRING0 ) ) ; } + + public void defaultAnswerDoesNotAcceptNullParameter ( ) { + throw new MockitoException ( STRING1 ) ; + } } <nb> public class MockSettingsImpl < T > extends CreationSettings < T > implements MockSett public MockSettings defaultAnswer ( Answer default...
Added error report is misusing defaultAnswer ie passing null
<nb> public class Issue41Test { map . put ( key , value ) ; } finally { doneSignal . countDown ( ) ; - System . out . println ( STRING0 + j ) ; + SINGLE } } } ) ; <nb> public class Issue41Test { } } finally { doneSignal . countDown ( ) ; - System . out . println ( STRING0 + j ) ; + SINGLE ...
Fix verbose test case
<nb> public abstract class ConnectionService extends CallService { @ override public void onStateChanged ( Connection c , int state ) { String id = mIdByConnection . get ( c ) ; - Log . d ( this , STRING0 , id , Connection . stateToString ( state ) ) ; + Log . d ( this , STRING1 , id , Connection . stateToStr...
Fix invalid format specifier in log message
<nb> public class YAMLLanguage extends Language { @ notnull @ override public String getDisplayName ( ) { - return STRING0 ; + return STRING1 ; } }
Fix YAML Language display name
<nb> public class AMQPQueueConfiguration { Set < AMQPQueueConfiguration > configs = Sets . newHashSet ( ) ; DBCollection coll = server . getMongoConnection ( ) . getDatabase ( ) . getCollection ( STRING0 ) ; - DBObject query = new BasicDBObject ( ) ; - query . put ( STRING1 , new BasicDBObject ( STRING2 , tru...
do not search for disabled queue configs
<nb> public enum IOSDevice { IPAD_MINI_4_WIFI_CELLULAR ( STRING0 , NUMBER0 ) , IPAD_MINI_AIR_2_WIFI ( STRING1 , NUMBER1 ) , IPAD_MINI_AIR_2_WIFI_CELLULAR ( STRING2 , NUMBER1 ) , + IPAD_PRO_WIFI ( STRING3 , NUMBER1 ) , IPAD_PRO ( STRING4 , NUMBER1 ) , SIMULATOR_32 ( STRING5 , NUMBER1 ) ,
Added missing iOS device
<nb> import NAMESPACE ; public class ObjectEqualityInspection extends ExpressionInspection { COMMENT - public boolean m_ignoreEnums = false ; + public boolean m_ignoreEnums = true ; COMMENT public boolean m_ignoreClassObjects = false ;
Changing the default for whether enums should be ignored
<nb> public class PyTypingTest extends PyTestCase { STRING0 + STRING1 + STRING2 + - STRING3 + + STRING4 + STRING1 + STRING5 + STRING4 ) ;
Fixed test data
<nb> public final class AppCompatResources { COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT
Fix support lib docs
<nb> static final public Var METHOD = Var . create ( null ) ; SINGLE static final public Var IN_CATCH_FINALLY = Var . create ( null ) ; + SINGLE + static final public Var LOADER = Var . create ( ) ; + SINGLE static final public Var SOURCE = Var . intern ( Namespace . findOrCreate ( Symbol . create ( STR...
moved LOADER init to prevent static init exceptions
<nb> public final class CcCommon { } } requestedFeatures . addAll ( ruleSpecificRequestedFeatures ) ; - return toolchain . getFeatures ( ) . getFeatureConfiguration ( requestedFeatures . build ( ) ) ; + FeatureConfiguration configuration = + toolchain . getFeatures ( ) . getFeatureConfiguration ( requestedF...
Give a helpful error message when the crosstool configuration enables
<nb> public class FileListListAdapter extends BaseAdapter implements ListAdapter { } } - break ; }
remove a space
<nb> public class LockPatternUtils { || mode == DevicePolicyManager . PASSWORD_QUALITY_NUMERIC || mode == DevicePolicyManager . PASSWORD_QUALITY_NUMERIC_COMPLEX || mode == DevicePolicyManager . PASSWORD_QUALITY_ALPHANUMERIC - || mode == DevicePolicyManager . PASSWORD_QUALITY_COMPLEX ; + || mode == DevicePolic...
Teach keyguard about PASSWORD_QUALITY_MANAGED
<nb> public class NotificationsSettings { AppLog . e ( AppLog . T . NOTIFS , STRING0 ) ; } } - - - + public JSONObject getOtherSettings ( ) { return mOtherSettings ; }
Removed some extra newlines
<nb> public class MocoHandler extends SimpleChannelInboundHandler < FullHttpRequest > { @ override protected void channelRead0 ( ChannelHandlerContext ctx , FullHttpRequest message ) throws Exception { monitor . onMessageArrived ( message ) ; - httpRequestReceived ( ctx , message ) ; - } - - private void ...
inlined http request received method in moco handler
<nb> import NAMESPACE ; import static NAMESPACE ; import static NAMESPACE ; - import static NAMESPACE ; public final class TranslationUtils { private TranslationUtils ( ) { <nb> public final class TranslationUtils { } @ notnull - public static JsNameRef getQualifiedReference ( @ notnull Translat...
Used convenient JsNameRef ctor instead setQualifier for create JsNameRef with name and qualifier
<nb> public class NodeCmd outs . println ( STRING0 + cfstore . getLiveSSTableCount ( ) ) ; outs . println ( STRING1 + cfstore . getLiveDiskSpaceUsed ( ) ) ; outs . println ( STRING2 + cfstore . getTotalDiskSpaceUsed ( ) ) ; + outs . println ( STRING3 + cfstore . estimateKeys ( ) ) ; outs . println ( STRING4 +...
Add CFS estimatedKeys to cfstats output
<nb> package NAMESPACE ; - import NAMESPACE ; import static NAMESPACE ; import NAMESPACE ; <nb> public class SecretGeneratorTest { assertEquals ( STRING0 , SecretGenerator . generateSecret ( new Random ( NUMBER0 ) ) ) ; - - assertEquals ( STRING1 , - SecretGenerator . generateSecret ( new Se...
Remove SecureRandom test case as it s non portable
<nb> public interface MonkeyConfiguration { String getStr ( String property ) ; String getStrOrElse ( String property , String dflt ) ; + + void reload ( ) ; } <nb> public class BasicConfiguration implements MonkeyConfiguration { String val = props . getProperty ( property ) ; return val == null ? dfl...
add reload to Configuration for cases where configs are dynamic
<nb> public final class ActivityThread { int binderLocalObjectCount = Debug . getBinderLocalObjectCount ( ) ; int binderProxyObjectCount = Debug . getBinderProxyObjectCount ( ) ; int binderDeathObjectCount = Debug . getBinderDeathObjectCount ( ) ; - int openSslSocketCount = Debug . countInstancesOfClass ( OpenS...
Fix instance count to be long
<nb> public class MapRecordSource implements RecordSource { private final boolean grouped = false ; void init ( JobConf jconf , MapOperator mapOp , KeyValueReader reader ) throws IOException { - execContext = new ExecMapperContext ( jconf ) ; + execContext = mapOp . getExecContext ( ) ; this . mapOp = mapOp...
MapRecordSource should obtain its ExecContext from a MapOperator Gopal V reviewed by Vikram Dixit
<nb> class TWLanes { final int paddingRight = layout . getPaddingRight ( ) ; final int paddingBottom = layout . getPaddingBottom ( ) ; - final int verticalSpacing = NUMBER0 ; SINGLE - final int horizontalSpacing = NUMBER0 ; SINGLE + final int verticalSpacing = layout . getVerticalSpacing ( ) ; + final int...
library Fix lane size calculation in TWLanes
<nb> import NAMESPACE ; COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT <nb> import NAMESPACE ; COMMENT COMMEN...
Changed opal ticket to opaque ticket in Javadoc
<nb> public final class Installer { return execute ( builder . toString ( ) ) ; } - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - public int cloneUserData ( int srcUserId , int targetUserId , boolean copyData ) { - StringBuilder builder...
Remove unused code
<nb> public class IntObjectHashMap < V > implements IntObjectMap < V > , Iterable < IntObjectM COMMENT COMMENT private int hashIndex ( int key ) { - int hash = key % keys . length ; - if ( hash < NUMBER0 ) { - hash += keys . length ; - } - return hash ; + int length = keys . length ; + SINGLE + re...
Optimize IntObjectHashMap handling of negative keys
<nb> import NAMESPACE ; COMMENT COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT
fr fixed typo in comment
<nb> package NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; COMMENT COMMENT COMMENT COMMENT COMMENT - @ api public final class CoreRegistry { private static Context context ; <nb> package NAMESPACE ; - import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import N...
Allow InjectionHelper to be used in modules
<nb> public class Advice implements AsmVisitorWrapper . ForDeclaredMethods . MethodVisito int readerFlags ) { super ( Opcodes . ASM5 , methodVisitor ) ; this . instrumentedMethod = instrumentedMethod ; - padding = methodEnter . getEnterType ( ) . getStackSize ( ) . getSize ( ) ; SINGLE + padding = methodEnter...
Removed obsolete todo statement
<nb> public class Headers { } public Headers set ( String header , String value ) { - if ( value . contains ( STRING0 ) || value . contains ( STRING1 ) ) + if ( value != null && ( value . contains ( STRING0 ) || value . contains ( STRING1 ) ) ) throw new IllegalArgumentException ( STRING2 ) ; String lc = ...
null check header
<nb> public final class Data { return id ; } + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT public Map < String , Object > getDocument ( ) { return document ; }
add some javadocs to Data getDocument
<nb> public class NumberType extends LiquibaseDataType { } if ( database instanceof OracleDatabase ) { - if ( getParameters ( ) . length > NUMBER0 && getParameters ( ) [ NUMBER0 ] . equals ( STRING0 ) && getParameters ( ) [ NUMBER1 ] . equals ( STRING1 ) ) { + if ( getParameters ( ) . length > NUMBER1 && getP...
prevent ArrayIndexOutOfBoundsException in NumberType
<nb> package NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; - import NAMESPACE ; - import NAMESPACE ; - import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class TagsAction implements RequestHandler { . setDescription ( STRING0 ) ...
Fix typo in parameter description
<nb> public class CommitLogReader } } - private class ReadStatusTracker + private static class ReadStatusTracker { private int mutationsLeft ; public String errorContext = STRING0 ; <nb> public class CommitLogSegmentManagerCDC extends AbstractCommitLogSegmentManager COMMENT COMMENT COMMENT - p...
make Trackers static inner classes
<nb> public class TypeMigrationReplacementUtil { final PsiJavaCodeReferenceElement classReference = expression . getClassOrAnonymousClassReference ( ) ; final PsiType componentType = changeType . getDeepComponentType ( ) ; if ( classReference != null ) { - final PsiElement psiElement = replaceTypeWithClassRefer...
do not change new expression if before after types are equal expressions are equal
<nb> public final class WhenTranslator extends AbstractTranslator { return statementToExecute ; } JsExpression condition = translateConditions ( entry ) ; - return new JsIf ( condition , addDummyBreak ( statementToExecute ) , null ) ; + return new JsIf ( condition , addDummyBreakIfNeed ( statementToExecute ) ...
don t add break after return
<nb> public abstract class AbstractViewAssert < S extends AbstractViewAssert < S , A > , A e Object actualTag = actual . getTag ( key ) ; assertThat ( actualTag ) SINGLE . overridingErrorMessage ( STRING0 , tag , key , actualTag ) SINGLE - . isSameAs ( tag ) ; + . isEqualTo ( tag ) ; return myself ; } ...
Assert view tag equality not identity
<nb> package NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; - import NAMESPACE ; - import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + imp...
fixed building artifact with GWT elements in dumb mode
<nb> final class CdmaSMSDispatcher extends SMSDispatcher { SINGLE SINGLE if ( ( SmsEnvelope . TELESERVICE_WMT != teleService ) && - ( SmsEnvelope . TELESERVICE_WEMT != teleService ) ) { + ( SmsEnvelope . TELESERVICE_WEMT != teleService ) && + ( SmsEnvelope . MESSAGE_TYPE_BROADCAST != sms . getMessageType ( ...
Handle broadcast sms properly
<nb> public class BlockCanaryContext { public static BlockCanaryContext get ( ) { if ( sInstance == null ) { - throw new RuntimeException ( STRING0 ) ; + throw new RuntimeException ( STRING1 ) ; } else { return sInstance ; } <nb> public class BlockCanaryContext { COMMENT COMMENT public String ge...
update default context
<nb> public interface WebSocketMessageBrokerConfigurer { COMMENT COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT
Fix Javadoc typo
<nb> import NAMESPACE ; COMMENT COMMENT COMMENT - COMMENT COMMENT COMMENT COMMENT <nb> public class AndroidResourceProcessingAction { + STRING0 ) public List < DependencyAndroidData > data ; - @ option ( name = STRING1 , - defaultValue = STRING2 , - converter = PathConverter . class , - ca...
Remove unused generatedSourcesPath option handling from AndroidResourceProcessingAction
<nb> public abstract class DialogWrapper { COMMENT COMMENT - COMMENT COMMENT public interface DoNotAskOption { <nb> public abstract class DialogWrapper { String getDoNotShowMessage ( ) ; } - COMMENT - COMMENT - COMMENT - public static class PropertyDoNotAskOption extends DoNotAskOption . A...
remove the PropertyDoNotAskOption
<nb> public class DefaultRecordStore implements RecordStore { keysToDelete . removeAll ( lockedRecords . keySet ( ) ) ; final MapStoreWrapper store = mapContainer . getStore ( ) ; + SINGLE Collection < Object > keysObject = new ArrayList < Object > ( keysToDelete . size ( ) ) ; for ( Data key : keysToDelete...
Add comment documenting the use of ArrayList
<nb> public class ShareUtils { public static TraktRateDialogFragment newInstance ( int tvdbid ) { TraktRateDialogFragment f = new TraktRateDialogFragment ( ) ; Bundle args = new Bundle ( ) ; + args . putInt ( ShareItems . TRAKTACTION , TraktAction . RATE_SHOW . index ) ; args . putInt ( ShareItems . TVDBID , ...
Set TraktActions for TraktRateDialogFragment
<nb> package NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; public class SvgApiProvider extends SignavioContentRepresentationProvider { @ override public void addValueToContent ( Content content , SignavioConnector connector , RepositoryA...
Activiti Cycle removed unused import breaks build again
<nb> public class BoundedExponentialBackoff extends ExponentialBackoff { this . maxSleepTimeMs = maxSleepTimeMs ; } + @ deprecated + public BoundedExponentialBackoff ( long baseSleepTimeMs , int maxSleepTimeMs , int max ) { + super ( baseSleepTimeMs , max ) ; + this . maxSleepTimeMs = maxSleepTimeMs ; +...
adding back deprecated constructor
<nb> public abstract class AbstractReplicatedMap extends ConcurrentHashMap implements Map . Entry e = ( Map . Entry ) i . next ( ) ; Object key = e . getKey ( ) ; MapEntry entry = ( MapEntry ) super . get ( key ) ; - if ( entry != null && entry . isPrimary ( ) ) set . add ( entry ) ; + if ( entry != null && e...
Revert previous fix after veto
<nb> public class InteractiveShell out . println ( STRING0 + version + STRING1 + System . getProperty ( STRING2 ) ) ; out . println ( STRING3 ) ; out . println ( STRING4 ) ; + out . println ( STRING5 ) ; int counter = NUMBER0 ; boolean running = true ;
Added a message about the go command to execute statements
<nb> public interface ExternalResource extends Closeable { COMMENT COMMENT COMMENT - public URI getURI ( ) ; + URI getURI ( ) ; COMMENT COMMENT COMMENT - public String getName ( ) ; + String getName ( ) ; COMMENT COMMENT COMMENT COMMENT COMMENT - public boolean isLocal ( ) ; + bool...
Removed unnecessary modifiers
<nb> public class DisUnityProcessor implements Runnable , FileVisitor < Path > { static { PrintStream out = System . out ; Map < String , Action > commands = new HashMap < > ( ) ; + commands . put ( STRING0 , new DumpAction ( ) . setDumpToFiles ( false ) ) ; + commands . put ( STRING1 , new DumpAction ( ) . s...
Added back old dump commands
<nb> public class LockPatternUtils { COMMENT COMMENT public long getLockoutAttemptDeadline ( int userId ) { - final long deadline = getLong ( LOCKOUT_ATTEMPT_DEADLINE , NUMBER0 L , userId ) ; + long deadline = getLong ( LOCKOUT_ATTEMPT_DEADLINE , NUMBER0 L , userId ) ; final long timeoutMs = getLong ( LOCKO...
reset lockout deadline on device reboot
<nb> final class TransportSet implements WithLogId { delayedTransport . endBackoff ( ) ; boolean shutdownDelayedTransport = false ; Runnable runnable = null ; + SINGLE + SINGLE + SINGLE + SINGLE + boolean hasPendingStreams = delayedTransport . hasPendingStreams ( ) ; synchronized ( lock ) { reconnec...
Fix a deadlock in TransportSet
<nb> public final class UdpChannel final String msg = STRING0 ; throw new IllegalArgumentException ( - format ( msg , Arrays . toString ( MULTICAST_KEYS ) , Arrays . toString ( UNICAST_KEYS ) ) ) ; + format ( msg , Arrays . toString ( UNICAST_KEYS ) , Arrays . toString ( MULTICAST_KEYS ) ) ) ; } }
Java Fix error message
<nb> import NAMESPACE ; COMMENT COMMENT COMMENT - COMMENT + COMMENT + COMMENT + COMMENT + COMMENT COMMENT COMMENT COMMENT
Added EXPERIMENTAL disclaimer to FactoryProxy
<nb> public class NetworkController extends BroadcastReceiver { combinedActivityIconId = mMobileActivityIconId ; combinedSignalIconId = mDataSignalIconId ; SINGLE mContentDescriptionCombinedSignal = mContentDescriptionDataType ; + } else { + mMobileActivityIconId = NUMBER0 ; } }
Fix data activity overlay not being removed when data is disabled
<nb> public interface CacheConstants { String CACHE_KEY = CACHE_HEADER_PREFIX + STRING0 ; String CACHE_ELEMENT_WAS_FOUND = CACHE_HEADER_PREFIX + STRING1 ; - String CACHE_ELEMENT_EXPIRY_TTL = STRING2 ; - String CACHE_ELEMENT_EXPIRY_IDLE = STRING3 ; - String CACHE_ELEMENT_EXPIRY_ETERNAL = STRING4 ; + String...
Added headers to set ttl eternal etc when adding updating to cache
<nb> public class CommitHelper { text += STRING0 + changesFailedToCommit . size ( ) + STRING1 ; } final String title = STRING2 ; - Notifications . Bus . notify ( new Notification ( Notifications . LOG_ONLY_GROUP_ID , title , text , NotificationType . INFORMATION ) , myProject ) ; + Notifications . Bus . notif...
log commit message
<nb> public class SqsConfiguration { private Integer defaultVisibilityTimeout ; @ uriparam ( defaultValue = STRING0 ) private Boolean extendMessageVisibility = Boolean . FALSE ; + @ uriparam ( defaultValue = STRING1 ) private Integer concurrentConsumers = NUMBER0 ; SINGLE
Add component doc
<nb> public abstract class JFlexXref { if ( iconId != null ) { out . write ( STRING0 ) ; out . write ( iconId ) ; - out . write ( STRING1 ) ; + COMMENT + out . write ( STRING2 ) ; } }
Fixed Internet Explorer compatibility
<nb> package NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; COMMENT COMMENT <nb> public class Mark return res . toString ( ) ; } + public static class KeySorter implements Comparator + { + public int compare ( Object o1 , Object o2 ) + { + Mark ...
Added util class for sorting marks by key
<nb> public final class Pm { } name = arg ; try { - if ( mUm . createUser ( name , NUMBER0 ) == null ) { + final UserInfo info = mUm . createUser ( name , NUMBER0 ) ; + if ( info != null ) { + System . out . println ( STRING0 + info . id ) ; + } else { System . err . println ( STRING1 ) ; } } catc...
Print newly generated userId
<nb> public abstract class TestSupport extends TestCase { COMMENT COMMENT + COMMENT + COMMENT COMMENT @ deprecated public static ValueBuilder property ( String name ) {
Users of the deprecated TestSupport property String name should use TestSupport exchangeProperty String instead
<nb> class PartitionRequestServerHandler extends SimpleChannelInboundHandler < NettyMes } private void respondWithError ( ChannelHandlerContext ctx , Throwable error , InputChannelID sourceId ) { - LOG . debug ( STRING0 , error ) ; + LOG . debug ( STRING1 , error . getClass ( ) ) ; ctx . writeAndFlush ( n...
runtime logging Fix log message
<nb> public class QuickReturnGooglePlusFragment extends ListFragment { headerViews . add ( getActionBarView ( ) ) ; ArrayList < View > footerViews = new ArrayList < View > ( ) ; - mQuickReturnFooterTextView . setTag ( R . id . scroll_threshold_key , NUMBER0 ) ; + mQuickReturnFooterTextView . setTag ( R . id ....
Fixed google plus footer scroll thresholds
<nb> public class NdkCxxPlatforms { platform , ndkRoot , NdkCxxPlatformTargetConfiguration . builder ( ) - . setToolchain ( Toolchain . ARM_LINUX_ADNROIDEABI ) + . setToolchain ( Toolchain . ARM_LINUX_ANDROIDEABI ) . setTargetArch ( TargetArch . ARM ) . setTargetArchAbi ( TargetArchAbi . ARMEABI ) . set...
Fix typo ARM_LINUX_ADNROIDEABI ARM_LINUX_ANDROIDEABI
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class FolderList extends K9ListActivity { if ( account . equals ( mAccount ) ) { mHandler . progress ( false ) ; - - if ( C...
Removed unused debug message
<nb> package NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class FileContentProvider extends ContentProvider { boolean upgraded = false ; boolean renamed = false ; - String selectQuery = STRING0 + - ProviderTableMeta . FILE_TABLE_NAME + S...
Replace rawQuery by query onUpgrade updateDownloadedFiles
<nb> public class GLMModel extends Model < GLMModel , GLMModel . GLMParameters , GLMModel . GLM glm . error ( STRING0 , STRING1 ) ; if ( _weights_column != null && _offset_column != null && _weights_column . equals ( _offset_column ) ) glm . error ( STRING2 , STRING3 ) ; + if ( _alpha != null && _alpha [ NUMBER...
add check for negative alpha value
<nb> public class Tool { SINGLE if ( tokenVocabNode != null ) { String vocabName = tokenVocabNode . getText ( ) ; + SINGLE + int len = vocabName . length ( ) ; + int firstChar = vocabName . charAt ( NUMBER0 ) ; + int lastChar = vocabName . charAt ( len - NUMBER1 ) ; + if ( len >= NUMBER2 && firstChar ==...
Allow paths as tokenVocab option
<nb> public abstract class TWLayoutManager extends LayoutManager { @ override public void onLayoutChildren ( Recycler recycler , State state ) { - final int start = getStartEdge ( ) ; - final int end = getEndEdge ( ) ; - if ( mPendingSavedState != null ) { mPendingItemPosition = mPendingSavedState . anc...
library Remove unused variables in TWLayoutManager
<nb> public class JdbcSessionDatabaseInitializer { static { Map < String , String > aliases = new HashMap < String , String > ( ) ; - aliases . put ( STRING0 , STRING1 ) ; - aliases . put ( STRING2 , STRING3 ) ; + aliases . put ( STRING4 , STRING5 ) ; + aliases . put ( STRING6 , STRING1 ) ; + aliases . ...
Fix aliases for database names in JdbcSessionDatabaseInitializer
<nb> public class BinaryExpressionMultiTypeDispatcher extends BinaryExpressionHelper subscript . visit ( acg ) ; operandStack . doGroovyCast ( int_TYPE ) ; int subscriptValueId = compileStack . defineTemporaryVariable ( STRING0 , ClassHelper . int_TYPE , true ) ; - operandStack . remove ( NUMBER0 ) ; SINGLE...
defineTemporaryVariable already removes the entry in operand stack doing it again is wrong then
<nb> public class HuffmanTest { STRING0 , STRING1 , STRING2 } , { STRING3 , STRING4 , STRING5 } , { STRING6 , STRING7 , STRING8 } , - { STRING9 , STRING1 , STRING9 } , } ; @ test
removed bad test
<nb> COMMENT package NAMESPACE ; + import NAMESPACE ; + COMMENT COMMENT COMMENT - public interface ModuleVersionIdentifier { + public interface ModuleVersionIdentifier extends Serializable { COMMENT COMMENT
fix failed automerge and fix ci
<nb> public class FolderList extends K9ListActivity { @ override public boolean onOptionsItemSelected ( MenuItem item ) { switch ( item . getItemId ( ) ) { + case R . id . compose : + MessageCompose . actionCompose ( this , mAccount ) ; + + return true ; + case R . id . check_mail : checkMail ( mAcc...
Fixed Compose and Accounts menu options
<nb> public abstract class AbstractMaterial extends PersistentObject implements Mater } public boolean hasDestinationFolder ( ) { - return requiresDestinationFolder ( ) && ! StringUtil . isBlank ( getFolder ( ) ) ; + return ! StringUtil . isBlank ( getFolder ( ) ) ; } protected boolean requiresDestinati...
Reverting it to two checks as before
<nb> public class BasicActivity extends ActionBarActivity { } if ( gravity_demo ) { pointer . setGravity ( Gravity . BOTTOM | Gravity . RIGHT ) ; + button . setText ( STRING0 ) ; } SINGLE
EXAMPLE Improve pointer gravity example by making it more obvious
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> import NAMESPACE ; import NAMESPACE ; - public class GoHighlightExitPointsHandlerFactory implements Highlight...
extends base class instead of interface
<nb> public class LocalChannelTest { assertThat ( e , is ( instanceOf ( ClosedChannelException . class ) ) ) ; SINGLE SINGLE - assertThat ( e . getStackTrace ( ) [ NUMBER0 ] . getClassName ( ) , is ( AbstractChannel . class . getName ( ) + STRING0 ) ) ; - e . printStackTrace ( ) ; + if ( e . getStackTrace (...
Fix test failure
<nb> import NAMESPACE ; public class RewriteCond { - public abstract class Condition { + public static abstract class Condition { public abstract boolean evaluate ( String value , Resolver resolver ) ; } - public class PatternCondition extends Condition { + public static class PatternCondition exten...
Fix Findbugs warnings
<nb> public class WifiConfiguration implements Parcelable { if ( allowedKeyManagement . get ( KeyMgmt . WPA_EAP ) == false ) { return false ; } - if ( allowedKeyManagement . get ( KeyMgmt . IEEE8021X ) == false ) { + if ( ( allowedKeyManagement . get ( KeyMgmt . IEEE8021X ) == false ) + && ( allowedKeyManag...
Allow yet another combination of key management options
<nb> public class FileSystemUtils { } } - private static ByteSource asByteSource ( final Path path ) { + public static ByteSource asByteSource ( final Path path ) { return new ByteSource ( ) { @ override public InputStream openStream ( ) throws IOException { return path . getInputStream ( ) ; <nb> pub...
Publicize some ByteSink ByteSource creators in FileSystemUtils
<nb> public class WindowFrame extends Composite { if ( ! isVisible ( ) ) fireEvent ( new WindowStateChangeEvent ( WindowState . NORMAL ) ) ; + + events_ . fireEvent ( new WindowEnsureVisibleEvent ( this ) ) ; } @ override
allow panes to raise themselves again
<nb> COMMENT 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 ; - COMMENT +...
add method to RuleContext
<nb> public abstract class MenuDrawer extends ViewGroup { final int oldOffset = ( int ) mOffsetPixels ; final int newOffset = ( int ) offsetPixels ; + mOffsetPixels = offsetPixels ; + if ( newOffset != oldOffset ) { onOffsetPixelsChanged ( newOffset ) ; - - mOffsetPixels = offsetPixels ; mMenuVisibl...
Always save the new offset
<nb> public abstract class AbstractReferenceCounted implements ReferenceCounted { } } + COMMENT + COMMENT + COMMENT + protected final void setRefCnt ( int refCnt ) { + this . refCnt = refCnt ; + } + @ override public ReferenceCounted retain ( ) { for ( ; ; ) { <nb> public abstract class Abst...
Add setRefCnt int method to AbstractReferenceCounted ByteBuf
<nb> import NAMESPACE ; @ target ( ElementType . FIELD ) public @ interface ColumnSpec { - public static final String DEFAULT_NONE = STRING0 ; - public static final String DEFAULT_NULL = STRING1 ; + String DEFAULT_NONE = STRING0 ; + String DEFAULT_NULL = STRING1 ; COMMENT COMMENT
Fix a warning
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class GroovyDslFileIndex extends ScalarIndexExtension < String > { private static void clearScriptCache ( ) { for ( Project proje...
drop resolve caches on gdsl script activation deactivation
<nb> public class CFDefinition implements Iterable < CFDefinition . Name > public final LinkedHashMap < ColumnIdentifier , Name > columns = new LinkedHashMap < ColumnIdentifier , Name > ( ) ; public final Name value ; SINGLE - public final Map < ColumnIdentifier , Name > metadata = new TreeMap < ColumnIdentifie...
Add back ColumnIdentifier comparison since we do use it
<nb> public class ReliabilityTestActivity extends Activity { webView . stopLoading ( ) ; Log . v ( LOGTAG , STRING0 + progress ) ; timeoutFlag = true ; + handler . postDelayed ( pageDoneRunner , manualDelay ) ; } public boolean waitUntilDone ( ) { <nb> public class ReliabilityTestActivity extends Activi...
Changed logic to handle timeout pages
<nb> public class GrailsASTUtils { public static final ClassNode INTEGER_CLASS_NODE = new ClassNode ( Integer . class ) . getPlainNodeReference ( ) ; public static final Parameter [ ] ZERO_PARAMETERS = new Parameter [ NUMBER0 ] ; public static final ArgumentListExpression ZERO_ARGUMENTS = new ArgumentListExpressi...
restoring GrailsASTUtils THIS_EXPR for now as it is referred to by grails data mapping