diff
stringlengths
38
1.78k
msg_token
stringlengths
9
190
<nb> public class PyClassImpl extends PyPresentableElementImpl < PyClassStub > implement } } } + SINGLE + else if ( expression instanceof PySubscriptionExpression ) { + final PySubscriptionExpression subscriptionExpr = ( PySubscriptionExpression ) expression ; + return subscriptionExpr . getOperand ( ) ; ...
transform subscription expressions into operands in superclasses list
<nb> class NetworkCatalogActions extends NetworkTreeActions { url , new ExpandCatalogRunnable ( handler , tree , false ) ) ; - NetworkView . Instance ( ) . openTree ( activity , tree , url ) ; } private void doSignOut ( NetworkBaseActivity activity , NetworkCatalogTree tree ) {
Reload bug fix do not start additional activities for reloaded catalog
<nb> public final class NonBlockingSocketWriter extends AbstractHandler implements Ru return bytesPending ; } - @ probe ( name = STRING0 , level = DEBUG ) + @ probe ( name = STRING0 ) private long idleTimeMs ( ) { return max ( currentTimeMillis ( ) - lastWriteTime , NUMBER0 ) ; }
non blocking socket reader idle time probe now on info instead of debug
<nb> public final class Settings { COMMENT COMMENT COMMENT - public static final String GMAIL_NUM_RETRY_UPHILL_OP = STRING0 ; + public static final String GMAIL_NUM_RETRY_UPHILL_OP = STRING1 ; + + COMMENT + COMMENT + COMMENT + COMMENT + public static final String GMAIL_WAIT_TIME_RETRY_UPHILL_OP = ...
Add a new setting for controling how much time to wait before discarding uphill operations
<nb> public class Flyway { } COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - @ deprecated - public void init ( SchemaVersion version , String description ) throws FlywayException { - performSetup ( ) ; - - MetaDataTable metaDataTable = createMeta...
Removed deprecated Flyway init version description method
<nb> public class Socks5TestProxy { COMMENT private int port = NUMBER0 ; + private boolean startupComplete ; + COMMENT COMMENT COMMENT <nb> public class Socks5TestProxy { COMMENT COMMENT public Socket getSocket ( String digest ) { + synchronized ( this ) { + if ( ! startupComplete ) { + tr...
Wait for Socks5TestProxy initialization
<nb> public class CrshPropertiesTests { binder . bind ( new MutablePropertyValues ( Collections . singletonMap ( STRING0 , STRING1 ) ) ) ; assertFalse ( binder . getBindingResult ( ) . hasErrors ( ) ) ; - assertEquals ( NUMBER0 , props . getConfigPathPatterns ( ) . length , NUMBER0 ) ; + assertEquals ( NUMBER...
Fix test assertion
<nb> public class TileBuilder extends TileBuildCraft implements IBuilderInventory , IP new Position ( previous . i + FLOAT0 , previous . j + FLOAT0 , previous . k + FLOAT0 ) , new Position ( b . i + FLOAT0 , b . j + FLOAT0 , b . k + FLOAT0 ) ) ; - laser . setTexture ( STRING0 ) ; + laser . setTexture ( Defaul...
Fixed a couple texture paths
<nb> public class CodeItem extends Item < CodeItem > { protected int placeItem ( int offset ) { offset += NUMBER0 + encodedInstructions . length ; if ( tries != null && tries . length > NUMBER1 ) { - if ( encodedInstructions . length % NUMBER2 == NUMBER3 ) { - offset ++ ; + if ( encodedInstructions . length...
Fixed size calculation in placeItem
<nb> public class CaseLiteralExpression < T > extends LiteralExpression < T > { @ override public String render ( RenderingContext renderingContext ) { + SINGLE + SINGLE + SINGLE + if ( getJavaType ( ) == Boolean . class && Boolean . class . isInstance ( getLiteral ( ) ) ) { + return super . render ( re...
case when in criteria always casts resulting object which fails on mysql with boolean
<nb> public class SlidingPaneLayout extends ViewGroup { } private void onPanelDragged ( int newLeft ) { + if ( mSlideableView == null ) { + SINGLE + mSlideOffset = NUMBER0 ; + return ; + } + final LayoutParams lp = ( LayoutParams ) mSlideableView . getLayoutParams ( ) ; final int leftBound = getPa...
Fix a layout crash bug in SlidingPaneLayout
<nb> public final class System { } - * / ; private static native double currentTimeMillis0 ( ) COMMENT - COMMENT + COMMENT COMMENT ; COMMENT
Don t create garbage in System currentMillis
<nb> class SQLTable extends AbstractTable < Record > { private final QueryPart delegate ; public SQLTable ( QueryPart delegate ) { - super ( STRING0 ) ; + super ( delegate . toString ( ) ) ; this . delegate = delegate ; }
Making SQLTable pass on tables name to AbstractTable in a similar name how SQLField does it
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class DefaultTaskClassInfoStore implements TaskClassInfoStore { @ override public TaskClassInfo getTaskClassInfo ( Class < ? extends Task > type )...
Remove unnecessary code
<nb> public class TemporaryJobBuilder { this . reportWriter = reportWriter ; } - public TemporaryJobBuilder name ( final String jobName ) { - this . builder . setName ( jobName ) ; - return this ; - } - public TemporaryJobBuilder version ( final String jobVersion ) { this . builder . setVersion ( jo...
Remove name method from TempJobs
<nb> abstract class VpnService < E extends VpnProfile > { synchronized void onDisconnect ( boolean cleanUpServices ) { try { + Log . d ( TAG , STRING0 ) ; mState = VpnState . DISCONNECTING ; broadcastConnectivity ( VpnState . DISCONNECTING ) ; mNotification . showDisconnect ( ) ; <nb> abstract class Vpn...
Throw a connecting exception when timed out
<nb> public class GitCrlfDialog extends DialogWrapper { @ override protected Action [ ] createActions ( ) { - return new Action [ ] { getOKAction ( ) , getCancelAction ( ) , new DialogWrapperExitAction ( STRING0 , DONT_SET ) } ; + return new Action [ ] { getHelpAction ( ) , getOKAction ( ) , getCancelAction (...
add help action
<nb> public class ForgeWorldEdit { checkNotNull ( jar ) ; checkNotNull ( name ) ; - String path = STRING0 + name ; + String path = STRING1 + name ; File targetFile = new File ( getWorkingDir ( ) , name ) ; Closer closer = Closer . create ( ) ;
Forge Add slash to location of defaults folder to allow locating of worldedit properties file
<nb> public class MasterClientTest { masterClient . connect ( ) ; Assert . assertTrue ( masterClient . isConnected ( ) ) ; Assert . assertTrue ( masterClient . getFileStatus ( - NUMBER0 , STRING0 ) != null ) ; + masterClient . close ( ) ; } @ test ( timeout = NUMBER1 , expected = FileNotFoundException . c...
improve unit tests
<nb> 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 NAMESPACE ; <nb> import NAMESPACE ; i...
remove dependency on Apache HTTPClient hostname verifier
<nb> public abstract class Resource implements ResourceFactory , Closeable } } - return newResource ( url ) ; + return newResource ( url , useCaches ) ; } COMMENT
Resource newResource String res boolean useCache does not use useCache argument
<nb> public class CliParser { throw e ; } - this . command = ( CliCommand ) options . get ( STRING0 ) ; + this . command = options . get ( STRING0 ) ; final String username = options . getString ( globalArgs . usernameArg . getDest ( ) ) ; this . username = ( username == null ) ? cliConfig . getUsername (...
Fix minor code format and style
<nb> public class WebAppContext extends ServletContextHandler implements WebAppClassL STRING0 , SINGLE STRING1 , SINGLE STRING2 , SINGLE - STRING3 , SINGLE + STRING3 , SINGLE + STRING4 , SINGLE STRING5 , SINGLE STRING6 SINGLE } ;
Expose Decorator in default serverClasses list
<nb> public class SessionManager extends BasicModule { } + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT public void sendServerMessage ( String subject , String body ) { sendServerMessage ( null , subject , body ) ; } + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + ...
Modified sendServerMessage so that it only sends messages to active user sessions
<nb> public class JmsProducer extends DefaultProducer { if ( exchange . hasOut ( ) ) { JmsMessage out = ( JmsMessage ) exchange . getOut ( ) ; try { - if ( out != null ) { + if ( out != null && out . getJmsMessage ( ) != null ) { out . setMessageId ( out . getJmsMessage ( ) . getJMSMessageID ( ) ) ; } }...
fixed a potential NPE
<nb> public class HiveSparkClientFactory { private static final String SPARK_DEFAULT_APP_NAME = STRING0 ; private static final String SPARK_DEFAULT_SERIALIZER = STRING1 ; private static final String SPARK_DEFAULT_REFERENCE_TRACKING = STRING2 ; + private static final String SPARK_YARN_REPORT_INTERVAL = STRING3 ;...
HoS emits too many logs with application state Szehon via Rui Li and Xuefu
<nb> public abstract class ValueDescriptorImpl extends NodeDescriptorImpl implements if ( exceptionObj != null ) { try { final ReferenceType refType = exceptionObj . referenceType ( ) ; - final List < Method > methods = refType . methodsByName ( STRING0 ) ; + final List < Method > methods = refType . methodsB...
corrected retrieval of exception stacktrace
<nb> final class Events { COMMENT COMMENT static boolean isTouchEvent ( MotionEvent e ) { - return isTouchType ( e . getToolType ( NUMBER0 ) ) ; + return isTouchType ( e . getToolType ( NUMBER0 ) ) + SINGLE + || isUnknownType ( e . getToolType ( NUMBER0 ) ) ; } COMMENT <nb> final class Events { ...
Treat UNKNOWN tooltype events as Mouse events
<nb> public interface FetchSubPhase { public IndexSearcher searcher ( ) { if ( atomicIndexSearcher == null ) { - atomicIndexSearcher = new IndexSearcher ( readerContext ) ; + SINGLE + SINGLE + atomicIndexSearcher = new IndexSearcher ( readerContext . reader ( ) ) ; } return atomicIndexSearcher ; }
Fix test failure
<nb> public class ListView extends AbsListView { super . onInitializeAccessibilityNodeInfoForItem ( view , position , info ) ; final LayoutParams lp = ( LayoutParams ) view . getLayoutParams ( ) ; - final boolean isHeading = lp != null && lp . viewType != ITEM_VIEW_TYPE_HEADER_OR_FOOTER ; + final boolean isHe...
Fix CollectionItemInfo isHeading for ListView
<nb> public class MetricRegistry { COMMENT COMMENT public MetricRegistry ( Configuration config ) { - SINGLE + SINGLE ScopeFormats scopeFormats ; try { scopeFormats = createScopeConfig ( config ) ; } catch ( Exception e ) { - LOG . warn ( STRING0 , e ) ; + LOG . warn ( STRING1 , e ) ; scopeFor...
hotfix metrics Fix typos
<nb> public class ModelProcessor { Set < AnnotatedAndRootElements > ancestorAnnotatedElements = validatedModel . getAncestorAnnotatedElements ( target . getName ( ) ) ; for ( AnnotatedAndRootElements elements : ancestorAnnotatedElements ) { EBeanHolder holder = eBeansHolder . getEBeanHolder ( elements . rootTypeE...
Fixing random crash by ignoring this case
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; + import NAMESPACE ; COMMENT COMMENT <nb> public final class HttpClientFactory { } } - private final static HashMap < HttpClientConfiguration , HttpClient > confClientMap = new HashMap < HttpClientConfiguration ...
Fix thread sync bug in HttpClientFactory
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; COMMENT <nb> public class HikariJNDIFactory implements ObjectFactory } Properties properties = new Properties ( ) ; - for ( String propertyName : PropertyBeanSetter . getPropertyNames ( HikariPo...
Fix typo bug in JNDI factory class reflect properties from HikariConfig instead of HikariPool
<nb> public class ActivityTransitionLauncher { return this ; } + public Bundle createBundle ( ) { + return TransitionBundleFactory . createTransitionBundle ( activity , fromView , bitmap ) ; + } + public void launch ( Intent intent ) { - final Bundle transitionBundle = TransitionBundleFactory . create...
Add createBundle method
<nb> public class RouteResource extends CamelChildResourceSupport { return error ; } + public String getId ( ) { + return id ; + } }
exposed the id property
<nb> public class ChartServlet extends HttpServlet implements ManagedService { req . getParameter ( STRING0 ) , req . getParameter ( STRING1 ) ) ; ImageIO . write ( chart , provider . getChartType ( ) . toString ( ) , res . getOutputStream ( ) ) ; } catch ( ItemNotFoundException e ) { - logger . info ( STRING2 ...
use place holders instead of string concatenation
<nb> public class SourceContactRightButtonMenu . getPreferredContactDetail ( OperationSetBasicTelephony . class ) ; SINGLE - if ( cDetail != null ) + if ( cDetail != null + && sourceContact . getContactSource ( ) . getType ( ) + != ContactSourceService . RECENT_MESSAGES_TYPE ) + { add ( initCallMenu (...
Fixes recent conversations tooltip and right button menu remove extra not needed information
<nb> public class MainActivity extends ReactActivity { @ override protected List < ReactPackage > getPackages ( ) { return Arrays . < ReactPackage > asList ( - new MainReactPackage ( ) ) ; + new MainReactPackage ( ) + ) ; } }
Tweak formatting in Android template
<nb> public class LockPatternKeyguardView extends KeyguardViewBase implements Handler public void takeEmergencyCallAction ( ) { mHasOverlay = true ; - SINGLE - stopAndUnbindFromFaceLock ( ) ; SINGLE if ( usingFaceLock ( ) && mFaceLockServiceRunning ) { showFaceLockAreaWithTimeout ( FACELOCK_VIEW_AREA_...
Making Face Unlock fix that wasn t proerly merged in master
<nb> public class StringUtils { public static Properties argsToPropertiesWithResolve ( String [ ] args ) { TreeMap < String , String > result = new TreeMap < String , String > ( ) ; Map < String , String > existingArgs = new TreeMap < String , String > ( ) ; + System . out . println ( args ) ; for ( int i = N...
made argument parsing easy
<nb> public class PyExecutionException extends ExecutionException { final String command = getCommand ( ) + STRING0 + StringUtil . join ( getArgs ( ) , STRING0 ) ; b . append ( command ) ; b . append ( STRING1 ) ; + b . append ( STRING2 ) . append ( myExitCode ) . append ( STRING3 ) ; b . append ( STRING4 ) ;...
Include process exit code in toString representation of PyExecutionException
<nb> public class UIHelper { int holoColors [ ] = { NUMBER0 , NUMBER1 , NUMBER2 , NUMBER3 , NUMBER4 } ; - int color = holoColors [ Math . abs ( name . hashCode ( ) ) % holoColors . length ] ; + int color = holoColors [ Math . abs ( name . toLowerCase ( Locale . getDefault ( ) ) . hashCode ( ) ) % holoColors ....
changed all them beautifull colors
<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 ; import NAMESPACE ; <nb> p...
do not restore decoration in case of custom frame decorations
<nb> public class HighlyAvailableGraphDatabase this . broker . shutdown ( ) ; } internalShutdown ( false ) ; + messageLog . close ( ) ; } protected synchronized void close ( )
Closes the StringLogger in shutdown for HA graph db
<nb> public class RecentAppsPanel extends LinearLayout implements StatusBarPanel , OnC private void refreshApplicationList ( ) { mActivityDescriptions = getRecentTasks ( ) ; - updateUiElements ( getResources ( ) . getConfiguration ( ) , true ) ; + if ( mActivityDescriptions . size ( ) > NUMBER0 ) { + update...
Hide recents if there are no recent apps
<nb> abstract public class Log { public String toString ( ) { StringBuffer buf = new StringBuffer ( NUMBER0 ) ; buf . append ( when . startAsString ( ) ) . append ( STRING0 ) . append ( HOST_AND_PID ) ; + String thr = fixedLength ( Thread . currentThread ( ) . getName ( ) + STRING0 , NUMBER1 ) ; + buf . appen...
adding thread name
<nb> public class GuavaInspection extends BaseJavaLocalInspectionTool { @ notnull @ override protected Set < String > compute ( ) { - return ContainerUtil . newHashSet ( STRING0 , STRING1 , STRING2 , STRING3 ) ; + return ContainerUtil . newHashSet ( STRING0 , STRING1 , STRING2 , STRING3 , STRING4 ) ; } } ...
add toMultiset to stop methods
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class ChildBrowser extends Plugin { public void run ( ) { SINGLE dialog = new Dialog ( ctx . getContext ( ) , android . R . style . Theme_NoTitleB...
Added an animation to more closely match the Android standard and the iOS ChildBrowser plugin
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public abstract class AbstractHazelcastClassRunner extends BlockJUnit4ClassRunne @ override protected List < FrameworkMethod > getChildr...
resolved junit upgrade issue in the AbstractHazelcastClassRunner
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; COMMENT COMMENT <nb> public class UserSwitcherHostView extends FrameLayout implements ListView . OnItem public void refreshUsers ( ) { mUserInfo . clear ( ) ; - mUserInfo . addAll ( mUserManager . getUsers ( true ...
Don t show managed profiles in the user switcher
<nb> public class IrcDiscovery implements PeerDiscovery { int ipCursor = ipCursorStart ; do { connection = new Socket ( ) ; + int timeoutMsec = ( int ) TimeUnit . MILLISECONDS . convert ( timeoutValue , timeoutUnit ) ; + connection . setSoTimeout ( timeoutMsec ) ; try { InetAddress ip = ips [ ipCursor ] ;...
Set IRC discovery so timeout
<nb> 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 NAMESPACE ; ...
Removed unused imports
<nb> public class CustomerEntity { private String phone ; public String toString ( ) { - return STRING0 + userName + STRING1 + firstName + STRING2 + surname + STRING3 ; + return STRING0 + getUserName ( ) + STRING1 + getFirstName ( ) + STRING2 + getSurname ( ) + STRING3 ; } @ id
Fixed enhance warning
<nb> public final class Vector < T > implements IndexedSeq < T > , Serializable { for ( int i = NUMBER0 ; i < n ; i ++ ) { trie = trie . put ( trie . size ( ) , f . apply ( i ) ) ; } - return new Vector < > ( trie ) ; + return trie . isEmpty ( ) ? empty ( ) : new Vector < > ( trie ) ; } COMMENT
Return the singleton empty Vector in tabulate
<nb> public enum ChatColor { return colors . get ( code ) ; } + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + public static String stripColor ( final String input ) { + return input . replaceAll ( STRING0 , STRING1 ) ; + } + static { for ( ChatColor color : ChatColor . values...
Added ChatColor stripColor
<nb> public class SentimentPipeline { String filename = null ; for ( int argIndex = NUMBER0 ; argIndex < args . length ; ) { - if ( args [ argIndex ] . equalsIgnoreCase ( STRING0 ) ) { + if ( args [ argIndex ] . equalsIgnoreCase ( STRING1 ) ) { + sentimentModel = args [ argIndex + NUMBER1 ] ; + argIndex +...
Add a couple flags to specify models to the SentimentPipeline
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> import static NAMESPACE ; import static NAMESPACE ; @ runwith ( HazelcastParallelClassRunner . class ) + @ category ( QuickTest . cl...
add test category
<nb> public class ShowLookupActionsHandler extends LookupActionHandler { final Collection < LookupElementAction > actions = lookup . getActionsFor ( element ) ; if ( actions . isEmpty ( ) ) { + lookup . getEditor ( ) . getCaretModel ( ) . moveCaretRelatively ( NUMBER0 , NUMBER1 , false , false , true ) ; retu...
cancel lookup on move caret right
<nb> final class EditorTabbedContainer implements Disposable { } } ) ; + setTabPlacement ( UISettings . getInstance ( ) . EDITOR_TAB_PLACEMENT ) ; + updateTabBorder ( ) ; ( ( ToolWindowManagerEx ) ToolWindowManager . getInstance ( myProject ) ) . addToolWindowManagerListener ( new ToolWindowManagerAdapt...
tabs painting apply editor settings on startup
<nb> public class ViewMessageBodyWriterTest { output ) ; assertThat ( output . toString ( ) , - is ( String . format ( STRING0 ) ) ) ; + is ( STRING1 ) ) ; } @ test
Fix Mustache tests for Windows users
<nb> public class TreeUiTest extends AbstractTreeBuilderTest { SINGLE } + @ override + public void testNoExtraJTreeModelUpdate ( ) throws Exception { + SINGLE + } @ override public void testSelectWhenUpdatesArePending ( ) throws Exception {
commented TreeUiTest Passthrough testNoExtraJTreeModelUpdate because it doesnt make sense in passthrought mode
<nb> public class JSModuleGraph { COMMENT COMMENT COMMENT - private class InverseDepthComparator implements Comparator < JSModule > { + private static class InverseDepthComparator implements Comparator < JSModule > { @ override public int compare ( JSModule m1 , JSModule m2 ) { return depthCompare ( m2 ...
Convert more closure compiler inner classes that can be static
<nb> public final class ActivityManagerService extends ActivityManagerNative mHandler . sendMessageDelayed ( nmsg , POWER_CHECK_DELAY ) ; SINGLE SystemProperties . set ( STRING0 , STRING1 ) ; - SystemProperties . set ( STRING2 , STRING1 ) ; + + SINGLE + if ( ! STRING3 . equals ( SystemProperties . get ( S...
Don t set dev bootcomplete until interacting with user
<nb> public final class AlternatingLeastSquares implements MatrixFactorizer { if ( count >= LOG_INTERVAL ) { total += count ; JVMEnvironment env = new JVMEnvironment ( ) ; - log . info ( STRING0 , total , env . getUsedMemoryMB ( ) ) ; + log . info ( STRING1 , + total , env . getUsedMemoryMB ( ) , env . getM...
Add max heap to ALS info log
<nb> public class RestSpec { } void addApi ( RestApi restApi ) { - if ( STRING0 . equals ( restApi . getName ( ) ) ) { - SINGLE - SINGLE - restApiMap . put ( STRING0 , new RestApi ( restApi , STRING0 , STRING1 ) ) ; - restApiMap . put ( STRING2 , new RestApi ( restApi , STRING2 , STRING3 ) ) ; - } els...
TEST Removed TODO and custom code now that ping and info are two different apis in the REST spec
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ;
Cleaning up interceptors in oauth and oidc
<nb> import NAMESPACE ; COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT
Fix typo in documentation of ProvidesIntoMap
<nb> public class ChunkSummary extends MRTask < ChunkSummary > { for ( Vec v : _fr . vecs ( ) ) check += v . nChunks ( ) ; assert ( total_chunk_count == check ) ; + + SINGLE SINGLE SINGLE
Add comment why assertion was removed
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class EventServiceImpl implements EventService { Registration registration = segment . registrationIdMap . get ( eventPacket . id )...
Suppressed event service log
<nb> public class AndroidDisplayer implements IDisplayer { SINGLE SINGLE SINGLE - canvas . drawBitmap ( holder . bitmap , danmaku . getLeft ( ) , danmaku . getTop ( ) , null ) ; + canvas . drawBitmap ( holder . bitmap , left , top , null ) ; SINGLE return ; }
Fix drawing bug
<nb> public class VideoPlayer extends Activity implements OnClickListener , } private void toggleControlsVisibility ( ) { - if ( mediaController != null ) { + if ( mediaController != null && player != null ) { if ( mediaController . isShowing ( ) ) { mediaController . hide ( ) ; } else {
Fix crash on screen touch
<nb> class AudioPlaybackHandler { final AudioTrack audioTrack = params . getAudioTrack ( ) ; if ( audioTrack == null ) { - params . getDispatcher ( ) . dispatchOnError ( ) ; + SINGLE + SINGLE return ; }
Fix superfluous onError callbacks
<nb> public class Parse implements Tokens { Object instance ; boolean isDynamic ; boolean hasAttributes ; + + public String toString ( ) { + return STRING0 + namespace + STRING1 + name + STRING2 ; + } } public Parse ( String name , InputStream in ) throws IOException { <nb> public class Parse impl...
throws a better error message when tags are left unclosed
<nb> public class SbeExample final Engine engine = car . engine ( ) ; sb . append ( STRING0 ) . append ( engine . capacity ( ) ) ; sb . append ( STRING1 ) . append ( engine . numCylinders ( ) ) ; + sb . append ( STRING2 ) . append ( engine . maxRpm ( ) ) ; sb . append ( STRING3 ) ; for ( int i = NUMBER0 , s...
Added reading of constant property from the decoder
<nb> public class SsdpDiscovery { + STRING0 + NEWLINE ; public static void main ( String args [ ] ) { - discover ( ) ; + System . out . println ( STRING1 + discover ( ) ) ; } COMMENT <nb> public class SsdpDiscovery { } catch ( Exception e ) { e . printStackTrace ( ) ; } - System . out . printl...
Remove system out println outside the main method
<nb> abstract class BoundedLocalCache < K , V > extends BLCHeader . DrainStatusRef < K , V > if ( hasRemovalListener ( ) ) { notifyRemoval ( key , value , cause ) ; } - makeDead ( node ) ; } + + makeDead ( node ) ; } @ override
Fix build due to broken clear change
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> class GrapeEngineCustomizer { @ override public void log ( String msg , int level ) { logDownloadingMessage ( ) ; - Message . getDefaultLogger ( ) . lo...
Remove superfluous ivy log output
<nb> 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 NAMESPACE ; <nb> public cla...
Remove another ValveBase reference
<nb> public class SuggestSearchTests extends ElasticsearchIntegrationTest { searchSuggest = searchSuggest ( STRING0 , suggest ) ; long total = System . currentTimeMillis ( ) - start ; assertSuggestion ( searchSuggest , NUMBER0 , NUMBER0 , STRING1 , STRING0 ) ; - assertThat ( total , lessThan ( NUMBER1 ) ) ; SIN...
TEST remove time upperbound from test only for testing
<nb> public class Vector3 implements Serializable , Vector < Vector3 > { this . set ( values [ NUMBER0 ] , values [ NUMBER1 ] , values [ NUMBER2 ] ) ; } + COMMENT + COMMENT + COMMENT + COMMENT + public Vector3 ( final Vector2 vector , float z ) { + this . set ( vector . x , vector . y , z ) ; + } ...
Added new constructor and setter for Vector3
<nb> public class GitBranchWidget extends EditorBasedWidget implements StatusBarWidge int maxLength = myMaxString . length ( ) - NUMBER0 ; SINGLE myText = StringUtil . shortenTextWithEllipsis ( GitBranchUtil . getDisplayableBranchText ( repo ) , maxLength , NUMBER1 ) ; myTooltip = getDisplayableBranchTooltip ( re...
git Fix possible NPE if the status bar has already been disposed
<nb> COMMENT package NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public abstract class OStringSerializerHelper { return iValue ; return new Boolean ( getStringContent ( iValue ) ) ; + case DECIMAL : + if ( iValue instanceof BigDecimal ) + re...
Fixed bug on conversion of DECIMAL type
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class Astrid2TaskProvider extends ContentProvider { @ override public boolean onCreate ( ) { ctx = getContext ( ) ; + ContextManager . setContex...
Astrid2TaskProvider now can set contextmanager
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class CxfProducer extends DefaultProducer implements AsyncProcessor { @ override protected void doStart ( ) throws Exception { ...
Add failsafe until we have better namespace parsing with factory beans
<nb> class AlarmManagerService extends SystemService { fs . numWakeup ++ ; if ( alarm . workSource != null && alarm . workSource . size ( ) > NUMBER0 ) { for ( int wi = NUMBER0 ; wi < alarm . workSource . size ( ) ; wi ++ ) { + final String wsName = alarm . workSource . getName ( wi ) ; + if ( wsName == null ...
Note null alarm worksource names under the alarm s package
<nb> public class ReilOperandNode implements IOperandTreeNode { private final ExpressionType m_type ; public ReilOperandNode ( final String value , final ExpressionType type ) { - m_value = Preconditions . checkNotNull ( value , STRING0 ) ; + m_value = Preconditions . checkNotNull ( value ) ; m_type = type ...
Remove error messages
<nb> public final class SecurityClassLoad { loader . loadClass ( basePackage + STRING0 ) ; + loader . loadClass + ( basePackage + + STRING1 ) }
Porting fix to allow for a forward include to call getAttributeNames on the Request in a sandbox
<nb> import NAMESPACE ; COMMENT COMMENT COMMENT + COMMENT COMMENT public class OperationSetGenericNotificationsJabberImpl implements OperationSetGenericNotifications , <nb> public class OperationSetGenericNotificationsJabberImpl return ; } + SINGLE + String fullJid = jabberProvider . getFullJi...
Adds full jid retrieval when sending generic notifications to a bare jid
<nb> class TaskRunner extends InterruptingExecutionThreadService { COMMENT COMMENT public void stop ( ) throws InterruptedException { - if ( containerId . isPresent ( ) ) { - final String container = containerId . get ( ) ; + SINGLE + stopAsync ( ) . awaitTerminated ( ) ; - SINGLE - stopAsync ( ) . ...
Kill container based on name if ID not available
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class FileUtils extends Plugin { } SINGLE - SINGLE - String contentType = STRING0 ; + MimeTypeMap map = MimeTypeMap . getSingleton ( ) ; + String contentType...
Setting content type properly in readAsDataURL
<nb> package NAMESPACE ; + import NAMESPACE ; + COMMENT COMMENT COMMENT COMMENT + @ retention ( RetentionPolicy . RUNTIME ) + @ target ( ElementType . TYPE ) public @ interface LegacyConsumerInterface { String value ( ) ; }
Added some meta data to the annotation type
<nb> public final class Const { SINGLE COMMENT - static final short FLAG_BITS = NUMBER0 ; + public static final short FLAG_BITS = NUMBER0 ; + + COMMENT + public static final short MS_FLAG_BITS = NUMBER1 ; COMMENT COMMENT COMMENT COMMENT - static final short FLAG_FLOAT = NUMBER2 ; + public ...
Add flags for millisecond support to Const java
<nb> public abstract class SClass < T > { return that . implementsInterface ( this ) ; } - SClass < ? > superclass = this . getSuperclass ( ) ; + SClass < ? > superclass = that . getSuperclass ( ) ; while ( superclass != null ) { - if ( superclass . getDescriptor ( ) . equals ( thatDescriptor ) ) { + if...
Fix hang in compiler when compiling lambdas for method references taking
<nb> public class OptionsInvokePanel extends AbstractParamPanel { editParameters = new ZapTextField ( ) ; editNote = new JCheckBox ( ) ; - editOutput = new JCheckBox ( ) ; + editNote . setEnabled ( false ) ; + + editOutput = new JCheckBox ( ) ; editOutput . addActionListener ( new ActionListener ( ) { ...
Fix invoke option checkboxes
<nb> public class SystemTable Token token = StorageService . getPartitioner ( ) . getTokenFactory ( ) . fromByteArray ( oldColumns . next ( ) . value ( ) ) ; String tokenBytes = serializeTokens ( Collections . singleton ( token ) ) ; SINGLE - String req = STRING0 ; + String req = STRING1 ; processInternal (...
Fix query for system table upgrade
<nb> public class TemplateLibrary { return gen_name . toString ( ) ; } + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT public static Map < String , String > generateI18N ( String pattern , OSMWithTags way , String ...
Add comment to TemplateLibrary
<nb> package NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class Invoker { else if ( left instanceof String && right instanceof Character ) { return ( ( String ) left ) . compareTo ( right . toString ( ) ) ; } + else if (...
allow String GString
<nb> public class KickstartServiceImpl implements KickstartService { . processDefinitionId ( id ) . singleResult ( ) ; - SINGLE + SINGLE InputStream is = null ; Definitions definitions = null ; try { <nb> public class KickstartServiceImpl implements KickstartService { protected TaskDto convertUser...
added task id to TaskDto in KickStartService
<nb> public class PyExceptClausesOrderInspection extends LocalInspectionTool { super ( holder ) ; } - SINGLE @ override public void visitPyTryExceptStatement ( PyTryExceptStatement node ) { PyExceptPart [ ] exceptParts = node . getExceptParts ( ) ;
delete obsolete TODO