diff
stringlengths
38
1.78k
msg_token
stringlengths
9
190
<nb> public class QualifierAnnotationAutowireCandidateResolver implements AutowireCan actualValue = bd . getAttribute ( attributeName ) ; } if ( actualValue == null && attributeName . equals ( AutowireCandidateQualifier . VALUE_KEY ) && - ( expectedValue . equals ( bdHolder . getBeanName ( ) ) || - ObjectUtil...
introduced matchesName method on BeanDefinitionHolder
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> final class Manager extends Handler { if ( null != crouton . getViewGroup ( ) ) { SINGLE final ViewGroup croutonViewGroup = crouton . ...
Fix Crouton into a custom RelativeLayout
<nb> public class LockHolderImpl implements LockHolder @ override public boolean equals ( Object obj ) { - return actual . equals ( obj ) ; + return obj instanceof SchemaLock ; } } }
Improves index lookup performance by one order of magnitude
<nb> import NAMESPACE ; COMMENT COMMENT COMMENT - COMMENT COMMENT - @ deprecated public class Time { private long number ; private TimeUnit timeUnit = TimeUnit . MILLISECONDS ;
Removed deprecation because camel bam uses the Time
<nb> public final class Queue < T > extends AbstractsQueue < T , Queue < T > > implements Linea public < U , R > Queue < R > zipWith ( Iterable < ? extends U > that , BiFunction < ? super T , ? super U , ? extends R > mapper ) { Objects . requireNonNull ( that , STRING0 ) ; Objects . requireNonNull ( mapper , STR...
remove unnecessary cast
<nb> public class GenericValueReferenceProvider implements PsiReferenceProvider { SINGLE DomElement parent = domElement . getParent ( ) ; - if ( domElement . equals ( parent . getGenericInfo ( ) . getNameDomElement ( parent ) ) ) { + if ( domElement . equals ( parent . getGenericInfo ( ) . getNameDomElement (...
Generate self references for not resolving elements only
<nb> COMMENT COMMENT COMMENT - package NAMESPACE ; + package NAMESPACE ; import NAMESPACE ; import NAMESPACE ;
move ErrorQueue used by BaseTest to the runtime test area
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class ScheduledExecutorServiceTest extends HazelcastTestSupport { } @ test + @ ignore public void stats ( ) throws Execut...
Disable Scheduled Executor stats related tests until fixed
<nb> public class OProperty extends OSchemaRecord { final int [ ] clusterIds = owner . getClusterIds ( ) ; for ( int clusterId : clusterIds ) - for ( Object record : database . browseCluster ( database . getClusterNameById ( clusterId ) ) . setReuseSameRecord ( true ) ) { + for ( Object record : database . br...
Fixed issue on property indexing
<nb> public class WebFilter implements Filter { } HttpSession originalSession = requestWrapper . getOriginalSession ( true ) ; - HazelcastHttpSession hazelcastSession = new HazelcastHttpSession ( id , originalSession , deferredWrite ) ; + HazelcastHttpSession hazelcastSession = createHazelcastHttpSession ( id...
Allow WebFilter subclasses to override HazelcastHttpSession creation
<nb> public class BigBlueButtonApplication extends MultiThreadedApplicationAdapter { BigBlueButtonSession bbbSession = ( BigBlueButtonSession ) Red5 . getConnectionLocal ( ) . getAttribute ( Constants . SESSION ) ; log . info ( STRING0 + bbbSession . getUsername ( ) + STRING1 + bbbSession . getRoom ( ) + STRING2 ...
handle user leaving from meeting
<nb> public final class RuntimeEnvironment { COMMENT COMMENT public boolean validateExuberantCtags ( ) { - String ctags = getCtags ( ) ; - - - Executor executor = new Executor ( new String [ ] { ctags , STRING0 } ) ; + boolean ret = true ; + Executor executor = new Executor ( new String [ ] { getCtags...
Replaced multiple return paths with just one
<nb> public class W32APIMapperTest extends TestCase { } String returnWStringArgument ( String arg ) ; boolean returnInt32Argument ( boolean arg ) ; - String returnFirstWideStringArrayArgument ( String [ ] args ) ; + String returnWideStringArrayElement ( String [ ] args , int which ) ; } public interface A...
update test to proper native signature
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class IdeaPluginDescriptorImpl implements IdeaPluginDescriptor { if ( this == o ) return true ; if ( ! ( o instanceof IdeaPluginD...
temporary reverted change about comparing plugins by id to avoid unforeseen consequences
<nb> public interface RaftMessages SINGLE NEW_ENTRY_REQUEST , NEW_BATCH_REQUEST , - NEW_CoreMemberSHIP_TARGET , } interface RaftMessage extends Message
remove unused enum value
<nb> public class IoTestUtil { command = new ProcessBuilder ( STRING0 , STRING1 , targetFile . getPath ( ) , linkFile . getPath ( ) ) ; } final int res = runCommand ( command ) ; - assertEquals ( command . command ( ) . toString ( ) , NUMBER0 , res ) ; + String message = command . command ( ) . toString ( ) ;...
clarified error message on Windows
<nb> public class UndoManagerImpl extends UndoManager implements ProjectComponent , Ap public void invalidateActionsFor ( DocumentReference ref ) { ApplicationManager . getApplication ( ) . assertIsDispatchThread ( ) ; - LOG . assertTrue ( ! isInsideCommand ( ) ) ; + SINGLE myUndoStacksHolder . invalidateAc...
undo tests fixed
<nb> public class AsyncHttpRequest { String host = uri . getHost ( ) ; if ( uri . getPort ( ) != - NUMBER0 ) host = host + STRING0 + uri . getPort ( ) ; - ret . set ( STRING1 , host ) ; + if ( host != null ) + ret . set ( STRING1 , host ) ; } ret . set ( STRING2 , getDefaultUserAgent ( ) ) ; ret . set...
do not set host when there is none
<nb> public class Person { return null ; } - SINGLE + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + SINGLE try { long personID = Long . parseLong ( json . getString ( STRING0 ) ) ; Person person = new Person ( personID , blogId , localTableBlogId ) ; <nb> public class Person { String r...
Adds some important comments for users follows endpoints
<nb> public final class RingBuffer < E > extends RingBufferFields < E > implements Cursored COMMENT COMMENT COMMENT + @ deprecated public void resetTo ( long sequence ) { sequencer . claim ( sequence ) ; <nb> public class RingBufferTest assertHandleResetAndNotWrap ( RingBuffer . createMultiProducer ( ...
Deprecate resetTo method
<nb> public class PyTypeTest extends PyTestCase { STRING0 ) ; } + public void testConditionInnerScope ( ) { + doTest ( STRING1 , + STRING2 + + STRING3 + + STRING4 + + STRING5 + + STRING6 + + STRING7 ) ; + } + private static List < TypeEvalContext > getTypeEvalContexts ( @ notnull PyExpressio...
Added test of union types for conditions in inner scope
<nb> package NAMESPACE ; - import NAMESPACE ; - import NAMESPACE ; - import NAMESPACE ; - import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class ASTMerge extends ASTPrim { SINGLE SINGLE - private static class Row { + private sta...
Fix broken merge
<nb> public class ChildNodesGet extends ActivitiCycleWebScript { log . log ( Level . SEVERE , STRING0 + artifactId + STRING1 , e ) ; SINGLE SINGLE - SINGLE + SINGLE SINGLE SINGLE } <nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; import NA...
Adapting rest interface to changes in cycle core
<nb> public abstract class WebSocketMessageBrokerConfigurationSupport extends Abstrac @ bean public ThreadPoolTaskScheduler messageBrokerSockJsTaskScheduler ( ) { ThreadPoolTaskScheduler scheduler = new ThreadPoolTaskScheduler ( ) ; + scheduler . setPoolSize ( Runtime . getRuntime ( ) . availableProcessors ( ) ...
Adjust SockJS scheduler core pool size
<nb> public final class ClassInitializerTranslator extends AbstractTranslator { SINGLE if ( context ( ) . isEcma5 ( ) ) { - JsName ref = context ( ) . scope ( ) . declareName ( STRING0 ) ; + JsName ref = context ( ) . scope ( ) . declareName ( Namer . CALLEE_NAME ) ; initializer . setName ( ref ) ; JsInvo...
Use Namer CALLEE_NAME in ClassInitializerTranslator
<nb> class AlarmManagerService extends SystemService { if ( mAlarmBatches . size ( ) > NUMBER0 ) { final Batch firstWakeup = findFirstWakeupBatchLocked ( ) ; final Batch firstBatch = mAlarmBatches . get ( NUMBER0 ) ; - SINGLE - if ( firstWakeup != null ) { + if ( firstWakeup != null && mNextWakeup != firstW...
DO NOT MERGE ANYWHERE Revert Always re establish kernel alarms when considering new alarm set
<nb> public class RuleIndex extends BaseIndex < RuleKey , RuleDto > { COMMENT SearchResponse esResult = esSearch . get ( ) ; - System . out . println ( STRING0 + esResult ) ; COMMENT Results results = new Results ( esResult )
Removed debug output from Index
<nb> public interface ByteBufferPool this . recycles = new ArrayList < > ( ) ; } - public ByteBuffer acquire ( int capacity , boolean direct ) + public ByteBuffer acquire ( int capacity , boolean direct ) { - ByteBuffer buffer = byteBufferPool . acquire ( capacity , direct ) ; - buffers . add ( buffer )...
Introduced Lease prepend
<nb> public class ColorPicker extends View { mAngle = savedState . getFloat ( STATE_ANGLE ) ; setOldCenterColor ( savedState . getInt ( STATE_OLD_COLOR ) ) ; - mPointerColor . setColor ( calculateColor ( mAngle ) ) ; + int currentColor = calculateColor ( mAngle ) ; + mPointerColor . setColor ( currentColor ...
set new color when restore instance state
<nb> public class TachyonFS { connect ( ) ; try { return mMasterClient . user_ls ( path , recursive ) ; + } catch ( FileDoesNotExistException e ) { + mConnected = false ; + return null ; } catch ( TException e ) { mConnected = false ; throw new IOException ( e ) ;
fix a bug in TachyonFS in catching FileDoesNotExistException
<nb> public class XApplication extends XHook { } SINGLE - if ( Util . getAppId ( Process . myUid ( ) ) != PrivacyManager . cAndroidUid ) { + int uid = Process . myUid ( ) ; + if ( Util . getAppId ( uid ) != PrivacyManager . cAndroidUid && ! PrivacyManager . isIsolated ( uid ) ) { boolean experimental = Pr...
Fix isolated processes manage applications
<nb> import NAMESPACE ; public class DependencyBank { SINGLE - static String libgdxVersion = STRING0 ; + static String libgdxVersion = STRING1 ; SINGLE - static String libgdxNightlyVersion = STRING2 ; - static String roboVMVersion = STRING3 ; + static String libgdxNightlyVersion = STRING4 ; + static...
Increased versions for release
<nb> public abstract class AbsListView extends AdapterView < ListAdapter > implements Te if ( getHeight ( ) > NUMBER0 && getChildCount ( ) > NUMBER0 ) { SINGLE SINGLE - mLayoutMode = LAYOUT_NORMAL ; layoutChildren ( ) ; } } else { <nb> public abstract class AbsListView extends AdapterView < ListAdapter ...
Don t switch layout modes in AbsListView onTouchModeChanged
<nb> public class Stage extends InputAdapter implements Disposable { private Actor fireEnterAndExit ( Actor overLast , int screenX , int screenY , int pointer ) { SINGLE screenToStageCoordinates ( stageCoords . set ( screenX , screenY ) ) ; - Actor over = hit ( stageCoords . x , stageCoords . y , false ) ; + ...
Stage enter exit were ignoring touchability
<nb> public class StaggeredGridView extends ViewGroup { final int offset = top + Math . min ( mRestoreOffset , NUMBER0 ) ; Arrays . fill ( mItemTops , offset ) ; Arrays . fill ( mItemBottoms , offset ) ; + mLayoutRecords . clear ( ) ; + if ( mInLayout ) { + removeAllViewsInLayout ( ) ; + } else { + remo...
Fix a bug with changing the column count in StaggeredGridView
<nb> public class ViewOfflineResultsAction extends AnAction { } , null , new PerformAnalysisInBackgroundOption ( project ) ) ; } - @ suppresswarnings ( { STRING0 } ) + @ suppresswarnings ( { STRING0 , STRING1 , STRING2 } ) SINGLE public static InspectionResultsView showOfflineView ( final Project project , ...
do not use default profile when load results from server
<nb> public class ConfigurationTest { Assert . assertEquals ( Constants . SECOND_MS , intValue ) ; intValue = sDefaultConfiguration . getInt ( Constants . MASTER_WORKER_THREADS_MIN ) ; - Assert . assertEquals ( Runtime . getRuntime ( ) . availableProcessors ( ) , intValue ) ; + Assert . assertEquals ( NUMBER0...
Fix configuration testing
<nb> COMMENT package NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; import NAMES...
remove dead code
<nb> public abstract class ProtocolProviderFactory public static final String PROXY_PORT = STRING0 ; COMMENT + COMMENT + COMMENT + COMMENT + public static final String PREFERRED_TRANSPORT = STRING1 ; + + + COMMENT COMMENT COMMENT COMMENT
Implementing SIP support work in progress
<nb> public class RestClusterStateAction extends BaseRestHandler { builder . endArray ( ) ; builder . endObject ( ) ; } - builder . endObject ( ) ; + builder . endArray ( ) ; } <nb> public class RestClusterStateAction extends BaseRestHandler { } @ override public void onFailure ( Throwable e ) {...
fix wrong REST response generation of cluster state
<nb> public class Projects implements OpenProjectFileHandler , } ) ; } + @ handler + public void onClearRecentProjects ( ) + { + SINGLE + pMRUList_ . get ( ) . clear ( ) ; + } @ handler public void onNewProject ( )
Added the callback to actually clear the recent projects from the popup menu
<nb> public class StickyListHeadersListView extends FrameLayout { } mList . setCacheColorHint ( a . getColor ( R . styleable . StickyListHeadersListView_android_cacheColorHint , mList . getCacheColorHint ( ) ) ) ; - if ( Build . VERSION . SDK_INT > Build . VERSION_CODES . HONEYCOMB ) { + if ( Build . VERSION ...
Fixed condition for setChoiceMode
<nb> public class BottomBar extends RelativeLayout implements View . OnClickListener , V COMMENT COMMENT public void noResizeGoodness ( ) { + if ( mItems != null ) { + throw new UnsupportedOperationException ( STRING0 + + STRING1 + + STRING2 ) ; + } + mIgnoreShiftingResize = true ; }
Now throwing an exception when calling noResizeGoodness improperly
<nb> public class Vec extends Keyed { public final void set ( long i , double d ) { _vec . chunkForRow ( i ) . set ( i , d ) ; } public final void set ( long i , float f ) { _vec . chunkForRow ( i ) . set ( i , f ) ; } public final void setNA ( long i ) { _vec . chunkForRow ( i ) . setNA ( i ) ; } + public fina...
implement set String through Vec Writer
<nb> public class DeepLearningProstateTest extends TestUtil { - NUMBER0 , SINGLE - NUMBER1 , SINGLE NUMBER2 , SINGLE - rng . nextInt ( NUMBER3 ) , SINGLE + rng . nextInt ( NUMBER4 ) , SINGLE NUMBER5 , SINGLE } ) { DeepLearningModel model1 = null , model2 = null ; <nb> public class DeepLearningProstate...
Improve assertion for number of training rows
<nb> public class PackageChange extends BroadcastReceiver { PrivacyManager . clearPermissionCache ( uid ) ; else { SINGLE - PrivacyManager . deleteRestrictions ( uid , null , false ) ; + PrivacyManager . deleteRestrictions ( uid , null , true ) ; PrivacyManager . deleteSettings ( uid ) ; PrivacyManager . ...
Clear existing whitelists if installing new app
<nb> public class BaseObject3D extends ATransformable3D implements Comparable < BaseObj mProjMatrix = projMatrix ; if ( ! mDoubleSided ) GLES20 . glEnable ( GLES20 . GL_CULL_FACE ) ; - if ( mEnableBlending ) { + if ( mEnableBlending && ! ( pickerInfo != null && mIsPickingEnabled ) ) { GLES20 . glEnable ( GL...
Disabled blending during color picking render pass
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class HighlyAvailableGraphDatabase extends InternalAbstractGraphDatabase SINGLE SINGLE SINGLE - accessGuard . await ( stateSw...
If timeout while waiting for access guard fail transaction straight away
<nb> public class ZincScalaCompiler implements Compiler < ScalaJavaJointCompileSpec > , S SINGLE int transitiveStep = NUMBER0 ; double recompileAllFraction = FLOAT0 ; + boolean recompileOnMacroDef = true ; + boolean nameHashing = true ; boolean relationsDebug = false ; boolean apiDebug = false ; int api...
Used new constructor for IncOptions
<nb> public class TextView extends View implements ViewTreeObserver . OnPreDrawListener private final TextPaint mTextPaint ; private boolean mUserSetTextScaleX ; private final Paint mHighlightPaint ; - private int mHighlightColor = NUMBER0 ; + private int mHighlightColor = NUMBER1 ; COMMENT COMMENT COMM...
Updated text selection color
<nb> public final class JITWatchConstants public static final String ATTR_PROF_FACTOR = STRING0 ; public static final String ENTITY_APOS = STRING1 ; + public static final String S_ENTITY_LT = STRING2 ; + public static final String S_ENTITY_GT = STRING3 ; public static final String S_OPEN_PARENTHESES = STR...
fixed missing constants
<nb> package NAMESPACE ; + import NAMESPACE ; + import NAMESPACE ; COMMENT <nb> public class FutureTask < V > implements RunnableFuture < V > { ! U . compareAndSwapObject ( this , RUNNER , null , Thread . currentThread ( ) ) ) return ; try { - Callable < V > c = callable ; + @ retainedlocalr...
Fix premature release in canceled FutureTask
<nb> class SQLCompletor extends SimpleCompletor { SINGLE String keywords = new BufferedReader ( new InputStreamReader ( SQLCompletor . class . getResourceAsStream ( - STRING0 ) ) ) . readLine ( ) ; + STRING1 ) ) ) . readLine ( ) ; SINGLE try {
Beeline throws non terminal NPE upon starting after mavenization Szehon Ho reviewed by Navis
<nb> public class Task < TResult > { } COMMENT - COMMENT + COMMENT COMMENT public static < TResult > Task < TResult > cancelled ( ) { Task < TResult > . TaskCompletionSource tcs = Task . < TResult > create ( ) ;
Fix javadoc of Task cancelled method
<nb> public class ForTestCompileStdlib { } } + + private static Throwable compilationException ; public static File stdlibJarForTests ( ) { synchronized ( ForTestCompileStdlib . class ) { + if ( compilationException != null ) { + throw new RuntimeException ( STRING0 + compilationException , compilat...
do not compile stdlib more then once for tests
<nb> public class AvroComponent extends DefaultComponent { Iterable < Protocol . Message > messagesToCheck = config . getMessageName ( ) == null ? messageMap . values ( ) : Collections . singleton ( messageMap . get ( config . getMessageName ( ) ) ) ; - for ( Protocol . Message message : messagesToCheck ) { +...
fixed CS error
<nb> public class SnmpOIDPoller extends ScheduledPollConsumer implements ResponseList super ( endpoint , processor ) ; this . endpoint = endpoint ; SINGLE - setDelay ( endpoint . getDelay ( ) * NUMBER0 ) ; + setDelay ( endpoint . getDelay ( ) * NUMBER1 ) ; } @ override <nb> COMMENT package NAMESPA...
Fixed the CS errors
<nb> public class TestCassandraDistributed } @ override + public void testGroupingSetMixedExpressionAndColumn ( ) + throws Exception + { + SINGLE + } + + @ override + public void testGroupingSetMixedExpressionAndOrdinal ( ) + throws Exception + { + SINGLE + } + + @ override public vo...
Remove grouping set test from some connectors
<nb> public class AnalysisReportDao extends BaseDao < AnalysisReportMapper , AnalysisRep } public List < AnalysisReportDto > findByProjectKey ( DbSession session , String projectKey ) { - List < AnalysisReportDto > analysisReports = mapper ( session ) . selectByProjectKey ( projectKey ) ; - return analysisRep...
Fix quality flaws
<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 NAMES...
Temporarily switch the daemon composite coordinator off CI fix
<nb> public class ShardedDistributedScheduler implements TaskScheduler { } ; } + + @ override + public String getName ( ) { + return queueName ; + } + } <nb> public interface TaskScheduler { COMMENT COMMENT TaskProducer createProducer ( ) ; + + COMMENT + COMMENT + COMMENT + COMMENT...
Expose Queue Name in the API
<nb> public class ArrayUtils { } } } else { - SINGLE Integer [ ] d = new Integer [ idxs . length ] ; for ( int i = NUMBER0 ; i < idxs . length ; ++ i ) d [ i ] = idxs [ i ] ; SINGLE
Remove wrong comment
<nb> import static NAMESPACE ; COMMENT COMMENT COMMENT - COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT COMMENT @ target ( TYPE ) @ retention ( RUNTIME )
Supplementing message in the BinaryInterface classes
<nb> public abstract class WsRemoteEndpointImplBase implements RemoteEndpoint { sm . getString ( STRING0 ) ) ; } - doWrite ( false ) ; + if ( buffer . position ( ) > NUMBER0 ) { + doWrite ( false ) ; + } } @ override <nb> public abstract class WsRemoteEndpointImplBase implements RemoteEndpoint { ...
As an additional cleanup don t write any empty message when flushing and there s no data to flush
<nb> public class NetworkUtil return savedIfc ; } + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT public static Collection < NetworkInterface > filterBySubnet ( InetAddress address , int subnetPrefix ) throws Socke...
Remove unused code
<nb> public class State implements Cloneable { this . backEdgeNarrative = null ; this . hops = NUMBER0 ; this . stateData = new StateData ( ) ; + SINGLE + SINGLE this . stateData . opt = options ; this . stateData . startTime = time ; this . stateData . tripSeqHash = NUMBER0 ; <nb> public class GraphP...
get options directly rather than indirectly through routing context
<nb> public final class ExecutionVertex { } SINGLE - ExecutionStateTransition . checkTransition ( getName ( ) , this . executionState . get ( ) , newExecutionState ) ; + ExecutionStateTransition . checkTransition ( toString ( ) , this . executionState . get ( ) , newExecutionState ) ; SINGLE if ( this ....
Improved logging of state transitions
<nb> public class InferenceIncorporationPhase { LOG . assertTrue ( parameters . length == typeArgs . length ) ; for ( int i = NUMBER0 ; i < typeArgs . length ; i ++ ) { PsiType aType = typeArgs [ i ] ; + if ( aType instanceof PsiCapturedWildcardType ) { + aType = ( ( PsiCapturedWildcardType ) aType ) . getWil...
captured wildcard treatment
<nb> import NAMESPACE ; public class GraphiteFormatter { private MessageCounter counter ; - String serverId ; String prefix ; - public GraphiteFormatter ( MessageCounter counter , String serverId , String prefix ) { + public GraphiteFormatter ( MessageCounter counter , String prefix ) { this . counter...
don t include server id in graphite metrics
<nb> public class AmqpTransport extends ThrottleableTransport { new TextField ( CK_ROUTING_KEY , STRING0 , - defaultRouttingKey ( ) , + defaultRoutingKey ( ) , STRING1 , ConfigurationField . Optional . NOT_OPTIONAL ) <nb> public class AmqpTransport extends ThrottleableTransport { return cr ; } ...
Fix typo in method name
<nb> public class Gossiper implements IFailureDetectionEventListener , GossiperMBean return true ; try { - if ( entry . getValue ( ) . getApplicationStateMap ( ) . keySet ( ) . contains ( ApplicationState . INTERNAL_IP ) && seeds . contains ( InetAddress . getByName ( entry . getValue ( ) . getApplicationState ...
prefer containsKey x to keySet
<nb> public class WebView extends AbsoluteLayout COMMENT COMMENT COMMENT - COMMENT COMMENT + COMMENT COMMENT COMMENT COMMENT COMMENT COMMENT COMMENT - public void onFindResultReceived ( int numberOfMatches , int activeMatchOrdinal , + public void onFindResultReceived ( int activeMatchOrdinal...
Fix onFindResultReceived API
<nb> public class AtmosphereFramework implements ServletContextProvider { @ override public void onResume ( AtmosphereRequest request , AtmosphereResponse response ) { - logger . trace ( STRING0 , request , response ) ; + logger . trace ( STRING1 , request , response ) ; } @ override public void onTim...
Fix wrong message
<nb> public class EntityBeanRemoteViewInstanceFactory implements ViewInstanceFactory exceptionOnCreate = false ; } finally { if ( exceptionOnCreate ) { - entityBeanComponent . releaseEntityBeanInstance ( instance ) ; + entityBeanComponent . discardEntityBeanInstance ( instance ) ; } } instance . associa...
Discard instance on exception from ejbCreate instead of releasing it back to pool
<nb> public final class SimpleCommandMap implements CommandMap { COMMENT public boolean dispatch ( CommandSender sender , String commandLine ) { String [ ] args = commandLine . split ( STRING0 ) ; - String sentCommandLabel = args [ NUMBER0 ] . substring ( NUMBER1 ) ; + String sentCommandLabel = args [ NUMBER0...
Don t delete the first char of the command passed
<nb> abstract class BaseNodeDeserializer < T extends JsonNode > return node ; case JsonTokenId . ID_EMBEDDED_OBJECT : node . add ( _fromEmbedded ( p , ctxt , nodeFactory ) ) ; + break ; case JsonTokenId . ID_STRING : node . add ( nodeFactory . textNode ( p . getText ( ) ) ) ; break ;
Don t generate a spurious NullNode after parsing an embedded object
<nb> import NAMESPACE ; public class GradleProjectSettings extends ExternalProjectSettings { @ nullable private String myGradleHome ; - @ nullable private String myGradleJvm = ExternalSystemJdkUtil . USE_PROJECT_JDK ; + @ nullable private String myGradleJvm ; @ nullable private DistributionType distribution...
do not set project gradle jvm by default
<nb> - package NAMESPACE ; + package NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> package NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> package NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import N...
moved MocoMonitor to top level for publish
<nb> public class UndertowEndpoint extends DefaultEndpoint implements HeaderFilterStr private Map < String , Object > options ; @ uriparam ( label = STRING0 , description = STRING1 ) - boolean optionsEnabled ; + private boolean optionsEnabled ; public UndertowEndpoint ( String uri , UndertowComponent comp...
Add missing access modifier
<nb> public class LoggerListener implements ApplicationListener { } } + if ( event instanceof AuthenticationFailureCredentialsExpiredEvent ) { + AuthenticationFailureCredentialsExpiredEvent authEvent = ( AuthenticationFailureCredentialsExpiredEvent ) event ; + + if ( logger . isWarnEnabled ( ) ) { + log...
Add new AuthenticationFailure events
<nb> public class J3MLoader implements AssetLoader { } private void readShaderDefinition ( Shader . ShaderType shaderType , String name , String language ) { - System . out . println ( shaderType ) ; - System . out . println ( name ) ; shaderName . put ( shaderType , name ) ; shaderLanguage . put ( shader...
Removed two sysouts
<nb> public class NetworkTemplate implements Parcelable { COMMENT COMMENT public static NetworkTemplate buildTemplateMobile3gLower ( String subscriberId ) { - ensureSubtypeAvailable ( ) ; return new NetworkTemplate ( MATCH_MOBILE_3G_LOWER , subscriberId ) ; } <nb> public class NetworkTemplate implements...
Remove network subtype check when building template
<nb> public class SearchActivity extends SherlockFragmentActivity implements OsmAndLo LatLon l = new LatLon ( lat , lon ) ; if ( ! Algorithms . objectEquals ( reqSearchPoint , l ) ) { reqSearchPoint = l ; - if ( ! Algorithms . objectEquals ( reqSearchPoint , settings . getLastKnownMapLocation ( ) ) ) { + if (...
fix small issue
<nb> COMMENT package NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class WebSocketProcessorTest { @ beforemethod public void create ( ) throws Throwable { framework = new AtmosphereFramework ( ) ; - framework . setAsyncSupport ( new Blockin...
Fix intermitent failures
<nb> COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT <nb> COMMENT COMMENT COMMENT - COMMENT COMMENT package NAMESPACE ; <nb> public class SingleResultFuture < T > implements MongoFuture < T > { } if ( exception != null ) { - throw new ExecutionException ( ex...
No longer wrapping MongoException in ExecutionException
<nb> package NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; <nb> import NAMESPACE ; COMMENT public class MysqlBench { - private final ExecutorService threadPool ; private final DataSource dataSource ; privat...
Remove unused thread pool
<nb> public class MediaFocusControl implements OnFinished { if ( needWakeLock ) { mMediaEventWakeLock . acquire ( ) ; } + final long identity = Binder . clearCallingIdentity ( ) ; try { if ( voiceIntent != null ) { voiceIntent . setFlags ( Intent . FLAG_ACTIVITY_NEW_TASK | Intent . FLAG_ACTIVITY_EXCLUDE...
Launch voice based searches as current user
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; COMMENT COMMENT <nb> public class ShowExpressionTypeAction extends AnAction { if ( expression != null ) { JetType type = bindingContext . get ( BindingContext . EXPRESSION_TYPE , expression ) ; if...
Using descriptor renderer in Show Expression Type
<nb> public class DeepLearningIrisTest extends TestUtil { SINGLE mymodel = p . trainModel ( mymodel ) ; + Assert . assertTrue ( mymodel . model_info ( ) . get_processed_total ( ) == epoch * fr . numRows ( ) ) ; COMMENT COMMENT <nb> public class DeepLearningProstateTest extends TestUtil { SINGLE mymo...
Add JUnit assertions for the number of processed rows
<nb> public final class FileSystemMasterClientServiceHandler implements COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMENT @ override @ deprecated
DOCFIX Fix see usage in FileSystemMasterClientServiceHandler getFileBlockInfoList
<nb> public class PsiDocumentManagerImpl extends PsiDocumentManager implements Projec error += STRING0 + ( fileText . length - i ) + STRING1 ; SINGLE error += STRING2 + STRING3 ; LOG . error ( error ) ; - document . replaceString ( NUMBER0 , documentLength , psiFile . getText ( ) ) ; + SINGLE return false ;...
do not saturate log with induced write operation not allowed exceptions
<nb> public class OStorageConfiguration implements OSerializableStream { indexEngines . put ( name . toLowerCase ( getLocaleInstance ( ) ) , indexEngineData ) ; } } - - SINGLE - strictSQL = STRING0 . equalsIgnoreCase ( STRING1 ) ; - txRequiredForSQLGraphOperations = STRING0 . equalsIgnoreCase ( STRING2 ) ...
Remove wrong fix on configuration read from stream
<nb> public abstract class PreferenceFragment extends Fragment implements @ override public void onDestroyView ( ) { + if ( mList != null ) { + mList . setOnKeyListener ( null ) ; + } mList = null ; mHandler . removeCallbacks ( mRequestFocus ) ; mHandler . removeMessages ( MSG_BIND_PREFERENCES ) ;
Reset the setOnKeyListener callback when view is destroyed
<nb> public class NavigateRouteTest extends ContextTestSupport { Navigate < Processor > nav = context . getRoutes ( ) . get ( NUMBER0 ) . navigate ( ) ; navigateRoute ( nav ) ; - assertEquals ( STRING0 , NUMBER1 , count ) ; + assertEquals ( STRING1 , NUMBER2 , count ) ; } @ suppresswarnings ( STRING2 )
Fixed issue with unit of work may re wrap route context processor at runtime causing an ever growing processor path
<nb> public class UriLoader implements ModelLoader < Uri > { } } - if ( result == null ) { - throw new IllegalArgumentException ( STRING0 + model ) ; - } - return result ; }
Don t throw on invalid urls
<nb> public class DiscoverInfo extends IQ implements Cloneable { @ override public int hashCode ( ) { - return NUMBER0 * variable . hashCode ( ) ; + return variable . hashCode ( ) ; } @ override
Remove unnecessary multiplication in DiscoverInfo hashCode
<nb> public class MixinTransformer extends TreeTransformer { COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMENT protected void applyMixin ( ClassNode targetClass , MixinData mixin ) {
Fix javadoc error causing build to fail
<nb> import NAMESPACE ; import NAMESPACE ; COMMENT - COMMENT + COMMENT COMMENT @ suppresswarnings ( { STRING0 } ) @ implements ( CookieManager . class )
Fix a typo in javadoc for ShadowCookieManager
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; public abstract class AbstractProcessEnvironment implements ProcessEnvironment { SINGLE
removed obsolete import
<nb> public class ModelMetricsBinomial extends ModelMetricsSupervised { SINGLE public double auc ( ) { return auc_obj ( ) . _auc ; } - SINGLE - SINGLE - SINGLE - SINGLE - SINGLE - SINGLE - SINGLE - SINGLE - SINGLE - SINGLE - SINGLE public double lift_top_group ( ) { return gainsLift ( ) . ...
Remove symbolic CM methods in ModelMetricsBinomial that were only added to facilitate sorting sorting logic asks the CM directly