diff
stringlengths
38
1.78k
msg_token
stringlengths
9
190
<nb> public class OSharedResourceAdaptive { if ( concurrent ) if ( timeout > NUMBER0 ) { try { + SINGLE + checkToScaleUp ( ) ; + if ( lock . writeLock ( ) . tryLock ( timeout , TimeUnit . MILLISECONDS ) ) SINGLE return ;
Supported scale up of shared locks also in case of timeout
<nb> import NAMESPACE ; COMMENT COMMENT COMMENT - COMMENT - COMMENT - COMMENT + COMMENT + COMMENT COMMENT COMMENT COMMENT
Fixed javadoc issues
<nb> public class DispatcherServlet extends FrameworkServlet { return ; } - applyDefaultViewName ( request , mv ) ; + applyDefaultViewName ( processedRequest , mv ) ; mappedHandler . applyPostHandle ( processedRequest , response , mv ) ; } catch ( Exception ex ) {
DispatcherServlet passes resolved multipart request into applyDefaultViewName
<nb> public class ConnectivityManager } } - COMMENT + COMMENT COMMENT COMMENT COMMENT
Fix the build
<nb> public class XaLogicalLog long logEntriesFound = NUMBER0 ; LogApplier logApplier = new LogApplier ( byteChannel , buffer , xaTf , xaRm , cf , xidIdentMap , recoveredTxMap ) ; + scanIsComplete = false ; while ( logApplier . readAndApplyEntry ( ) ) { logEntriesFound ++ ; } + scanIsComplete = true ;...
Fixed problem with apply log
<nb> public class PortletAuthenticationDetails implements Serializable { } public String toString ( ) { - return STRING0 + userInfo . toString ( ) ; + return STRING0 + userInfo ; } }
removed explicit toString call to prevent NPE when userInfo is null
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ;
Fixing unused import independant of current branch
<nb> public class MiniApi extends GrammarWithAlias { return from ( path , Arrays . asList ( arr ) ) ; } + @ suppresswarnings ( STRING0 ) public static < A > ColQuery < ? > from ( A alias , Iterable < A > col ) { return new ColQuery ( ) . from ( $ ( alias ) , col ) ; } <nb> import NAMESPACE ; COMME...
updated javadoc documentation
<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 static NAMESPACE ; public...
replace list with immutable list in create setting monitor
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class BlockingIOCometSupport extends AsynchronousProcessor implements Com COMMENT COMMENT COMMENT - COMMENT + COMMENT ...
Remove unnessary import
<nb> public class CompilerOptions { } COMMENT - COMMENT - COMMENT - boolean acceptTypeSyntax ; - - COMMENT COMMENT COMMENT COMMENT <nb> public class CompilerOptions { SINGLE environment = Environment . BROWSER ; - SINGLE - acceptTypeSyntax = false ; - SINGLE skipNonTranspilationP...
Remove unused field acceptTypeSyntax from CompilerOptions
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class QueryIndexMigrationTest extends HazelcastTestSupport { COMMENT COMMENT COMMENT + SINGLE + @ ignore @ test ( timeout...
ignored testIndexCleanupOnMigration and testMapLoaderLoadUpdatingIndex
<nb> public class LookupCellRenderer implements ListCellRenderer { SINGLE Set < Font > fonts = ContainerUtil . newHashSet ( ) ; for ( int i = NUMBER0 ; i < sampleString . length ( ) ; i ++ ) { - fonts . add ( EditorUtil . fontForChar ( sampleString . charAt ( i ) , Font . BOLD , myLookup . getEditor ( ) ) . get...
don t use bold font as default
<nb> public class TelephonyManager { COMMENT COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT <nb> public class CDMAPhone extends PhoneBase { return mMeid ; } - SINGLE + SINGLE public String getDeviceId ( ) { - return getMeid ( ) ; + String id = getMeid ( ) ; + if ( ( id == null )...
Change CDMAPhone getDeviceId to return MEID or ESN
<nb> public class WaypointHelper { } else if ( type == FAVORITES || type == WAYPOINTS ) { return FavoriteImageDrawable . getOrCreate ( uiCtx , point . getColor ( ) ) ; } else if ( type == ALARMS ) { - if ( RenderingIcons . containsBigIcon ( ( ( AlarmInfo ) point ) . getType ( ) . toString ( ) . toLowerCase ( ) ...
try fix alarm icon list display
<nb> public interface Server { public Player [ ] getOnlinePlayers ( ) ; COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + public Player getPlayer ( String name ) ; + + COMMENT COMMENT COMMENT COMMENT
Added getPlayer String name to Server
<nb> public class PyConsoleStackFrameConnector implements XStackFrameAwareSession { @ override public void reportError ( @ notnull String message ) { - throw new NotImplementedException ( ) ; + throw new UnsupportedOperationException ( ) ; } @ override
do not use Sun s internal NotImplementedException use the standard UnsupportedOperationException instead
<nb> public class TableCreator { private void setException ( SettableFuture < Long > result , Throwable e , CreateTableAnalyzedStatement statement ) { e = Exceptions . unwrap ( e ) ; String message = e . getMessage ( ) ; - if ( message . equals ( STRING0 ) && e . getCause ( ) != null ) { + if ( STRING0 . equa...
Fix NPE on equality comparison
<nb> public abstract class ChooseByNameBase { EventQueue queue = Toolkit . getDefaultToolkit ( ) . getSystemEventQueue ( ) ; if ( queue instanceof IdeEventQueue ) { - if ( ! ( ( IdeEventQueue ) queue ) . wasRootRecentlyClicked ( oppositeComponent ) ) { + if ( ( ( IdeEventQueue ) queue ) . wasRootRecentlyClick...
Platform and Plugins Updates dialog sheet message doesn t have focus when shown from Find Action popup
<nb> public final class FileSystemMaster extends AbstractMaster { COMMENT COMMENT public FileInfo getFileInfo ( AlluxioURI path ) - throws FileDoesNotExistException , InvalidPathException { + throws AccessControlException , FileDoesNotExistException , InvalidPathException { MasterContext . getMasterSource (...
Loading metadata for getFileInfo
<nb> package NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class Log4JLoggingSystemTests { } @ test + @ ignore ( STRING0 ) public void loggingThatUsesJulIsCaptured ( ) { this . lo...
Ignore JUL logging tests that only fail on Bamboo
<nb> public class SqliteMetaData implements DatabaseMetaData { select . put ( STRING0 , null ) ; select . put ( STRING1 , null ) ; QueryBuilder qb = new QueryBuilder ( - new QueryBuilder . Options ( getIdentifierQuoteString ( ) , true , false , false ) ) + new QueryBuilder . Options ( getIdentifierQuoteString...
Fix QueryBuilder constructor call
<nb> public interface Future < T > extends AsyncResult < T > { COMMENT void fail ( String failureMessage ) ; + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT @ override T result ( ) ; + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT @ override Throwable cause ( ) ; + COMMENT ...
Copy also javadoc so they showup in shims
<nb> public class FMLProxyPacket extends Packet { { if ( internalChannel . writeInbound ( this ) ) { - FMLLog . severe ( STRING0 , this . channel , this . target , ByteBufUtils . getContentDump ( this . payload ) ) ; + FMLLog . severe ( STRING1 , this . channel , this . target , internalChannel . inboundMessa...
Log the queue as well
<nb> public class WifiP2pDevice implements Parcelable { STRING0 + STRING1 + STRING2 + - STRING3 + STRING4 ) ; COMMENT
Fix WFD subelement parsing
<nb> public class WindowManagerService extends IWindowManager . Stub mScreenLayout = Configuration . SCREENLAYOUT_SIZE_LARGE ; } else { mScreenLayout = Configuration . SCREENLAYOUT_SIZE_NORMAL ; - - SINGLE - SINGLE - SINGLE - if ( shortSize > NUMBER0 || longSize > NUMBER1 ) { - mScreenLayout |= Config...
Fix screen size compatibility mode
<nb> public class PersistentHashMap < Key , Value > extends PersistentEnumerator < Key > { AppendStream record = new AppendStream ( ) ; myValueExternalizer . save ( record , value ) ; byte [ ] bytes = record . toByteArray ( ) ; - System . out . println ( STRING0 + bytes . length + STRING1 + key ) ; HeaderRe...
remove debug output
<nb> public class FoldingModelWindow implements FoldingModelEx { public FoldRegion createFoldRegion ( int startOffset , int endOffset , @ notnull String placeholder , FoldingGroup group , boolean neverExpands ) { TextRange hostRange = myDocumentWindow . injectedToHost ( new TextRange ( startOffset , endOffset ) ) ;...
create injected fold region correctly
<nb> package NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class Account implements Serializable { @ generatedvalue private int id ; + @ column ( name = STRING0 ) private String num...
Oracle reserved words used as column names
<nb> public class ZenModePanel extends LinearLayout { } tag . condition = condition ; tag . rb . setEnabled ( enabled ) ; - if ( sameConditionId ( mSessionExitCondition , tag . condition ) ) { + if ( mSessionExitCondition != null + && sameConditionId ( mSessionExitCondition , tag . condition ) ) { tag . r...
Restore default selection logic
<nb> public class CatService extends Handler implements AppInterface { } catch ( ClassCastException e ) { SINGLE CatLog . d ( this , STRING0 ) ; - sendTerminalResponse ( mCurrntCmd . mCmdDet , ResultCode . CMD_DATA_NOT_UNDERSTOOD , + SINGLE + if ( mCurrntCmd != null ) { + sendTerminalResponse ( mCurrntCmd...
Don t send terminal response without cmd details
<nb> import NAMESPACE ; : NUMBER0 ; outline . setRoundRect ( getBounds ( ) , mBorderRadius + extraRadiusFromBorderWidth ) ; } else { - super . getOutline ( outline ) ; + outline . setRect ( getBounds ( ) ) ; } }
Fix bug in Android elevation implementation
<nb> public class CrossJoinBenchmark extends BenchmarkBase { } - COMMENT @ benchmarkoptions ( benchmarkRounds = BENCHMARK_ROUNDS , warmupRounds = NUMBER0 ) @ test public void testQTF ( ) { <nb> public class CrossJoinBenchmark extends BenchmarkBase { QTF_WITH_OFFSET_SQL_STMT , NUMBER1 , TimeUnit . MI...
re enable join benchmarks with fetch
<nb> class MountService extends IMountService . Stub COMMENT @ override public int getPasswordType ( ) { - mContext . enforceCallingOrSelfPermission ( Manifest . permission . STORAGE_INTERNAL , - STRING0 ) ; - waitForReady ( ) ; final NativeDaemonEvent event ;
Don t enforce this API it s not sensitive
<nb> public class ViewDragHelper { final int pointerId = MotionEventCompat . getPointerId ( ev , i ) ; final float x = MotionEventCompat . getX ( ev , i ) ; final float y = MotionEventCompat . getY ( ev , i ) ; - if ( mLastMotionX != null && mLastMotionY != null ) { + SINGLE + if ( mLastMotionX != null && m...
In very rare cases a multi finger touch in the main section can cause a crash
<nb> public class GetParamsDynamicProperty extends AbstractDynamicControllerProperty COMMENT COMMENT COMMENT - private class HttpRequestParameterMap implements Map { + class HttpRequestParameterMap implements Map { Map parameterMap = request . getParameterMap ( ) ; public int size ( ) {
Changed inner class visibility
<nb> import NAMESPACE ; COMMENT COMMENT COMMENT - @ target ( ElementType . TYPE ) + @ target ( { ElementType . TYPE , ElementType . METHOD } ) @ retention ( RetentionPolicy . RUNTIME ) public @ interface Instrumented { } <nb> COMMENT package NAMESPACE ; + import static NAMESPACE ; import sta...
Add Instrumented to instrumented methods
<nb> public class TaskExecutionLogger implements TaskExecutionListener { ProgressLogger currentTask = progressLoggerFactory . newOperation ( TaskExecutionLogger . class , parentLoggerPovider . getLogger ( ) ) ; String displayName = getDisplayName ( task ) ; - currentTask . setDescription ( String . format ( STR...
Avoid unnecessary format string parsing
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> import static NAMESPACE public class PipManager { private static final String TAG = STRING0 ; private static final boolean DEBUG = false ; - private st...
Provide a way to show onboarding everytime
<nb> public class Point implements INDArray { this . array = array ; } + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + @ override + public int rank ( ) { + return array . rank ( ) ; + } + @ override public int stride ( int dimension ) { return array . stride ( dimension ) ;
Implement rank method from NDArray
<nb> public class FtpOperations implements RemoteFileOperations < FTPFile > { } log . trace ( STRING0 , username != null ? username : STRING1 , login ) ; if ( ! login ) { - SINGLE - String replyString = client . getReplyString ( ) ; - int replyCode = client . getReplyCode ( ) ; - + SINGLE + String rep...
Fixed CS and adjusted comment in camel ftp FTPOperations
<nb> import NAMESPACE ; COMMENT COMMENT @ requiresauthentication - @ api ( value = STRING0 , description = STRING1 ) + @ api ( value = STRING2 , description = STRING1 ) @ path ( STRING3 ) public class OutputResource extends RestResource { private static final Logger LOG = LoggerFactory . getLogger ( Out...
Fix name in API docs for Outputs endpoint
<nb> package 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 ; import NAMESPACE...
don t import whole java util
<nb> public class InsertIntoIntegrationTest extends SQLTransportIntegrationTest { } @ test + public void testInsertWithParamsInScalar ( ) throws Exception { + execute ( STRING0 ) ; + ensureGreen ( ) ; + Object [ ] args = new Object [ ] { STRING1 } ; + execute ( STRING2 , args ) ; + assertEquals ( NUMB...
added a missing test for inserting with scalar
<nb> public @ interface ObjectiveCName { COMMENT COMMENT COMMENT - public String value ( ) ; + String value ( ) ; } <nb> import NAMESPACE ; COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT <nb> import NAMESPACE ; COMMENT COMMENT COMMENT - COMMENT + COMMENT ...
Fixed javadoc errors reported by mvn deploy
<nb> package NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; - import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public interface ResolverContainer extends Iterable < DependencyReso...
Removed some unused stuff
<nb> COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT <nb> package NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public abstract cl...
add spacing for name component
<nb> final class HttpQuery { return ; } - if ( response . getStatus ( ) == HttpResponseStatus . ACCEPTED ) { - response . setStatus ( status ) ; - } + response . setStatus ( status ) ; final boolean keepalive = HttpHeaders . isKeepAlive ( request ) ; if ( keepalive ) { HttpHeaders . setContentLength...
Fix HttpResponseStatus ACCEPTED comparisons in HttpQuery and always set the
<nb> COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT <nb> public class IdeFrameImpl extends JFrame implements IdeFrameEx , DataProvider { } return ActionCallback . DONE ; } - - @ override - public void toFront ( ) { - super . toFront ( ) ; - } - - @ override - public void toBack ...
remove debug methods
<nb> public class DeterministicHierarchy implements Serializable { throw new IllegalArgumentException ( String . format ( STRING0 , relativePath ? STRING1 : STRING2 , HDUtils . formatPath ( path ) ) ) ; checkArgument ( absolutePath . size ( ) > NUMBER0 , STRING3 ) ; - DeterministicKey parent = get ( absolutePat...
Fix key derivation
<nb> 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 ; - import NAMESPACE ; import NAMESPACE ; import NAMES...
Add an endpoint to return the overlord leader
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import static NAMESPACE ; <nb> public class ActivityDaoTest { Map < String , Object > map = dbTester . selectFirst ( STRING0 ) ; assertThat ( map . get ( STRING1 ) ) . isEqualTo ( STRING2 ) ; - ...
Fix compatibility of tests with Oracle
<nb> public class Message extends AbstractEntity { } public boolean similar ( Message message ) { - if ( this . serverMsgId != null && message . getServerMsgId ( ) != null ) { + if ( type != TYPE_PRIVATE && this . serverMsgId != null && message . getServerMsgId ( ) != null ) { return this . serverMsgId . eq...
don t take stanza id into account when deduping muc pms
<nb> public class MethodAnalyzer { @ nonnull private final Method method ; @ nonnull private final MethodImplementation methodImpl ; + private final int paramRegisterCount ; + @ nonnull private final ClassPath classPath ; @ nullable private final InlineMethodResolver inlineResolver ; <nb> public class...
Add the parameter register count to the stored state in MethodAnalyzer
<nb> public class RegistryUi implements Disposable { final Color color = ColorChooser . chooseColor ( table , STRING0 , myValue . asColor ( Color . WHITE ) ) ; if ( color != null ) { myValue . setValue ( color . getRed ( ) + STRING1 + color . getGreen ( ) + STRING1 + color . getBlue ( ) ) ; + keyChanged ( myVal...
save changed colors in recent changed keys
<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 ; <nb> public class CachesBasedRefSearcher extends Que...
using file name without extension while searching for PsiFileSystemItem review CR IC
<nb> public class HashLoginService extends MappedLoginService implements UserListener private PropertyUserStore _propertyUserStore ; private String _config ; private Resource _configResource ; - private Scanner _scanner ; private boolean hotReload = false ; SINGLE <nb> public class HashLoginService exte...
HashLoginService does not stop its PropertyUserStore
<nb> public class JavaGenerator implements CodeGenerator private CharSequence generateClassDeclaration ( final String className ) { return String . format ( + STRING0 + STRING1 + STRING2 , className
Suppress warnings in generated Java source compilation units
<nb> public class CheckEmptyTagInspection extends XmlSuppressableInspectionTool { Language language = tag . getLanguage ( ) ; return ourTagsWithEmptyEndsNotAllowed . contains ( tagName ) && language != XMLLanguage . INSTANCE || - language == HTMLLanguage . INSTANCE && ! HtmlUtil . isSingleHtmlTagL ( tagName ) &...
use same empty tag rules for html inheritors
<nb> public class TestBatchInsert } @ test + @ ignore public void makeSureLoopsCanBeCreated ( ) { BatchInserter graphDb = newBatchInserter ( ) ;
Ignored failing test
<nb> public class Util { STRING0 , STRING1 , STRING2 , + STRING3 , STRING4 } ;
Add habit browser to fallback browser list
<nb> public class DerbyTypeConverter extends AbstractTypeConverter { return new DateTimeType ( STRING0 ) ; } + @ override public NumberType getNumberType ( ) { return new NumberType ( STRING1 ) ; } + @ override public TinyIntType getTinyIntType ( ) { return new TinyIntType ( STRING2 ) ; }
added override tag
<nb> public class NettyComponentConfigurationAndDocumentationTest extends CamelTestSu @ test public void testComponentConfiguration ( ) throws Exception { NettyComponent comp = context . getComponent ( STRING0 , NettyComponent . class ) ; - EndpointConfiguration conf = comp . createConfiguration ( STRING1 + -...
Minor Fix CS errors in camel netty
<nb> public class GreedoLayoutManager extends RecyclerView . LayoutManager { } SINGLE + COMMENT + COMMENT + COMMENT @ override public void scrollToPosition ( int position ) { if ( position >= getItemCount ( ) ) { <nb> public class GreedoLayoutManager extends RecyclerView . LayoutManager { requestL...
Add missing docs
<nb> import NAMESPACE ; COMMENT COMMENT COMMENT + COMMENT COMMENT COMMENT COMMENT <nb> public class ImportNode extends AnnotatedNode implements Opcodes { public ClassNode getType ( ) { return type ; } + + public String getClassName ( ) { + return type . getName ( ) ; + } }
adding getClassName again for ide plugins
<nb> package NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import static NAMESPACE ; <nb> public class ExtractInterfaceCompanionClass extends ClassVisitor { @ override public MethodVisitor visitMethod ( int access , String name , String desc , String signature , String [ ] exceptions ) { -...
Do not copy abstract methods to companion classes
<nb> public final class HdmiControlService extends SystemService { @ override public void onStart ( ) { + mIoThread . start ( ) ; mCecController = HdmiCecController . create ( this ) ; if ( mCecController != null ) { mCecController . initializeLocalDevices ( getContext ( ) . getResources ( )
Fix NullPointerException on init of HdmiMhlController
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; COMMENT <nb> abstract public class EditorToolbar extends JPanel { int [ ] triangleX = new int [ NUMBER0 ] ; int [ ] triangleY = new int [ ] { ARROW_TOP , ARROW_TOP , ARROW_BOTTOM } ; - + @...
add the popup
<nb> public class DriverPublication return currentIndex ; } - SINGLE + SINGLE return - NUMBER0 ; }
Added TODO to determiningIndex for current term id
<nb> public class Types { NSString . setMappedType ( javaStringType ) ; ITypeBinding binding = ast . resolveWellKnownType ( STRING0 ) ; javaNumberType = binding . getSuperclass ( ) ; + NSNumber . setMappedType ( javaNumberType ) ; initializeArrayTypes ( ) ; initializeTypeMap ( ) ; populateSimpleTypeMap ( ...
Fixed NSNumber type mapping
<nb> public class CallJabberImpl } COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - SINGLE - SINGLE - SINGLE - SINGLE - - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - SINGLE - SINGLE - SINGLE - SINGLE - - COM...
Removes references to our legacy jingle implementation with the old smackx jingle implementation
<nb> public class CircleImageView extends ImageView { } mColorFilter = cf ; - setup ( ) ; + mBitmapPaint . setColorFilter ( mColorFilter ) ; + invalidate ( ) ; } private Bitmap getBitmapFromDrawable ( Drawable drawable ) { <nb> public class CircleImageView extends ImageView { mBitmapPaint . setA...
Fix and improve ColorFilter implementation
<nb> public abstract class HardwareRenderer { COMMENT COMMENT COMMENT - private static final int PROFILE_MAX_FRAMES = NUMBER0 ; + private static final int PROFILE_MAX_FRAMES = NUMBER1 ; COMMENT COMMENT
Log more frame data when profiling GL apps
<nb> public class DeploymentGroupResource { break ; } } - } - result . add ( new DeploymentGroupStatusResponse . HostStatus ( host , deployedJobId , state ) ) ; + result . add ( new DeploymentGroupStatusResponse . HostStatus ( host , deployedJobId , state ) ) ; + } } final DeploymentGroupStatusRes...
Fix total number of deployment group hosts
<nb> public class FSRecords implements Disposable { try { closeFiles ( ) ; - FileUtil . delete ( namesFile ) ; - Storage . deleteFiles ( attributesFile . getCanonicalPath ( ) ) ; - FileUtil . delete ( recordsFile ) ; + boolean deleted = FileUtil . delete ( namesFile ) && + Storage . deleteFiles ( attrib...
Replace StackOverflowError with IOException
<nb> public class FacesWebRequest extends FacesRequestAttributes implements NativeWeb } public String [ ] getParameterValues ( String paramName ) { - return ( String [ ] ) getExternalContext ( ) . getRequestParameterMap ( ) . get ( paramName ) ; + return ( String [ ] ) getExternalContext ( ) . getRequestParam...
Changed use of getRequestParameterMap to getRequestParameterValuesMap
<nb> public class ActivityStack { } if ( w > NUMBER0 ) { - SINGLE + return mService . mWindowManager . screenshotApplications ( who , w , h ) ; } return null ; }
Turn thumbnails back on
<nb> public class BugreportProgressService extends Service { Log . d ( TAG , STRING0 + id ) ; mProcesses . remove ( id ) ; } - stopSelfWhenDone ( ) ; Log . v ( TAG , STRING1 + id + STRING2 ) ; NotificationManager . from ( mContext ) . cancel ( TAG , id ) ; + stopSelfWhenDone ( ) ; } COMMENT
Call stopSelfWhenDone after canceling the notification
<nb> public class Retransform { public static boolean isWaiver ( String className , String methodName ) { if ( className . startsWith ( STRING0 ) - || className . startsWith ( STRING1 ) ) + || className . startsWith ( STRING1 ) + || ( className . equals ( STRING2 ) && methodName . equals ( STRING3 ) ) ) r...
Don t warn un instrumented on SuspendableUtils VoidSuspendableCallable
<nb> public class Main { for ( String file : args ) { File dex = new File ( file ) ; - final File gen = new File ( FilenameUtils . getBaseName ( file ) + STRING0 ) ; + final File gen = new File ( dex . getParentFile ( ) , FilenameUtils . getBaseName ( file ) + STRING0 ) ; log . info ( STRING1 , dex , gen ) ...
put the generated jar in the same folder of the dex file
<nb> import NAMESPACE ; import NAMESPACE ; COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT
Tweaking the JavaDoc a little
<nb> public class MinimumMasterNodesTests extends ElasticsearchIntegrationTest { . put ( STRING0 , STRING1 ) . put ( STRING2 , STRING3 ) ; - if ( randomBoolean ( ) ) { - SINGLE - settings . put ( ElectMasterService . DISCOVERY_ZEN_MINIMUM_MASTER_NODES , randomIntBetween ( NUMBER0 , nodeCount ) ) ; - } +...
MinimumMasterNodesTests testCanNotBringClusterDown should always set minimum master nodes
<nb> public interface Exchange { String EXCEPTION_CAUGHT = STRING0 ; String ERRORHANDLER_HANDLED = STRING1 ; String FAILURE_HANDLED = STRING2 ; - String FAILURE_ENDPOINT = STRING3 ; + String FAILURE_ENDPOINT = STRING4 ; String FILE_LOCAL_WORK_PATH = STRING5 ; String FILE_NAME = STRING6 ;
Fixed wrong constant
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; COMMENT <nb> public class ExternalSystemStartupActivity implements StartupActivity { } } ; ...
run external system startup activity when the dumb mode ends
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; COMMENT COMMENT <nb> public class HypermediaAutoConfiguration { @ configuration @ enablehypermediasupport ( type = HypermediaType . HAL ) + @ conditionalonclass ( Plugin . class ) @ conditiona...
Add Conditional to prevent HATEOAS blowing up
<nb> import NAMESPACE ; public class QueryResult < T > { private final List < T > results ; private final ServerCursor serverCursor ; + private final ServerAddress serverAddress ; public QueryResult ( final MongoReplyMessage < T > replyMessage , final ServerAddress address ) { if ( replyMessage . getReply...
Added serverAdress to QueryResult to be able to fetch the server used for query
<nb> public class SecondUnsafeCallInspection extends LocalInspectionTool { @ nls @ notnull public String getGroupDisplayName ( ) { - return GroovyInspectionBundle . message ( STRING0 ) ; + return STRING1 ; } @ nls
SecondUnsafeCall moved to Probable bugs Groovy group
<nb> public class JiveGlobals { public static Locale getLocale ( ) { if ( locale == null ) { if ( xmlProperties != null ) { - String [ ] localeArray = ( ( String ) xmlProperties . getProperty ( STRING0 ) ) . split ( STRING1 ) ; + String [ ] localeArray ; + String localeProperty = ( String ) xmlProperties . ...
Fixed problem when no locale was present in the config file
<nb> class ClassDefinitionImpl extends BinaryClassDefinition implements ClassDefiniti } public FieldDefinition getField ( int fieldIndex ) { + if ( fieldIndex < NUMBER0 || fieldIndex >= fieldDefinitionsMap . size ( ) ) { + throw new IndexOutOfBoundsException ( STRING0 + fieldIndex + STRING1 + fieldDefinitions...
added precheck for getting fieldDefinition by index
<nb> public final class Config { public static final boolean NO_PROXY_LOOKUP = false ; SINGLE public static final boolean DISABLE_STRING_PREP = false ; SINGLE - public static final boolean EXTENDED_SM_LOGGING = false ; SINGLE + public static final boolean EXTENDED_SM_LOGGING = true ; SINGLE public static ...
enabled sm logging by default at least for development branch
<nb> public class DependencyBank { SINGLE static String libgdxVersion = STRING0 ; SINGLE - static String libgdxNightlyVersion = STRING1 ; + static String libgdxNightlyVersion = STRING2 ; static String roboVMVersion = STRING3 ; static String buildToolsVersion = STRING4 ; static String androidAPILevel = S...
Updated version for next release
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import static NAMESPACE ; <nb> public class DefaultSctpChannelConfig extends DefaultChannelConfig implements Sc } else if ( option == SCTP_NODELAY ) { setSctpNoDelay ( ( Boolean ) value ) ; } else...
Fixed ClassCastException in setting min max sctp streams
<nb> public class HibernateJpaDialect extends DefaultJpaDialect { } if ( this . preparedCon != null && this . session . isConnected ( ) ) { Connection conToReset = HibernateConnectionHandle . doGetConnection ( this . session ) ; - if ( conToReset != this . preparedCon ) { + if ( ! isEquivalentConnection ( con...
HibernateJpaDialect accepts equivalent connection for proper reset as well
<nb> public final class ContactsContract { public static final int UNPINNED = NUMBER0 ; COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + public static final int DEMOTED = - NUMBER1 ; + + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMM...
Add DEMOTED and UNDEMOTE TO ContactsContract
<nb> public class ConversationFragment extends Fragment { if ( message . getStatus ( ) <= Message . STATUS_RECEIVED ) { if ( message . getConversation ( ) . getMode ( ) == Conversation . MODE_MULTI ) { if ( message . getPresence ( ) != null ) { - highlightInConference ( message . getPresence ( ) . toString ( ) ...
Fix contact highlighting in MUC
<nb> package NAMESPACE ; COMMENT COMMENT COMMENT - public interface OperationSetBasicInstantMessagingTransport - extends OperationSetBasicInstantMessaging + public interface OperationSetBasicInstantMessagingTransport extends OperationSet { COMMENT COMMENT
Changed BasicInstantMessagingTransport to extend OperationSet directly
<nb> public class QuantilesTest extends TestCase { COMMENT COMMENT private static void assertDatasetInOrder ( Collection < Double > expected , double [ ] actual ) { + SINGLE assertThat ( actual ) . hasValuesWithin ( FLOAT0 ) . of ( Doubles . toArray ( expected ) ) ; }
Add TODO to use ofElementsIn expected
<nb> public interface ClassFileLocator extends Closeable { COMMENT public static Resolution read ( Class < ? > type ) { try { - ClassLoader classLoader = type . getClassLoader ( ) ; - return locate ( classLoader == null - ? ClassLoader . getSystemClassLoader ( ) - : classLoader , TypeDescription . ForLoad...
Consider module when directly reading a type
<nb> public class ThriftToPig < M extends TBase < ? , ? > > { switch ( field . getType ( ) ) { case TType . STRUCT : - fieldSchema = new FieldSchema ( fieldName , toSchema ( field . gettStructDescriptor ( ) ) , DataType . TUPLE ) ; - break ; + SINGLE + SINGLE + return toSchema ( field . gettStructDescri...
don t wrap STRUCT in containers with another tuple
<nb> public class MemoryAwareThreadPoolExecutor extends ThreadPoolExecutor { COMMENT COMMENT protected boolean shouldCount ( Runnable task ) { + if ( task instanceof ChannelDownstreamEventRunnable ) { + return false ; + } + if ( task instanceof ChannelUpstreamEventRunnable ) { ChannelUpstreamEventRunn...
Do not count a ChannelDownstreamEventRunnable