diff
stringlengths
38
1.78k
msg_token
stringlengths
9
190
<nb> public abstract class BaseG3dHudTest extends BaseG3dTest { protected float moveRadius = FLOAT0 ; protected String models [ ] = new String [ ] { STRING0 , STRING1 , STRING2 , STRING3 , STRING4 , STRING5 , - STRING6 , STRING7 , STRING8 , STRING9 , STRING10 , STRING11 , + STRING6 , STRING8 , STRING9 , STRIN...
Removed a non existant model
<nb> public class Material implements CloneableSmartAsset , Cloneable , Savable { Quaternion tmpLightDirection = vars . quat1 ; Quaternion tmpLightPosition = vars . quat2 ; ColorRGBA tmpLightColor = vars . color ; - Vector4f tmpVec = vars . vect4f ; + Vector4f tmpVec = vars . vect4f1 ; ColorRGBA color = l...
Added a second vect4f to tempvars so renamed the
<nb> public class AsyncContextImpl implements AsyncContext { exchange . addExchangeCompleteListener ( new ExchangeCompletionListener ( ) { @ override public void exchangeEvent ( HttpServerExchange exchange , NextListener nextListener ) { - instance . release ( ) ; + try { + instance . release ( ) ; + } fi...
Fix issue with async listeners
<nb> public class PyImportElementImpl extends PyBaseElementImpl < PyImportElementStub > } @ override - public boolean processDeclarations ( @ notnull final PsiScopeProcessor processor , - @ notnull final ResolveState state , - final PsiElement lastParent , - @ notnull final PsiElement place ) { - SINGLE...
delete unused implementations of processDeclarations
<nb> public class GoTestFunctionCompletionProvider extends CompletionProvider < Complet String lookupString = ! typeText . isEmpty ( ) ? StringUtil . capitalize ( typeText ) + STRING0 + methodName : methodName ; addVariants ( declaration , lookupString , fileNameWithoutTestPrefix , allTestFunctionNames , resultSet ...
Process all methods in completion test names
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class CasAuthenticationProvider implements AuthenticationProvider , Initia SINGLE private UserDetailsService userDetailsService ; + private ...
Added account status checking to Cas provider
<nb> public class HeatmapsDemoActivity extends BaseDemoActivity { @ override protected void startDemo ( ) { - getMap ( ) . moveCamera ( CameraUpdateFactory . newLatLngZoom ( new LatLng ( - NUMBER0 , NUMBER1 ) , NUMBER2 ) ) ; + getMap ( ) . moveCamera ( CameraUpdateFactory . newLatLngZoom ( new LatLng ( - NUMB...
changing initial zoom level for heatmaps demo to make it prettier initially
<nb> public class MapperService extends AbstractIndexComponent { } COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT
Fix a typo in a javadoc comment in MapperService
<nb> public class TomcatEmbeddedServletContainerFactory } catch ( FileNotFoundException ex ) { throw new EmbeddedServletContainerException ( - STRING0 + ex . getMessage ( ) , ex ) ; + STRING1 + ex . getMessage ( ) , ex ) ; } if ( ssl . getKeyStoreType ( ) != null ) { protocol . setKeystoreType ( ssl . g...
Fix error messages
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class XlsExporter implements StreamExporter { @ override public void startFile ( JSONObject options ) { s = wb . createSheet ( ) ; - wb . setShe...
create safe sheet names for Excel export patch from jd tekii com ar
<nb> public class GroovyClassLoader extends SecureClassLoader { unit . addSource ( codeSource . getFile ( ) ) ; } unit . setClassgenCallback ( collector ) ; - unit . compile ( Phases . CLASS_GENERATION ) ; + int goalPhase = Phases . CLASS_GENERATION ; + if ( config != null && config . getTargetDirectory ( )...
enables the class loader to write dependent classes if the config contains a target directory
<nb> public final class ImmutableClassToInstanceMap < B > extends COMMENT COMMENT COMMENT - @ suppresswarnings ( STRING0 ) SINGLE public static < B , S extends B > ImmutableClassToInstanceMap < B > copyOf ( Map < ? extends Class < ? extends S > , ? extends S > map ) { if ( map instanceof ImmutableClassToI...
Fix Eclipse compiler build breakage caused by raw types cleanup
<nb> public interface MetricRegistryListener extends EventListener { COMMENT COMMENT COMMENT - public static abstract class Base implements MetricRegistryListener { + abstract class Base implements MetricRegistryListener { @ override public void onGaugeAdded ( String name , Gauge < ? > gauge ) { }
Elide unnecessary keywords
<nb> final class Security { addPath ( policy , Environment . PATH_DATA_SETTING . getKey ( ) , path , STRING0 ) ; } SINGLE - assert Version . CURRENT . major < NUMBER0 : STRING1 ; + SINGLE for ( Path path : environment . dataWithClusterFiles ( ) ) { addPathIfExists ( policy , Environment . PATH_DATA_SETTIN...
Remove assertion for cluster name in data path
<nb> public class DefaultSampleDataCallback implements SampleDataCallback private int nonNegative ( int max ) { - return Math . abs ( _random . nextInt ( max ) ) + NUMBER0 ; + return Math . abs ( _random . nextInt ( max + NUMBER0 ) ) ; } private < T > T valueFromArray ( T [ ] array )
fix example data gen for enums
<nb> public class DexFileReader { int sizeJ = in . readUIntx ( ) ; for ( int j = NUMBER0 ; j < sizeJ ; j ++ ) { int field_annotation_offset = in . readUIntx ( ) ; + if ( field_annotation_offset == NUMBER0 ) { + continue ; + } in . pushMove ( field_annotation_offset ) ; try { DexAnnotationAble dpav = d...
fix annotation read bug
<nb> public class WifiTile extends QSTile < QSTile . SignalState > { item . tag = ap ; item . icon = mWifiController . getIcon ( ap ) ; item . line1 = ap . getSsid ( ) ; - item . line2 = ap . getSummary ( ) ; + item . line2 = ap . isActive ( ) ? ap . getSummary ( ) : null ; item . overlay = ap . getSecurity...
Only show summary for active wifi
<nb> public final class TvInputManager { mHandler . post ( new Runnable ( ) { @ override public void run ( ) { - mListener . onInputUpdated ( inputId ) ; + mCallback . onInputUpdated ( inputId ) ; } } ) ; } <nb> public final class TvInputManager { @ override public void onInputUpdated ( String inp...
Fix build breakage
<nb> public final class MahoutDriver { argsList . addAll ( Arrays . asList ( argMap . get ( arg ) ) ) ; } } + long start = System . currentTimeMillis ( ) ; programDriver . driver ( argsList . toArray ( new String [ argsList . size ( ) ] ) ) ; + long finish = System . currentTimeMillis ( ) ; + if ( log . i...
Print out the time it took to run
<nb> public class PApplet extends Applet for ( int sz : sizes ) { URL url = getClass ( ) . getResource ( STRING0 + sz + STRING1 ) ; - Toolkit . getDefaultToolkit ( ) . getImage ( url ) ; + Image image = Toolkit . getDefaultToolkit ( ) . getImage ( url ) ; + iconImages . add ( image ) ; SINGLE } }
now actually add the images
<nb> public class Debug implements Constants { public static void d ( final String pMessage ) { Log . d ( DEBUGTAG , pMessage ) ; } + + public static void w ( final Throwable pThrowable ) { + Debug . w ( STRING0 , pThrowable ) ; + } public static void w ( final String pMessage , final Throwable pThrow...
Added Debug d e taking only the exception without a message
<nb> public abstract class AbstractSecurityWebApplicationInitializer implements WebAp COMMENT public final void onStartup ( ServletContext servletContext ) throws ServletException { + beforeSpringSecurityFilterChain ( servletContext ) ; if ( configurationClasses != null ) { AnnotationConfigWebApplicationCon...
Provide beforeSpringSecurityFilterChain hook
<nb> public class LegacyMetadataMapper { m . set ( CaptureRequest . LENS_FOCAL_LENGTH , c . get ( CameraCharacteristics . LENS_INFO_AVAILABLE_FOCAL_LENGTHS ) [ NUMBER0 ] ) ; + COMMENT + COMMENT + COMMENT + + SINGLE + Size [ ] sizes = c . get ( CameraCharacteristics . JPEG_AVAILABLE_THUMBNAIL_SIZES ) ;...
Set a default thumbnail size
<nb> COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT <nb> import NAMESPACE ; COMMENT COMMENT COMMENT + COMMENT + COMMENT + COMMENT COMMENT COMMENT COMMENT
add link to confluence doc
<nb> public class JavaLineIndentProvider extends JavaLikeLangLineIndentProvider { @ override public boolean isSuitableFor ( @ nullable Language language ) { - return language != null && language . isKindOf ( JavaLanguage . INSTANCE ) ; + return false ; } }
Temporarily disable JavaLineIndentProvider not to break tests
<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 class Render { this . compiledTemplateCache = compiledTem...
Use pooled buffers for template content and fix compile error
<nb> public class ChaseCamera implements ActionListener , AnalogListener , Control { public void setLookAtOffset ( Vector3f lookAtOffset ) { this . lookAtOffset = lookAtOffset ; } + + COMMENT + COMMENT + COMMENT + COMMENT + public void setUpVector ( Vector3f up ) { + initialUpVec = up ; + } + ...
added a setUpVector method
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; import NAM...
eliminate eclipse warnings
<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 class PhoneGap { } ) ; } + public void playSound ( ...
Adding Sound to Android PhoneGap
<nb> public class SpannableGridLayoutManager extends GridLayoutManager { private int getWidthUsed ( View child ) { final LayoutParams lp = ( LayoutParams ) child . getLayoutParams ( ) ; - return getWidth ( ) - getChildWidth ( lp . colSpan ) ; + return getWidth ( ) - getPaddingLeft ( ) - getPaddingRight ( ) - ...
layouts Correctly handle padding in SpannableGridLayoutManager
<nb> public class StickyRecyclerHeadersTouchListener implements RecyclerView . OnItemTo private OnHeaderClickListener mOnHeaderClickListener ; public interface OnHeaderClickListener { - public void onHeaderClick ( View header , int position , long headerId ) ; + void onHeaderClick ( View header , int position...
Remove unnecessary public
<nb> public class BytesType extends AbstractType < ByteBuffer > public ByteBuffer fromString ( String source ) { - return ByteBuffer . wrap ( FBUtilities . hexToBytes ( source ) ) ; + try + { + return ByteBuffer . wrap ( FBUtilities . hexToBytes ( source ) ) ; + } + catch ( NumberFormatException e ) ...
handle NumberFormatExceptions from BytesType fromString
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; <nb> import NAMESPACE ; COMMENT COMMENT COMMENT + @ threadsafe public abstract class UnderFileSystem { protected final TachyonConf mTachyonConf ; COMMENT - COMME...
Adding thread safety annotations for tachyon underfs in common module
<nb> package NAMESPACE ; COMMENT COMMENT public class JedisClusterCRC16 { - public static final int LOOKUP_TABLE [ ] = { NUMBER0 , NUMBER1 , NUMBER2 , NUMBER3 , NUMBER4 , NUMBER5 , NUMBER6 , NUMBER7 , NUMBER8 , NUMBER9 , + private static final int LOOKUP_TABLE [ ] = { NUMBER0 , NUMBER1 , NUMBER2 , NUMBER3 , N...
Hide lookup table to prevent broken
<nb> public class CacheFactory { return ; } SINGLE - String enabled = JiveGlobals . getXMLProperty ( CLUSTER_PROPERTY_NAME ) ; + boolean enabled = JiveGlobals . getXMLProperty ( CLUSTER_PROPERTY_NAME , false ) ; - if ( Boolean . valueOf ( enabled ) ) { + if ( enabled ) { Log . debug ( STRING0 ) ; st...
Moved responsibility of setting current nodeID
<nb> public class FindInProjectUtil { if ( psiDirectory == null || findModel . isWithSubdirectories ( ) && fileIndex . isInContent ( psiDirectory . getVirtualFile ( ) ) ) { final Pattern fileMaskRegExp = createFileMaskRegExp ( findModel ) ; SINGLE - final Collection < PsiFile > filesForFastWordSearch = getFiles...
don t access indices in dumb mode
<nb> public class FlywayMediumTest { flyway . setValidateOnMigrate ( true ) ; flyway . setTarget ( MigrationVersion . LATEST ) ; flyway . setOutOfOrder ( true ) ; - assertEquals ( MigrationState . PENDING , flyway . info ( ) . all ( ) [ NUMBER0 ] . getState ( ) ) ; + assertEquals ( MigrationState . PENDING , ...
Fixed broken test
<nb> public class GraphTestSuite extends TestSuite { for ( Vertex v : vertices ) { counter = counter + NUMBER0 ; graph . removeVertex ( v ) ; - if ( counter + NUMBER0 % NUMBER1 == NUMBER2 ) { + if ( ( counter + NUMBER0 ) % NUMBER1 == NUMBER2 ) { if ( graphTest . supportsEdgeIteration ) { - assertEquals ( ...
Corrected bug in GraphTestSuite where assert was not executing
<nb> public final class StrictJarFile { } } + @ override + protected void finalize ( ) throws Throwable { + try { + if ( guard != null ) { + guard . warnIfOpen ( ) ; + } + close ( ) ; + } finally { + super . finalize ( ) ; + } + } + private InputStream getZipInputStream ( ZipEntry ze ) {...
Add a finalize method to StrictJarFile
<nb> public final class DefaultPassConfig extends PassConfig { checks . add ( exportTestFunctions ) ; } + if ( options . closurePass && ! options . skipNonTranspilationPasses ) { + checks . add ( closurePrimitives ) ; + } + SINGLE SINGLE SINGLE <nb> public final class DefaultPassConfig extends Pas...
Moving ClosurePrimitives before the early transpilation
<nb> public class EnforceSingleRowOperator } } - private static final Page SINGLE_NULL_VALUE_PAGE = new Page ( NUMBER0 , new FixedWidthBlock ( NUMBER0 , NUMBER0 , EMPTY_SLICE , Slices . wrappedBooleanArray ( true ) ) ) ; + private static final Page SINGLE_NULL_VALUE_PAGE = new Page ( NUMBER0 , new FixedWidthB...
Check data size in FixedWidthBlock constructor
<nb> public class RefProperty extends AbstractProperty implements Property { } public String get$ref ( ) { - return STRING0 + ref ; + if ( ref . startsWith ( STRING1 ) ) + return ref ; + else + return STRING0 + ref ; } public void set$ref ( String ref ) { if ( ref . indexOf ( STRING0 ) == NUMBER0 ...
added remote references
<nb> public class MovieDetailFragment extends BaseDetailFragment if ( mFadeActionBar && hasCallbacks ( ) ) { getCallbacks ( ) . setHeaderScrollValue ( percent ) ; } + } else { + if ( mBackdropToolbarLayout != null ) { + mBackdropToolbarLayout . setScrollOffset ( FLOAT0 ) ; + } } - return ; } <...
Always show the backdrop
<nb> package NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import static NAMESPACE ; <nb> public class TestParserExec extends BaseTest { COMMENT COMMENT COMMENT + @ ignore ( STRING0 ) @ test public void testStartRuleWithoutEOF ( ) { String grammar = STRING1 +
Ignore testStartRuleWithoutEOF until we decide on the desired behavior
<nb> public class SubtasksHelper { String serialized ; if ( tlm != null ) serialized = tlm . getValue ( TaskListMetadata . TASK_IDS ) ; - if ( tagData != null ) + else if ( tagData != null ) serialized = convertTreeToRemoteIds ( tagData . getValue ( TagData . TAG_ORDERING ) ) ; else serialized = STRING0...
Fixed a bug affecting display of manual order in widgets
<nb> public class IndexerDBCoordinator final ResultIterator < Map < String , Object > > dbSegments = handle . createQuery ( String . format ( - STRING0 , + STRING1 , dbTables . getSegmentsTable ( ) ) ) <nb> public class IndexerDBCoordinator return handle . createQuery ( String . format ( DbConne...
Fixed segments SQL queries for PostgreSQL compatibility
<nb> public class Gossiper implements IFailureDetectionEventListener , GossiperMBean if ( logger . isTraceEnabled ( ) ) logger . trace ( ep + STRING0 + localGeneration + STRING1 + remoteGeneration ) ; - if ( remoteGeneration > localGeneration + MAX_GENERATION_DIFFERENCE ) + if ( localGeneration != NUMBER0 && ...
Don t do generation safety check when the local gen is zero
<nb> public class FloatingActionMenu extends ViewGroup { } label . setText ( text ) ; + label . setOnClickListener ( fab . getOnClickListener ( ) ) ; addView ( label ) ; fab . setTag ( R . id . fab_label , label ) ;
Fixed OnClickListener on a button s label
<nb> public class MultiLayerTest { SplitTestAndTrain trainTest = next . splitTestAndTrain ( NUMBER0 ) ; network . setLabels ( trainTest . getTrain ( ) . getLabels ( ) ) ; network . init ( ) ; - network . setInput ( trainTest . getTrain ( ) . getFeatureMatrix ( ) ) ; - network . setLabels ( trainTest . getTrai...
Removed section of test no longer used or available in Nd4j
<nb> public abstract class GroovyTemplate { public static String template ( TemplateEngine engine , String name , Map < String , ? > model ) throws IOException , CompilationFailedException , ClassNotFoundException { - Writable writable = getTemplate ( name ) . make ( model ) ; + Writable writable = getTemplat...
Fix bug in GroovyTemplate convenience
<nb> public class ItemSlidingAnimator { final WeakReference < RecyclerView . ViewHolder > mRefHolder ; public ViewHolderDeferredProcess ( RecyclerView . ViewHolder holder ) { - mRefHolder = new WeakReference < RecyclerView . ViewHolder > ( holder ) ; + mRefHolder = new WeakReference < > ( holder ) ; } @...
Lint Fix extra explicit type arguments
<nb> public class Orient extends OListenerManger < OOrientListener > { for ( String dbName : storagesToRemove ) storages . remove ( dbName ) ; + SINGLE + for ( OEngine engine : engines . values ( ) ) { + engine . removeStorage ( storage ) ; + } + } finally { engineLock . writeLock ( ) . unlock ( ) ;...
fixed cached schema client side after database drop
<nb> public class TvdbAddFragment extends AddFragment { results = TheTVDB . searchShow ( query , mContext ) ; } catch ( IOException e ) { return null ; - } catch ( SAXException e ) { - return null ; } return results ; <nb> public class TheTVDB { COMMENT COMMENT COMMENT - public static List < S...
Dropped unused Exception from throws list
<nb> class NavigationBarRecents extends LinearLayout { MAX_RECENTS , ActivityManager . RECENT_IGNORE_HOME_STACK_TASKS | ActivityManager . RECENT_IGNORE_UNAVAILABLE | - ActivityManager . RECENT_INCLUDE_PROFILES | - ActivityManager . RECENT_WITH_EXCLUDED , + ActivityManager . RECENT_INCLUDE_PROFILES , UserH...
Not showing excluded tasks in Recents
<nb> public final class WorkProcessor < T > notifyStart ( ) ; boolean processedSequence = true ; + long cachedAvailableSequence = Long . MIN_VALUE ; long nextSequence = sequence . get ( ) ; T event = null ; while ( true ) <nb> public final class WorkProcessor < T > sequence . set ( nextSequence - NUMB...
Cache the available sequence in the WorkProcessor fix crippled performance for the multi producer case
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class ProtoCompileActionBuilder { } result + . useParameterFile ( ParameterFile . ParameterFileType . UNQUOTED ) . addOutpu...
Allow the action that calls proto compiler to do so using a params file
<nb> public class SwipeHelper implements Gefingerpoken { private void updateAlphaFromOffset ( View animView , boolean dismissable ) { if ( FADE_OUT_DURING_SWIPE && dismissable ) { + float alpha = getAlphaForOffset ( animView ) ; + if ( alpha != FLOAT0 && alpha != FLOAT1 ) { + animView . setLayerType ( View ...
Improve swipe performance in Recents
<nb> import NAMESPACE ; import NAMESPACE ; import static NAMESPACE ; - import static NAMESPACE ; + import static NAMESPACE ; public class TestApproximateCountDoubleAggregation extends AbstractTestApproximateAggregationFunction <nb> public class TestApproximateCountDoubleAggregation @ override prot...
Fix approximate count double test
<nb> public class SvnCommand { private final AtomicBoolean myWasError = new AtomicBoolean ( false ) ; @ notnull private final AtomicReference < Throwable > myExceptionRef ; - public SvnCommand ( File workingDirectory , @ notnull SvnCommandName commandName , @ notnull @ nonnls String exePath ) { - this ( worki...
Removed unused SvnCommand constructor
<nb> class ScreenshotTaker { public void run ( ) { while ( seqno < maxFrames ) { - if ( ! keepRunning || Thread . interrupted ( ) ) return ; + if ( ! keepRunning || Thread . interrupted ( ) ) break ; doScreenshot ( ) ; seqno ++ ; try {
Perform a break instead of return in ScreenshotSequenceThread
<nb> import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; - import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ;
Remove unused imports
<nb> public class FileUtilsTest extends TestCase { File symlink = new File ( tmpdir , file . getName ( ) + STRING0 ) ; try { Runtime . getRuntime ( ) . exec ( new String [ ] { STRING1 , STRING2 , file . getAbsolutePath ( ) , symlink . getAbsolutePath ( ) } ) ; + SINGLE + long start = System . currentTimeMilli...
add symlink creation timeout
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> import NAMESPACE ; COMMENT COMMENT COMMENT + @ ignore public class TestRenders extends BaseUiServerTest { @ test public void r...
disable ui tests for travis
<nb> package NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> import NAMESPACE ; COMMENT COMMENT COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT +...
Upgrade your JDK to use FileRegion
<nb> public class KmlBikeParkDataSource implements BikeParkDataSource , PreferencesCon public KmlBikeParkDataSource ( ) { xmlDownloader = new XmlDataListDownloader < BikePark > ( ) ; xmlDownloader - . setPath ( STRING0 ) ; + . setPath ( STRING1 ) ; xmlDownloader . setDataFactory ( new XmlDataListDownloader ...
Allow placemarks folders in bike rental KML source
<nb> public final class ObjectNode < T > { private void ensureChildArray ( ) { if ( myChildren == null ) { - myChildren = new LinkedHashSet < ObjectNode < T > > ( ) ; + myChildren = new LinkedHashSet < ObjectNode < T > > ( NUMBER0 ) ; } }
spare some memory
<nb> public class CRFClassifier < IN extends CoreMap > extends AbstractSequenceClassifie func . setFeatureGrouping ( fg ) ; } - Minimizer minimizer = getMinimizer ( pruneFeatureItr , evaluators ) ; + Minimizer < DiffFunction > minimizer = getMinimizer ( pruneFeatureItr , evaluators ) ; double [ ] initialW...
Add a tiny bit of generics
<nb> public class XmppConnection implements Runnable { } ) ; } - private void processStreamError ( Tag currentTag ) { - Log . d ( Config . LOGTAG , STRING0 ) ; + private void processStreamError ( Tag currentTag ) throws XmlPullParserException , IOException { + Element streamError = tagReader . readElement...
avoiding resource conflicts
<nb> GNU Affero General Public License for more details . You should have received a copy of the GNU Affero General Public License along with Gephi . If not , see < http : SINGLE - COMMENT + COMMENT package NAMESPACE ; import NAMESPACE ; <nb> public class SelfLoop2dModel extends Edge2dModel { } re...
Fix exception with self loops
<nb> public class DragAndDrop { SINGLE Target newTarget = null ; isValidTarget = false ; - Actor hit = event . getStage ( ) . hit ( event . getStageX ( ) , event . getStageY ( ) , false ) ; + Actor hit = event . getStage ( ) . hit ( event . getStageX ( ) , event . getStageY ( ) , true ) ; SINGLE + if ( hit ...
DragAndDrop prefer touchable targets but still check non touchable
<nb> public final class MediaBrowserCompat { COMMENT COMMENT COMMENT - static class SubscriptionCallbackApi21 extends SubscriptionCallback { + public static class SubscriptionCallbackApi21 extends SubscriptionCallback { SubscriptionCallback mSubscriptionCallback ; private final Object mSubscriptionCallbac...
Make an internal class package private
<nb> COMMENT - COMMENT + COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT <nb> COMMENT COMMENT COMMENT - package NAMESPACE ; import NAMESPACE ;
updated license headers on the test class
<nb> public abstract class ConsoleSupport { } public GroovyShell getShell ( ) { - return shell ; - } - - protected Object evaluate ( String text ) { - System . out . println ( STRING0 + text ) ; - if ( shell == null ) { shell = new GroovyShell ( ) ; } + return shell ; + } + protected Obj...
Make it possible to set variables in the console shell bindings before
<nb> public class RCompletionManager implements CompletionManager public boolean previewKeyDown ( NativeEvent event ) { + suggestTimer_ . cancel ( ) ; + if ( sigTip_ != null ) if ( sigTip_ . previewKeyDown ( event ) ) return true ;
cancel suggestion timer on keydown as well
<nb> public class FileBasedIndexImpl extends FileBasedIndex { try { for ( VirtualFile file : getAllFilesToUpdate ( ) ) { + if ( updateSemaphore . isUpdateCanceled ( ) ) { + SINGLE + throw new ProcessCanceledException ( ) ; + } if ( indexableFilesFilter != null && file instanceof VirtualFileWithId && ! i...
one more canceled check
<nb> public class SearchUICore { if ( a1 != null && a2 != null ) { if ( a1 . getType ( ) . getKeyName ( ) . equals ( STRING0 ) && a2 . getType ( ) . getKeyName ( ) . equals ( STRING0 ) ) { - similarityRadius = NUMBER0 ; + similarityRadius = NUMBER1 ; } } return MapUtils . getDistance ( r1 . location , r...
Add method filter duplicate results
<nb> class AndroidBuild extends JavaBuild { SINGLE SINGLE SINGLE - protected boolean antBuild ( ) throws SketchException { + protected boolean antBuild_dexworkaround ( ) throws SketchException { try { SINGLE SINGLE <nb> class AndroidBuild extends JavaBuild { COMMENT - protected boolean antBuil...
fix build warning trying old ant build in android
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; public class LlapIoImpl implements LlapIo < VectorizedRowBatch > { public static final Log LOG = LogFactory . getLog ( LlapIoImpl . class ) ; <nb> public class LlapIoImpl implements LlapIo < VectorizedRowBatch > { } S...
Name IO elevator threads Prasanth Jayachandran
<nb> public class QSPanel extends LinearLayout implements Tunable , Callback { } } ; r . tileView . init ( click , longClick ) ; - callback . onStateChanged ( r . tile . getState ( ) ) ; r . tile . refreshState ( ) ; mRecords . add ( r ) ; <nb> public abstract class QSTile < TState extends State > { ...
Fix missing tiles
<nb> public class CapsExtensionProvider extends ExtensionElementProvider < CapsExtensio if ( hash != null && version != null && node != null ) { return new CapsExtension ( node , version , hash ) ; } else { - throw new SmackException ( STRING0 ) ; + throw new SmackException ( STRING1 ) ; } }
Fix typo in exception
<nb> package NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; <nb> public abstract class SharedTreeMojoReader < M extends SharedTreeMojoModel > extend protected void readModelData ( ) throws IOException { SINGLE Integer tpc = readkv ( STRING0 ) ; - if ( t...
Fix bug by using calcNClassesToScore for gbm
<nb> public class ZWaveDbConfigurationParameter { public Integer Size ; public Integer Minimum ; public Integer Maximum ; + public String Units ; @ xstreamimplicit public List < ZWaveDbLabel > Label ; @ xstreamimplicit
Added units to parameter
<nb> public class SectionData { public final boolean hasHeader ; - final int marginStart ; - - final int marginEnd ; - public final int minimumHeight ; public final int sectionManager ; <nb> public class SectionData { public final int contentStart ; + final int marginStart ; + + final ...
Tidy up section data
<nb> public final class PagesSerde } } + sliceOutput . writeInt ( page . getPositionCount ( ) ) ; Block [ ] blocks = page . getBlocks ( ) ; for ( int i = NUMBER0 ; i < blocks . length ; i ++ ) { blockEncodings [ i ] . writeBlock ( sliceOutput , blocks [ i ] ) ; <nb> public final class PagesSerde retur...
Fix serialization of pages without columns
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class JaspicAuthenticator extends AuthenticatorBase { } - @ override - public void login ( String userName , String password , Request request...
Remove the programmatic login logout override as I don t see how JASPIC can interact with it
<nb> COMMENT package NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public abstract class GradleConnector { COMMENT COMMENT COMMENT + @ incubating public static GradleConnection . Builder newGradleConnectionBuilder ( ) { return ConnectorServices . createGradleCon...
Add Incubating to method to create a composite connection
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class WorldSpecificSaveHandler implements ISaveHandler dataDir . mkdirs ( ) ; } File file = new File ( dataDir , name + STRING0 ) ; - if ( !...
Fixed compile issues with irtimaled s PR
<nb> COMMENT package NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ;
eliminate eclipse warning
<nb> import NAMESPACE ; COMMENT COMMENT COMMENT + COMMENT + COMMENT + COMMENT COMMENT COMMENT COMMENT
Added Javadoc remark about Iterable vs Iterator
<nb> public class AndroidNdk public File getGdbServer ( String toolchain ) throws MojoExecutionException { + SINGLE + String architecture = toolchain . split ( STRING0 ) [ NUMBER0 ] ; + if ( STRING1 . equals ( architecture ) ) + { + architecture = STRING2 ; + } + String [ ] ndkArchitectures = { tool...
Fixed possible locations for gdb server
<nb> package NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; public class Theme { public static final String ID = STRING0 ; <nb> public class Theme { public void setPrice ( String mPrice ) { this . mPrice = mPrice ; } + + public void save ( ) { + WordPress . wpDB . sav...
Adding method to save themes
<nb> public final class Calendar { public static final String EVENT_BEGIN_TIME = STRING0 ; public static final String EVENT_END_TIME = STRING1 ; + COMMENT + COMMENT + COMMENT + COMMENT public static final String AUTHORITY = STRING2 ; COMMENT
Add comment about not changing calendar authority
<nb> package NAMESPACE ; COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMENT public class JSONException extends RuntimeException { COMMENT
fixes file date
<nb> public class ItemFacade extends ItemBuildCraft { } ItemStack stack = new ItemStack ( block , NUMBER0 , meta ) ; - ItemStack stackAlt = new ItemStack ( blockAlt , NUMBER0 , meta ) ; + ItemStack stackAlt = new ItemStack ( blockAlt , NUMBER0 , metaAlt ) ; if ( getType ( itemstack ) == TYPE_BASIC ) { i...
Fixed phased facade having incorrect meta value
<nb> public class FileUploader extends Service } finally { Log_OC . v ( STRING0 + TAG + STRING1 + Thread . currentThread ( ) . getName ( ) , STRING2 + mCurrentUpload . getRemotePath ( ) ) ; - Pair < UploadFileOperation , String > removeResult = - mPendingUploads . removePayload ( mCurrentAccount , mCurrentUpl...
Fixed permanent uploading icon on files that are automatically renamed during the upload
<nb> public class KeyguardWidgetPager extends PagedView implements PagedView . PageSwit } View currentPage = getPageAt ( getCurrentPage ( ) ) ; currentPage . setPivotY ( NUMBER0 ) ; + SINGLE + SINGLE + currentPage . setPivotX ( NUMBER0 ) ; currentPage . setPivotX ( currentPage . getMeasuredWidth ( ) / NUM...
Adding workaround to fix issue where the bouncer animation had the wrong pivot
<nb> import NAMESPACE ; COMMENT COMMENT COMMENT - COMMENT + public class OnLayoutEvent extends Event < OnLayoutEvent > { private static final Pools . SynchronizedPool < OnLayoutEvent > EVENTS_POOL = new Pools . SynchronizedPool < > ( NUMBER0 ) ; <nb> public class ReactShadowNode extends CSSNode { mS...
Dispatch OnLayoutEvent when node gets re laid out
<nb> public class LocalStore extends Store implements Serializable private static final int DB_VERSION = NUMBER0 ; private static final Flag [ ] PERMANENT_FLAGS = { Flag . DELETED , Flag . X_DESTROYED , Flag . SEEN , Flag . FLAGGED } ; + private static final int MAX_SMART_HTMLIFY_MESSAGE_LENGTH = NUMBER1 * NUMB...
We ve been seeing a lot of FCs on htmlifcation of large messages due to
<nb> public class GoElementFactory { @ notnull public static GoImportString createImportString ( @ notnull Project project , @ notnull String importString ) { - GoFile file = createFileFromText ( project , STRING0 + importString + STRING1 ) ; + GoFile file = createFileFromText ( project , STRING0 + importStri...
delete empty string concatination
<nb> public class AdapterViewFlipper extends AdapterViewAnimator { super ( context , attrs ) ; TypedArray a = context . obtainStyledAttributes ( attrs , - com . android . internal . R . styleable . ViewFlipper ) ; + com . android . internal . R . styleable . AdapterViewFlipper ) ; mFlipInterval = a . getInt...
Fixing old bug with AdapterViewFlipper