diff
stringlengths
38
1.78k
msg_token
stringlengths
9
190
<nb> public class FavouritesActivity extends ExpandableListActivity { final LatLon mapLocation = OsmandSettings . getOsmandSettings ( this ) . getLastKnownMapLocation ( ) ; favouritesAdapter . synchronizeGroups ( ) ; - if ( mapLocation != null ) { + SINGLE favouritesAdapter . sort ( new Comparator < Favouri...
fix small bug when deleting favorites
<nb> public class OCommandTransformer extends OAbstractTransformer { } else throw new OTransformException ( getName ( ) + STRING0 + language + STRING1 ) ; + cmd . setContext ( context ) ; + Object result = pipeline . getDocumentDatabase ( ) . command ( cmd ) . execute ( ) ; log ( OETLProcessor . LOG_LEV...
Fixed bug with context variable used in commands
<nb> public class WPComLoginActivity extends SherlockFragmentActivity implements Text private String mPassword ; private Button mSignInButton ; private boolean mIsJetpackAuthRequest ; - private boolean mIsWpcomAccountWith2FA = false ; - private boolean mIsInvalidUsernameOrPassword = false ; + private boolea...
fix erroneous mIsWpcomAccountWith2FA and mIsInvalidUsernameOrPassword init
<nb> public class AndroidManifestFinder { activityQualifiedName = applicationPackage + activityName ; } else { activityQualifiedName = applicationPackage + STRING0 + activityName ; + activityQualifiedNames . add ( activityName ) ; } } activityQualifiedNames . add ( activityQualifiedName ) ;
Fixed bug that issued warnings on registered activities when their package was not the application package
<nb> public final class BluetoothAdapter { return null ; } - COMMENT + COMMENT COMMENT COMMENT - COMMENT - COMMENT + COMMENT + COMMENT COMMENT COMMENT COMMENT COMMENT COMMENT - COMMENT + COMMENT + COMMENT COMMENT COMMENT public boolean getProfileProxy ( Context context , Blue...
small javadoc but also make the existing getProfileProxy docs visible had wrong comment tag
<nb> public class PrivacyService { if ( dbUsage == null ) return ; + String extra = STRING0 ; + if ( restriction . extra != null ) + if ( getSettingBool ( NUMBER0 , PrivacyManager . cSettingParameters , false ) ) + extra = restriction . extra ; + mLockUsage . writeLock ( ) . lock ( ) ; dbUsage . beg...
Prevent rollback without transaction support info
<nb> public class CamelErrorHandlerFactoryBean extends AbstractCamelFactoryBean < Error @ xmlattribute private String deadLetterUri ; @ xmlattribute - private LoggingLevel level = LoggingLevel . ERROR ; + private LoggingLevel level ; @ xmlattribute private String logName ; @ xmlattribute <nb> import N...
XML DSL Should not have default values in errorhandler
<nb> public class XMLGetITest { } @ test + public void childrenElementsIsEmpty ( ) throws Exception { + with ( ) . parameters ( STRING0 , STRING1 , STRING2 , STRING3 ) . expect ( ) . body ( STRING4 , equalTo ( true ) ) . get ( STRING5 ) ; + } + + @ test public void xmlNestedElements2 ( ) throws Except...
Added an example of isEmpty
<nb> public class XaLogicalLog scanIsComplete = true ; SINGLE logRecoveryMessage ( STRING0 + nextTxId ) ; + + checkLogRotation ( ) ; SINGLE }
Checks log rotation when applying prepared transactions
<nb> public abstract class AbstractXMPPConnection implements XMPPConnection { @ override protected void finalize ( ) throws Throwable { + LOGGER . fine ( STRING0 + getConnectionCounter ( ) + + STRING1 ) ; try { SINGLE SINGLE <nb> public class PingManager extends Manager { @ override protected vo...
Improve logging of finalize methods
<nb> public class RedissonBuckets implements RBuckets { return Collections . emptyMap ( ) ; } - RedisCommand < Map < Object , Object > > command = new RedisCommand < Map < Object , Object > > ( STRING0 , new MapGetAllDecoder ( Arrays . asList ( keys ) , NUMBER0 ) , ValueType . OBJECTS ) ; + RedisCommand < Map...
Fixes a compilation issue
<nb> public class ValueAnimator extends Animator implements AnimationHandler . Animatio mStarted = true ; mPaused = false ; mRunning = false ; - mAnimationEndRequested = false ; AnimationHandler animationHandler = AnimationHandler . getInstance ( ) ; animationHandler . addAnimationFrameCallback ( this , ( l...
Fix animator sometimes not being ended when end is called without start ing
<nb> package NAMESPACE ; + import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> final class FileChannelImpl extends FileChannel { } } ; + @ weak private final Object stream ; private final FileDescriptor fd ; private final int mode ; <nb> package NAMES...
Fix FileChannelImpl and FileLock memory leaks
<nb> public class ConfigurationMetadataAnnotationProcessor extends AbstractProcessor RoundEnvironment roundEnv ) { this . metadataCollector . processing ( roundEnv ) ; Elements elementUtils = this . processingEnv . getElementUtils ( ) ; - for ( Element element : roundEnv . getElementsAnnotatedWith ( elementUtil...
Avoid NPE if ConfigurationProperties is not present
<nb> public class TrainParser { state = transition . apply ( state ) ; } } - - System . err . println ( transitionIndex ) ; - } }
Remove a debug line
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; COMMENT COMMENT <nb> public class DividerDrawerItem extends AbstractDrawerItem < DividerDrawerItem > { viewHolder . view . setClickable ( false ) ; viewHolder . view . setEnabled ( false ) ; viewHolder . view . setM...
fix divider has no color
<nb> public final class MediaStore { public final static String EXTRA_OUTPUT = STRING0 ; COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + public static final String UNKNOWN_STRING = STRING1 ; + + COMMENT COMMENT COMMENT
Add the UNKNOWN_STRING definition to MediaStore
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> class MongoClientImpl implements MongoClient { @ override public MongoIterable < String > listDatabaseNames ( ) { - return listDatab...
Fixed listDatabaseNames so it uses BsonDocument
<nb> public class BottomBar extends FrameLayout implements View . OnClickListener , View COMMENT COMMENT public void mapColorForTab ( int tabPosition , int color ) { + if ( mItems == null || mItems . length == NUMBER0 ) { + throw new UnsupportedOperationException ( STRING0 + + STRING1 ) ; + } else if ( ta...
Added support for setting background colors for tabs
<nb> public class ColibriBuilder private Integer audioPacketDelay ; COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + private RTPLevelRelayType rtpLevelRelayType ; + + COMMENT COMMENT COMMENT COMMENT <nb> public class ColibriBuilder { SINGLE remoteRtpChannelRequest . setPacketDelay ( a...
Add rtpLevelRelayType handling in ColibriBuilder class
<nb> public class HystrixCodaHaleMetricsPublisherCommand implements HystrixMetricsPub createCumulativeCountForEvent ( STRING0 , HystrixRollingNumberEvent . FAILURE ) ; createCumulativeCountForEvent ( STRING1 , HystrixRollingNumberEvent . FALLBACK_EMIT ) ; createCumulativeCountForEvent ( STRING2 , HystrixRollingNu...
Added FALLBACK_MISSING counter to CodaHale metrics publisher
<nb> + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT package NAMESPACE ; import NAMESPACE ;
Fixed CS error of OsgiServletRegisterer
<nb> public class KeyguardPasswordView extends LinearLayout SINGLE private static final int MINIMUM_PASSWORD_LENGTH_BEFORE_REPORT = NUMBER0 ; + SINGLE + private static final boolean ENABLE_HIDE_KEYBOARD = false ; + public KeyguardPasswordView ( Context context ) { super ( context ) ; } <nb> public c...
Don t hide the PIN keyboard even when a physical keyboard is present
<nb> public class Indices implements IndexManagement { . request ( ) ; try { final GetIndexResponse response = c . admin ( ) . indices ( ) - . getIndex ( indexRequest ) . actionGet ( NUMBER0 , TimeUnit . SECONDS ) ; + . getIndex ( indexRequest ) . actionGet ( ) ; final Settings settings = response . setting...
remove explicit timeout as we are using the default timeout client
<nb> public class StopRouteFromRouteTest extends TestCase { template . sendBody ( STRING0 , STRING1 ) ; SINGLE - Thread . sleep ( NUMBER0 ) ; + Thread . sleep ( NUMBER1 ) ; SINGLE assertTrue ( STRING2 , context . getRouteStatus ( STRING3 ) . isStopped ( ) ) ;
Fixed test on slower boxes
<nb> public class StreamsTest extends LoggedIn { serverStub . initialize ( ) ; String sauceUser = System . getenv ( STRING0 ) ; - String saucePassword = System . getenv ( STRING0 ) ; + String saucePassword = System . getenv ( STRING1 ) ; if ( sauceUser != null && saucePassword != null && ! sauceUser . isE...
choose correct access key env variable
<nb> public class TachyonFSContract extends AbstractFSContract { @ override public Path getTestPath ( ) { - Path path = fs . makeQualified ( new Path ( - getTestDataDir ( ) ) ) ; + Path path = fs . makeQualified ( new Path ( getTestDataDir ( ) ) ) ; return path ; }
Fix style issue
<nb> package NAMESPACE ; COMMENT public class ImageSize { + private static final int TO_STRING_MAX_LENGHT = NUMBER0 ; SINGLE private static final String SEPARATOR = STRING0 ; private final int width ; <nb> public class ImageSize { @ override public String toString ( ) { - return new StringBuilde...
Fixed ImageSize toString wrong logs
<nb> public abstract class MvcFramework { return res ; } + public boolean isUpgradeActionSupported ( Module module ) { + return true ; + } + @ nullable public static MvcFramework getInstance ( @ nullable final Module module ) { if ( module == null ) { <nb> public class MvcUpgradeAction extends Mvc...
grails ask MvcFramework and GrailsFramework in person if upgrade action is supported
<nb> public class FarmWarDeployer extends ClusterListener private File tempDirFile = null ; COMMENT - COMMENT + COMMENT COMMENT protected String watchDir ; private File watchDirFile = null ;
Trailing white space police
<nb> public final class OrcInputStream boolean isUncompressed = ( b0 & NUMBER0 ) == NUMBER1 ; int chunkLength = ( b2 < < NUMBER2 ) | ( b1 < < NUMBER3 ) | ( b0 > > > NUMBER1 ) ; + if ( chunkLength < NUMBER4 || chunkLength > compressedSliceInput . remaining ( ) ) { + throw new OrcCorruptionException ( String . ...
Validate chunkLength when read
<nb> public class PhotoUploadController { for ( PhotoUpload upload : mUploadingList ) { upload . setUploadParams ( account , targetId , quality ) ; - upload . setPlace ( place ) ; + if ( null != place ) { + upload . setPlace ( place ) ; + } } for ( OnPhotoSelectionChangedListener l : mSelectionChang...
Only update Place on Upload if there is one
<nb> import NAMESPACE ; COMMENT public class StringTable { - private static final int INTERNAL_FLAG = NUMBER0 < < NUMBER1 ; + private static final int FLAG_INTERNAL = NUMBER0 < < NUMBER1 ; private final Map < Integer , String > strings = new HashMap < > ( ) ; <nb> public class StringTable { for ( in...
Changed flag prefix and removed temporary offset variable
<nb> public class BuySellStockProfit { } public int allTimeProfit ( int arr [ ] ) { - if ( arr . length == NUMBER0 ) { - return NUMBER0 ; - } int profit = NUMBER0 ; - int localMin = arr [ NUMBER0 ] ; for ( int i = NUMBER1 ; i < arr . length ; i ++ ) { - if ( arr [ i - NUMBER1 ] >= arr [ i ] ) { - ...
Removed the redundant localMin variable
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> import NAMESPACE ; import static NAMESPACE ; @ runwith ( HazelcastParallelClassRunner . class ) + @ categor...
add test category
<nb> public class AprLifecycleListener aprAvailable = false ; aprInitialized = false ; sslInitialized = false ; SINGLE + sslAvailable = false ; SINGLE } private static void init ( )
Added symmetric sslAvailable false in terminateAPR
<nb> public class AppleDescriptions { headerPathPrefix , arg ) ) ) ; output . exportedPlatformHeaders = Optional . of ( PatternMatchedCollection . < SourceList > of ( ) ) ; - output . exportedPlatformPreprocessorFlags = Optional . of ( - PatternMatchedCollection . < ImmutableList < String > > of ( ) ) ; + o...
Properly pass exported platform preprocessor flags
<nb> public class PolicyBasedAuthenticationManager implements AuthenticationManager { } } catch ( final GeneralSecurityException e ) { logger . info ( STRING0 , handler . getName ( ) , credential ) ; + logger . debug ( STRING1 , handler . getName ( ) , e . getMessage ( ) ) ; builder . addFailure ( handler . g...
Add logging for authentication handlers
<nb> COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT <nb> public final class IdeMouseEventDispatcher { public static boolean patchClickCount ( final MouseEvent e ) { if ( e . getClickCount ( ) != NUMBER0 && e . getButton ( ) > NUMBER1 ) { ReflectionUtil . setField ( MouseEvent . class , e , int ...
restored return true in case of side click
<nb> public class EmulatorView extends View implements GestureDetector . OnGestureListe } private void sendMouseEventCode ( MotionEvent e , int button_code ) { - int x = ( int ) ( e . getX ( ) / mCharacterWidth ) ; - int y = ( int ) ( e . getY ( ) / mCharacterHeight ) ; - Log . w ( TAG , STRING0 + x + STRIN...
fix mouse click alignment
<nb> public class Constants { COMMENT COMMENT public static final String CATALINA_BASE_PROP = STRING0 ; - - - COMMENT - COMMENT - COMMENT - public static final boolean IS_SECURITY_ENABLED = - ( System . getSecurityManager ( ) != null ) ; }
Remove unused code identified by the UCDetector
<nb> public class HazelCastStateTracker implements StateTracker < UpdateableImpl > { public void setDataSetCache ( DataSetCache cache ) { if ( cache == null ) throw new IllegalArgumentException ( STRING0 ) ; - this . cache = cache ; + this . cache = cache ; } <nb> public class HazelCastStateTracker im...
remove stale job for workers
<nb> public class OperationSetFileTransferJabberImpl XMPPError error = ( ( XMPPException ) jabberTransfer . getException ( ) ) . getXMPPError ( ) ; - if ( error . getCode ( ) == NUMBER0 - || error . getCode ( ) == NUMBER1 ) - status = FileTransferStatusChangeEvent . REFUSED ; + if ( error != null ) + if...
Avoid NPE if an XMPPError is not present in an XMPPException
<nb> package NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class SearchAction implements RequestHandler { WebService . NewAction action = controller . createAction ( STRING0 ) . setDescription ( STRING1 )...
Added search example response
<nb> public class RulesDao extends BaseDao { . setParameter ( STRING0 , ruleKey ) . setParameter ( STRING1 , repositoryKey ) . setParameter ( STRING2 , Rule . STATUS_REMOVED - ) , + ) , null ) ; }
Fix quality flaw
<nb> public class DnsDigEndpoint extends DefaultEndpoint { String dclassValue = exchange . getIn ( ) . getHeader ( DnsConstants . DNS_CLASS , String . class ) ; if ( dclassValue == null ) { - dclassValue = STRING0 ; + dclassValue = STRING0 ; } - + int dclass = DClass . value ( dclassValue ) ; if ( d...
Fixed CS errors of camel dns
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import static NAMESPACE ; COMMENT
Fixed checkstyle error when building
<nb> public class Transaction extends ChildMessage implements Serializable { try { Script scriptSig = in . getScriptSig ( ) ; s . append ( scriptSig ) ; - s . append ( STRING0 ) ; - s . append ( in . getOutpoint ( ) . toString ( ) ) ; + s . append ( STRING1 ) ; + s . append ( STRING2 ) ; + final Transac...
For outpoints show the pubkey hash of the connected output if available
<nb> public class ScriptEngineRegistry { private final List < String > scriptEngineLanguages ; public ScriptEngineRegistration ( Class < ? extends ScriptEngineService > scriptEngineService , List < String > scriptEngineLanguages ) { + Objects . requireNonNull ( scriptEngineService ) ; + Objects . requireNonNu...
Add guards for invalid script engine registrations
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ;
Java Removed unused import
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public abstract class AbstractNativeBinarySpec extends BaseBinarySpec implements return staticLibArchiver ; } - public abstract Bina...
Removed abstract method inherited from interface
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class EntityBinding { private SimpleAttributeBinding versionBinding ; private Map < String , AttributeBinding > attributeBindin...
Add EntityBinding getFilterDefinitions and addFilterDefinition
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> final class ShardIterator extends AbstractIterator < ShardNodes > implements CloseableIterator < ShardNodes > { + private static final Logger log = Log...
Add debug logging for shard iterator
<nb> public class AST2IRTest extends Iced { static void printInstructions ( JsonObject ast , String [ ] checkInstructions ) { AST2IR main = new AST2IR ( ast ) ; main . make ( ) ; - Log . info ( main . _toString ( ) ) ; - Log . info ( checkInstructions ) ; + Log . info ( ( Object ) main . _toString ( ) ) ; ...
Remove build warnings
<nb> public class ExpandHelper implements Gefingerpoken , OnClickListener { } case MotionEvent . ACTION_DOWN : - mWatchingForPull = isInside ( mScrollAdapter . getHostView ( ) , x , y ) ; + mWatchingForPull = mScrollAdapter != null && + isInside ( mScrollAdapter . getHostView ( ) , x , y ) ; mLastMotionY ...
add a null check around scrollAdapter access
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public abstract class AbstractHTTPSPDYTest @ after public void destroy ( ) throws Exception { + ( ( StdErrLog...
suppress stacktraces that happen during test setup shutdown after successful test run
<nb> import NAMESPACE ; COMMENT public class ConsoleReporter implements Runnable { private static final ScheduledExecutorService TICK_THREAD = - Executors . newSingleThreadScheduledExecutor ( new NamedThreadFactory ( STRING0 ) ) ; + Executors . newSingleThreadScheduledExecutor ( new NamedThreadFactory ( STRIN...
Fix ConsoleReporter thread factory name
<nb> public class ColorAndFontOptions extends SearchableConfigurable . Parent . Abstract } result . addAll ( new ArrayList < SearchableConfigurable > ( mySubPanelFactories . values ( ) ) ) ; - for ( final Configurable configurable : result ) { - Disposer . register ( myDisposable , new Disposable ( ) { - @ ...
remove unwanted dispose in Color Fonts options avoiding double dispose
<nb> public class ModelRepositoryImpl implements ModelRepository { synchronized ( resourceSet ) { resource . unload ( ) ; try { + logger . info ( STRING0 , name ) ; resource . load ( inputStream , Collections . EMPTY_MAP ) ; notifyListeners ( name , EventType . MODIFIED ) ; return true ;
Modified Configuration Files do not get reloaded
<nb> public class RestDocsAutoConfigurationAdvancedConfigurationIntegrationTests { private MockMvc mvc ; @ autowired - private RestDocumentationResultHandler document ; + private RestDocumentationResultHandler documentationHandler ; @ test - @ deprecated public void snippetGeneration ( ) throws Except...
Remove use of deprecated API in REST Docs auto config test
<nb> public abstract class AppIntro extends AppCompatActivity { break ; } - Fragment currentFragment = mPagerAdapter . getItem ( pager . getCurrentItem ( ) ) ; - if ( requestPermission ) { if ( Build . VERSION . SDK_INT >= Build . VERSION_CODES . M ) { requestPermissions ( permissionsArray . get ( posit...
Removed unnecessary code
<nb> public abstract class AbsSeekBar extends ProgressBar { invalidate ( ) ; if ( needUpdate ) { updateThumbPos ( getWidth ( ) , getHeight ( ) ) ; - if ( thumb . isStateful ( ) ) { + if ( thumb != null && thumb . isStateful ( ) ) { SINGLE SINGLE int [ ] state = getDrawableState ( ) ;
Fix crash setting null seekbar thumb
<nb> public class EditPostActivity extends AppCompatActivity implements EditorFragmen } catch ( OutOfMemoryError e ) { AppLog . e ( T . POSTS , e ) ; } - } else if ( TextUtils . isEmpty ( mEditorFragment . getContent ( ) ) ) { - SINGLE - SINGLE - WordPress . wpDB . deletePost ( getPost ( ) ) ; - finish ...
Remove old QuickMedia code that could be problematic
<nb> public abstract class AbstractProtocol < S > implements ProtocolHandler , } } else if ( status == SocketStatus . DISCONNECT ) { SINGLE - } else if ( processor . isAsync ( ) || - state == SocketState . ASYNC_END ) { + } else if ( processor . isAsync ( ) ) { state = processor . asyncDispatch ( status )...
Fix async HTTP pipe lining bug identified by Gump
<nb> public class DataSourceProperties implements BeanClassLoaderAware , EnvironmentAw public String getDriverClassName ( ) { if ( StringUtils . hasText ( this . driverClassName ) ) { - Assert . state ( ClassUtils . isPresent ( this . driverClassName , null ) , + Assert . state ( driverClassIsLoadable ( ) , ...
Improve error reporting when driver class version is unsupported
<nb> public abstract class RajawaliRenderer implements IRajawaliSurfaceRenderer { @ override public void onRenderSurfaceCreated ( EGLConfig config , GL10 gl , int width , int height ) { + RajLog . setGL10 ( gl ) ; Capabilities . getInstance ( ) ; String [ ] versionString = ( gl . glGetString ( GL10 . GL_V...
Adds gl setting for RajLog
<nb> class MockBytecodeGenerator { } private boolean isComingFromJDK ( Class < ? > type ) { + SINGLE + SINGLE + SINGLE return type . getPackage ( ) != null && STRING0 . equalsIgnoreCase ( type . getPackage ( ) . getImplementationTitle ( ) ) || type . getName ( ) . startsWith ( STRING1 ) || type . getN...
Adds some comment on the mock naming strategy
<nb> public abstract class WebappClassLoaderBase extends URLClassLoader protected final Matcher packageTriggersDeny = Pattern . compile ( STRING0 + STRING1 + + STRING2 + STRING3 ) . matcher ( STRING4 ) ;
Add javax websocket
<nb> public class CaptureDeviceDelegatePullBufferDataSource COMMENT COMMENT COMMENT - @ override public FormatControl [ ] getFormatControls ( ) { return
Fix the build
<nb> public class Im { COMMENT COMMENT public static final Uri CONTENT_URI_CHAT_CONTACTS = - Uri . parse ( STRING0 ) ; + Uri . parse ( STRING1 ) ; COMMENT COMMENT
Modify the active chats uri to not overlap with other uris
<nb> public class StandardContext extends ContainerBase } + COMMENT + COMMENT + COMMENT + @ deprecated public String getHostname ( ) { Container parentHost = getParent ( ) ; if ( parentHost != null ) {
Deprecate old method that was used to build JMX names
<nb> import static NAMESPACE public final class ExpressionVisitor extends TranslatorVisitor < JsNode > { @ override @ notnull - public JsNode visitConstantExpression ( @ notnull JetConstantExpression expression , - @ notnull TranslationContext context ) { + public JsNode visitConstantExpression ( @ notnull ...
added support for constant expressions in the sourcemap
<nb> public class PlanGenerator { . getElevationProfile ( ) ; previousElevation = applyElevation ( profile , itinerary , previousElevation ) ; } - System . out . println ( STRING0 + backEdge + STRING1 + pgstate + STRING2 - + mode ) ; switch ( pgstate ) { case START :
remove spurious println
<nb> public class RecyclerView extends ViewGroup implements ScrollingView , NestedScro COMMENT COMMENT COMMENT - private boolean mClipToPadding ; + private boolean mClipToPadding = true ; COMMENT COMMENT
Fix default clip to padding value
<nb> public class CallAgent extends CallListenerAdapter implements CallStreamObserver } public void call ( String callerName , String destination ) { - log . debug ( STRING0 , destination ) ; + log . debug ( STRING1 , callerName , destination ) ; try { localSocket = getLocalAudioSocket ( ) ; userProfile...
add more debugging info
<nb> public class MulticoreWrapper < I , O > { } @ override - public Integer call ( ) throws Exception { - O result = processor . process ( item ) ; - QueueItem < O > output = new QueueItem < O > ( result , itemId ) ; - callback . call ( output , processorId ) ; - return itemId ; + public Integer call...
Add exception handling for uncaught exceptions
<nb> public class ClosureCodegen extends ParentCodegenAware { MethodVisitor mv = cv . newMethod ( OtherOrigin ( fun , funDescriptor ) , ACC_STATIC | ACC_SYNTHETIC , STRING0 , STRING1 , null , ArrayUtil . EMPTY_STRING_ARRAY ) ; InstructionAdapter iv = new InstructionAdapter ( mv ) ; - cv . newField ( OtherOrigin...
Made closure const instance public
<nb> import NAMESPACE ; public abstract class BaseJettyTest extends CamelTestSupport { private static volatile int port ; - private static final AtomicInteger counter = new AtomicInteger ( NUMBER0 ) ; + + private final AtomicInteger counter = new AtomicInteger ( NUMBER0 ) ; @ beforeclass public static...
fixed issue with already assigned port numbers
<nb> COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT <nb> public class ConnectionSettingsImpl implements ConnectionSettings { } public int getProxyPort ( ) { + if ( myProxyPort < NUMBER0 || myProxyPort > NUMBER1 ) { + return NUMBER2 ; + } return myProxyPort ; }
correctly treat the invalid proxy settings
<nb> package NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class GradleExecutionSettings extends ExternalSystemExecutionSettings { @ nullable private String myJavaHome ; public GradleExecutionSettings ( @ nullable String gr...
Enhance Xmx gradle daemon processing
<nb> public class Group extends Actor { @ override protected boolean touchUp ( float x , float y , int pointer ) { if ( ! touchable ) return false ; - if ( focusedActor != null ) { + if ( focusedActor [ pointer ] != null ) { point . x = x ; point . y = y ; focusedActor [ pointer ] . toLocalCoordinates (...
changed multi touch bug in Group forgot an index
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; COMMENT COMMENT
bug fixed pooledStatementStat
<nb> public class NotNullVerifyingInstrumenter extends ClassVisitor implements Opcode } ; } - private static int getParameterIndex ( int localVarIndex , int methodAccess , Type [ ] paramTypes ) { - final boolean isStatic = ( methodAccess & ACC_STATIC ) != NUMBER0 ; - int parameterIndex = isStatic ? localVar...
remove unused method
<nb> public class IqParser extends AbstractParser implements OnIqPacketReceived { } for ( Element item : query . getChildren ( ) ) { if ( item . getName ( ) . equals ( STRING0 ) ) { - Jid jid ; - try { - jid = Jid . fromString ( item . getAttribute ( STRING1 ) ) ; - } catch ( final InvalidJidException e )...
fixed npe if roster jid couldnt be parsed
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class PasswordUnlockScreen extends LinearLayout implements KeyguardScreen mKeyboardView . setVisibility ( mCreatedWithKeyboardO...
allows keyboards with overlapping qwerty numeric keys to work w o requiring hitting the alt key
<nb> public abstract class AbstractTypedRelation extends NewEmptyTitanVertex implemen } @ override - public void forceDelete ( ) { + public synchronized void forceDelete ( ) { getTransaction ( ) . deletedRelation ( this ) ; } <nb> public abstract class AbstractTitanVertex implements InternalTitanVerte...
Fixed race condition when deleting elements
<nb> public class MorfologikSpeller { final List < String > suggestions = new ArrayList < String > ( ) ; try { suggestions . addAll ( speller . findReplacements ( word ) ) ; - if ( ! word . toLowerCase ( conversionLocale ) . equals ( word ) ) { + if ( suggestions . isEmpty ( ) && ! word . toLowerCase ( conver...
Avoid duplicated suggestions in Morfologik Speller rule
<nb> public class JsonArrayRequest extends JsonRequest < JSONArray > { COMMENT COMMENT COMMENT + COMMENT + COMMENT + COMMENT + public JsonArrayRequest ( int method , String url , Listener < JSONArray > listener , ErrorListener errorListener ) { + super ( method , url , null , listener , errorListener ) ...
add two missing contructors for json request
<nb> public final class ResponseThread extends Thread implements OperationHostileThre responsePacketHandler . handle ( responsePacket ) ; } catch ( Throwable e ) { inspectOutputMemoryError ( e ) ; - logger . severe ( STRING0 + responsePacket + STRING1 + getName ( ) ) ; + logger . severe ( STRING0 + responsePa...
ResponseThread should not eat up exception
<nb> import static NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class InitialStopSearchPathParser extends PathParser { private static DFA dfa ; static { - Nonterminal complete = seq ( star ( STREET...
handle elevators in InitialStopSearchPathParser directly avoid cleverness that is causing regressions
<nb> public class AndroidDatabaseConnection implements DatabaseConnection { return false ; } - public boolean getAutoCommit ( ) throws SQLException { + public boolean isAutoCommit ( ) throws SQLException { try { boolean inTransaction = db . inTransaction ( ) ; logger . trace ( STRING0 , this , inTransac...
Renamed stupid getAutoCommit to be is
<nb> package NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ;
Cleaning up imports
<nb> public final class JmsMessageHelper { COMMENT COMMENT COMMENT - public static final String JMS_REDELIVERED = STRING0 ; + public static final String JMS_REDELIVERED = STRING1 ; COMMENT COMMENT COMMENT
Fixed constant JMSRedelivered
<nb> import static NAMESPACE ; @ runwith ( TestRunners . WithDefaults . class ) public class LocalBroadcastManagerTest { - private static LocalBroadcastManager lastInstance ; private Transcript transcript = new Transcript ( ) ; @ test <nb> public class LocalBroadcastManagerTest { } @ test - publ...
Remove brittle tests
<nb> public class CommittedChangesViewManager implements ChangesViewContentProvider { if ( myComponent == null ) { myComponent = new CommittedChangesPanel ( myProject , provider , provider . createDefaultSettings ( ) ) ; - myComponent . setMaxCount ( NUMBER0 ) ; } else { myComponent . setProvider ( provid...
remove hard coded max count restriction for Committed tab
<nb> public class AlertResource extends RestResource { List < AlertSummary > alerts = streamService . loadAll ( ) . stream ( ) . filter ( stream - > isPermitted ( RestPermissions . STREAMS_READ , stream . getId ( ) ) ) . flatMap ( stream - > alertService . loadRecentOfStream ( stream . getId ( ) , since ) . strea...
Enforce alert limit in list all alerts resource
<nb> public class NewChunk extends Chunk { SINGLE SINGLE SINGLE - ( type == Vec . T_NUM && _vec . _type == Vec . T_CAT ) + ( type == Vec . T_NUM && _vec . _type == Vec . T_CAT ) || + SINGLE + ( type == Vec . T_NUM && _vec . _type == Vec . T_TIME && ! res . hasFloat ( ) ) : STRING0 + Vec . TYPE_STR [ typ...
Allow numeric chunks and time vec
<nb> package NAMESPACE ; + import NAMESPACE ; + COMMENT COMMENT COMMENT <nb> public class H2OStarter { if ( finalizeRestRegistration ) { H2O . finalizeRegistration ( ) ; } + + Log . info ( STRING0 ) ; + Log . info ( STRING1 + H2O . getJetty ( ) . getScheme ( ) + STRING2 , H2O . getIpPortStri...
Added a statement saying how to open Flow on start up
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class ConfigureCodeStyleOnSelectedFragment implements IntentionAction { private final Editor myEditor ; private final String my...
Added disposing of tabbed panel
<nb> public class Projects implements OpenProjectFileHandler , commands . showDiagnosticsProject ( ) . remove ( ) ; } boolean enableProjectSharing = hasProject && - pUIPrefs_ . get ( ) . enableSharedProjectUi ( ) . getValue ( ) && sessionInfo . projectSupportsSharing ( ) ; commands . shareProject ( ) . setE...
remove feature flag for shared project UI