diff
stringlengths
38
1.78k
msg_token
stringlengths
9
190
<nb> public class GroovySmartCompletionContributor extends CompletionContributor { } } - final LookupItem item = PsiTypeLookupItem . createLookupItem ( GenericsUtil . eliminateWildcards ( type ) , place , isDiamond , ChooseTypeExpression . IMPORT_FIXER ) ; - if ( item . getObject ( ) instanceof PsiClass ) { ...
improve presentation of anonymous implementation variants
<nb> COMMENT COMMENT COMMENT - - package NAMESPACE ; import NAMESPACE ; <nb> import NAMESPACE ; public class DateTool { COMMENT - COMMENT - COMMENT - COMMENT - @ deprecated - public static final Locale LOCALE_US = Locale . US ; - - COMMENT COMMENT COMMENT public static final ...
Remove unused code
<nb> public abstract class ConnectorTimeoutTest extends HttpServerTestFixture } @ test ( timeout = NUMBER0 ) - @ ignore + @ ignore SINGLE public void testNoBlockingTimeoutRead ( ) throws Exception { _httpConfiguration . setBlockingTimeout ( - NUMBER1 ) ; <nb> public abstract class ConnectorTimeoutTest...
Ignore read write timeout tests
<nb> public class RmdOutputFramePane extends RmdOutputFrameBase @ override public int getScrollPosition ( ) { - if ( frame_ == null || - frame_ . getIFrame ( ) == null || - frame_ . getIFrame ( ) . getContentWindow ( ) == null ) - return NUMBER0 ; - return frame_ . getIFrame ( ) . getContentWindow ( ) ....
preserve scroll positions for Shiny documents in desktop mode
<nb> public class DbConnectionManager { databaseType = DatabaseType . MYSQL ; transactionsSupported = false ; } + SINGLE + else if ( dbName . indexOf ( STRING0 ) != - NUMBER0 ) { + databaseType = DatabaseType . HSQL ; + scrollResultsSupported = false ; + } } COMMENT <nb> public class DbConnectio...
Added scrolling check for HSQL Matt review this
<nb> public class ColumnFamilyStoreTest CellName cname = cellname ( STRING0 ) ; Keyspace keyspace = Keyspace . open ( keyspaceName ) ; ColumnFamilyStore cfs = keyspace . getColumnFamilyStore ( cfName ) ; - cfs . clearUnsafe ( ) ; + cfs . truncateBlocking ( ) ; SINGLE putColsStandard ( cfs , key , new Bu...
Fix ColumnFamilyStoreTest testSliceByNamesCommandOldMetadata
<nb> public final class AstLiteralExpression extends SimpleNode { char c = image . charAt ( i ) ; if ( c == STRING0 && i + NUMBER0 < size ) { char c1 = image . charAt ( i + NUMBER0 ) ; - if ( c1 == STRING0 || c1 == STRING1 || c1 == STRING2 || c1 == STRING3 - || c1 == STRING4 ) { + if ( c1 == STRING3 || c1 =...
Fix the test case failures
<nb> public class ASMDeserializerFactory implements Opcodes { } private void _deserialize_endCheck ( Context context , MethodVisitor mw , Label reset_ ) { - Label _end_if = new Label ( ) ; SINGLE SINGLE <nb> public class ASMDeserializerFactory implements Opcodes { mw . visitVarInsn ( ALOAD , context ....
remove un usedcode
<nb> public class Preferences { @ override public void mouseExited ( MouseEvent e ) { - dialog . setCursor ( Cursor . DEFAULT_CURSOR ) ; + dialog . setCursor ( Cursor . getPredefinedCursor ( Cursor . DEFAULT_CURSOR ) ) ; } @ override public void mouseEntered ( MouseEvent e ) { - dialog . setCursor (...
remove depracted api usage
<nb> public class JavaMessageSerializer implements MessageSerializer protected ObjectOutput createObjectOutput ( final BasicRuntime runtime , final OutputStream outputStream ) throws IOException { - SINGLE SINGLE return new ObjectOutputStream ( outputStream ) {
Removing outdated todo
<nb> public class NotificationContact COMMENT public String getDisplayName ( ) { - return protocolProvider . getAccountID ( ) . getAccountAddress ( ) ; + return GuiActivator . getUIService ( ) . getMainFrame ( ) + . getAccountDisplayName ( protocolProvider ) ; } COMMENT <nb> public class Notificatio...
Shows the display name in the voicemail notification
<nb> public class JournalArticleLocalServiceImpl trashEntryLocalService . deleteEntry ( JournalArticle . class . getName ( ) , article . getResourcePrimKey ( ) ) ; + restoreVisibleIfThereIsAnApprovedVersion ( + article . getGroupId ( ) , article . getArticleId ( ) ) ; + SINGLE if ( JournalServiceConfi...
Restored draft articles with one approved version must restore the visible status
<nb> public class AsyncContextImpl implements AsyncContext , AsyncContextCallback { } check ( ) ; request . getCoyoteRequest ( ) . action ( ActionCode . ASYNC_COMPLETE , null ) ; - if ( ! Globals . STRICT_SERVLET_COMPLIANCE ) { - clearServletRequestResponse ( ) ; - } } @ override <nb> public class A...
Remove the temporary STRICT_SERVLET_COMPLIANCE tests
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import static NAMESPACE ; - @ esintegtestcase.clusterscope ( minNumDataN...
Fix flaky testTimingOutNode
<nb> import NAMESPACE ; COMMENT COMMENT + COMMENT COMMENT + @ deprecated public class GitExec { public static void refresh ( @ notnull GitRepository repository ) { <nb> import static NAMESPACE ; COMMENT COMMENT COMMENT + COMMENT COMMENT + @ deprecated public abstract class GitTest exte...
git tests Some deprecations
<nb> public class MuninnPageCache implements RunnablePageCache for ( int i = NUMBER0 ; i < pages . length ; i ++ ) { MuninnPage page = pages [ i ] ; - long stamp = page . writeLock ( ) ; + long stamp = page . readLock ( ) ; try { page . flush ( cacheFlush . flushEventOpportunity ( ) ) ; } finally ...
Make PageCache flush take read locks
<nb> class ActivityUtils { } COMMENT - COMMENT + COMMENT COMMENT - COMMENT + COMMENT COMMENT COMMENT <nb> public class Solo { } COMMENT - COMMENT + COMMENT COMMENT - COMMENT + COMMENT COMMENT COMMENT
Clarified javadoc for getAllOpenedActivities both in Solo and ActivityUtils
<nb> public class GLMProgressPage extends Request { sb . append ( STRING0 ) ; } - private static void confusionHTML ( ConfusionMatrix cm , StringBuilder sb ) { + private static void confusionHTML ( hex . ConfusionMatrix cm , StringBuilder sb ) { if ( cm == null ) return ; sb . append ( STRING1 ) ; sb . ...
Fix name collision
<nb> public class CommandLineOptions { options . add ( new Option ( STRING0 , STRING1 , STRING2 ) ) ; options . add ( new Option ( STRING3 , ON_OFF , STRING4 ) ) ; options . add ( new Option ( STRING5 , NUMBER , STRING6 + Configuration . defaultRamBufferSize + STRING7 ) ) ; - options . add ( new Option ( STRING...
better explain the N option usage
<nb> public class DebugInfoPool { public void emitStartLocal ( @ nonnull StartLocal startLocal ) throws IOException { int nameIndex = dexFile . stringPool . getIndexNullable ( startLocal . getName ( ) ) ; int typeIndex = dexFile . typePool . getIndexNullable ( startLocal . getType ( ) ) ; - int signatureIndex =...
Use the correct string for the local signature
<nb> public class CoreJavaFileManager implements JavaFileManager { int lookupStart = NUMBER0 ; while ( true ) { - if ( lookupStart > className . length ( ) ) break ; + if ( lookupStart > className . length ( ) ) { + return newComponentStart != lookupStart ? null : curClass ; + } int b = className . in...
properly resolve in inner class names
<nb> public class DescriptorRendererImpl implements DescriptorRenderer { } return STRING0 ; } + if ( type instanceof FlexibleType && debugMode ) { + FlexibleType flexibleType = ( FlexibleType ) type ; + return STRING1 + renderType ( flexibleType . getLowerBound ( ) ) + STRING2 + renderType ( flexibleType . ...
Render flexible types in debug mode
<nb> public final class RemoveUnusedClassPropertiesTest extends CompilerTestCase { STRING0 , STRING1 ) ; } + + public void testObjectDefineProperties7 ( ) { + enableTypeCheck ( ) ; + + test ( + LINE_JOINER . join ( + STRING2 , + STRING3 ) , + LINE_JOINER . join ( + STRING2 , + STRING4 ) ) ; ...
Add unit test showing that RemoveUnusedClassProperties will removed a unused
<nb> public class DataExtractionSettings { if ( fl != null ) { return fl ; } - return getDefaultWorkingDir ( ) . getAbsolutePath ( ) + STRING0 ; + return STRING1 ; } public void setNativeLibFile ( String file ) {
Update default settings map creator
<nb> public class GitTestRepo extends TestRepo { InMemoryStreamConsumer outputStreamConsumer = inMemoryConsumer ( ) ; int returnValue = git . cloneFrom ( outputStreamConsumer , from . getAbsolutePath ( ) ) ; if ( returnValue != NUMBER0 ) { - throw new RuntimeException ( String . format ( STRING0 , git . working...
Changing exception message for git clone failure during test cases
<nb> public class JBDimension extends Dimension { height = size . height ; } } + + public JBDimension withWidth ( int width ) { + JBDimension size = new JBDimension ( NUMBER0 , NUMBER0 ) ; + size . width = scale ( width ) ; + size . height = height ; + return size ; + } + + public JBDimension wi...
add builder methods withWidth and withHeight
<nb> public final class Urls { Matcher matcher = URI_PATTERN . matcher ( urlToParse ) ; if ( ! matcher . matches ( ) ) { - LOG . warn ( STRING0 + url ) ; return null ; } String scheme = matcher . group ( NUMBER0 ) ;
gwt code server run on module A
<nb> public class XmppConsumer extends DefaultConsumer implements PacketListener , Mes XmppExchange exchange = endpoint . createExchange ( message ) ; try { getProcessor ( ) . process ( exchange ) ; - SINGLE - SINGLE - muc . nextMessage ( ) ; + if ( muc != null ) { + SINGLE + SINGLE + muc . nextMess...
Must invoke nextMessage to avoid client queue running full
<nb> public class DeploymentDescriptorMethodProcessor implements DeploymentUnitProces handleStatelessSessionBean ( ( EJBComponentDescription ) component , classIndex , reflectionIndex ) ; } } catch ( ClassNotFoundException e ) { - throw MESSAGES . failToLoadComponentClass ( e ) ; + throw MESSAGES . failToLoad...
Include the component name in the deployment failure log message
<nb> public class BulletTest extends GdxTest { final Entity entity = entities . get ( i ) ; gl . glPushMatrix ( ) ; gl . glMultMatrixf ( entity . transform . val , NUMBER0 ) ; - entity . mesh . render ( GL10 . GL_TRIANGLE_STRIP ) ; + entity . mesh . render ( GL10 . GL_TRIANGLES ) ; gl . glPopMatrix ( ) ; ...
Corrected primitive type
<nb> public class GetterUtil { public static final byte DEFAULT_BYTE = NUMBER0 ; - public static final byte DEFAULT_BYTE_VALUES = new byte [ NUMBER0 ] ; + public static final byte [ ] DEFAULT_BYTE_VALUES = new byte [ NUMBER0 ] ; public static final Date [ ] DEFAULT_DATE_VALUES = new Date [ NUMBER0 ] ;
Add byte byte
<nb> public class LocalStore extends Store implements Serializable html = HtmlConverter . textToHtml ( text ) ; } - html = convertEmoji2Img ( html ) ; + if ( hasEmoji ( html ) ) + html = convertEmoji2Img ( html ) ; return html ; } + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + priva...
Call the routine to convert emoji to images only when a message actually contains emoji
<nb> import NAMESPACE ; COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT <nb> import NAMESPACE ; COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT <nb> import NAMESPACE ; COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMENT COMMENT ...
Fix links to Bluetooth Guide
<nb> public class VehicleDamageEvent extends VehicleEvent implements Cancellable { private boolean cancelled ; public VehicleDamageEvent ( Vehicle vehicle , Entity attacker , int damage ) { - super ( Type . ENTITY_DAMAGE , vehicle ) ; + super ( Type . VEHICLE_DAMAGE , vehicle ) ; this . attacker = attacker ...
Fix Type of VehicleDamageEvent
<nb> class NioDatagramWorker implements Runnable { } } catch ( final AsynchronousCloseException e ) { SINGLE + channel . currentWriteEvent = evt ; } catch ( final Throwable t ) { + channel . currentWriteEvent = null ; evt . getFuture ( ) . setFailure ( t ) ; evt = null ; fireExceptionCaught ( channel ...
Fixed a bug where AsynchronousCloseException causes IndexOutOfBoundsException during write
<nb> import NAMESPACE ; COMMENT public class FileConcurrentWriteAppendSameFileTest extends ContextTestSupport { - private final int size = NUMBER0 ; + private final int size = NUMBER1 ; @ override protected void setUp ( ) throws Exception { <nb> public class FileConcurrentWriteAppendSameFileTest exten...
Fixed test on slow servers
<nb> public abstract class RosieActivity extends FragmentActivity injectActivityModules ( ) ; presenterLifeCycleLinker . addAnnotatedPresenter ( getClass ( ) . getDeclaredFields ( ) , this ) ; ButterKnife . inject ( this ) ; - presenterLifeCycleLinker . initializePresenters ( ) ; presenterLifeCycleLinker . se...
Change the initialization order related to presenters and fragments
<nb> import NAMESPACE ; COMMENT COMMENT COMMENT + SINGLE public abstract class XContentStructure { private final QueryParseContext parseContext ; <nb> public abstract class XContentStructure { COMMENT COMMENT COMMENT + SINGLE + @ deprecated public static class InnerQuery extends XContentStru...
add comments to XContentStructure
<nb> public class ManagedProxyClassGenerator extends AbstractProxyClassGenerator { COMMENT - COMMENT - COMMENT - COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT COMMENT public < T , M extends T , D extends T > Class < ? extends M > gene...
Fix too aggressive code style reformatting
<nb> public class VertexArray implements VertexData { buffer = byteBuffer . asFloatBuffer ( ) ; buffer . flip ( ) ; byteBuffer . flip ( ) ; - Gdx . app . log ( STRING0 , STRING1 ) ; } COMMENT
Removed Mario s logging
<nb> public class PdfJs new String [ ] { res . compatibilityJs ( ) . getSafeUri ( ) . asString ( ) , res . pdfjs ( ) . getSafeUri ( ) . asString ( ) , - res . debuggerJs ( ) . getSafeUri ( ) . asString ( ) , + SINGLE res . viewerJs ( ) . getSafeUri ( ) . asString ( ) , } , new Callback ( )
Don t include PDF js debugging JS
<nb> public class OpenIE implements Annotator { COMMENT COMMENT COMMENT + @ suppresswarnings ( STRING0 ) private static void processDocument ( AnnotationPipeline pipeline , String docid , String document ) { SINGLE if ( document . trim ( ) . equals ( STRING1 ) ) {
Suppress a warning
<nb> public class ReferrerPushStrategyTest extends AbstractHTTPSPDYTest final CountDownLatch pushDataLatch = new CountDownLatch ( NUMBER0 ) ; final CountDownLatch pushSynHeadersValid = new CountDownLatch ( NUMBER0 ) ; Session session = startClient ( version , serverAddress , null ) ; + ( ( StdErrLog ) LOG . get...
hide stacktrace in ReferrerPushStrategyTest
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class ProjectRootManagerImpl extends ProjectRootManagerEx implements Proj rootPaths . add ( extractLocalPath ( url ) ) ; } - ...
removed deprecation usage
<nb> public class MethodInvocationPrivilegeEvaluator implements InitializingBean { } public boolean isAllowed ( MethodInvocation mi , Authentication authentication ) { - Assert . notNull ( authentication , STRING0 ) ; - Assert . notNull ( authentication . getAuthorities ( ) , - STRING1 ) ; Assert . notNul...
Properly handle null Authentication
<nb> public class VersionGeneratorTest } @ test + public void mixedCase ( ) throws MojoExecutionException + { + VersionGenerator g1 = new VersionGenerator ( STRING0 ) ; + VersionGenerator g2 = new VersionGenerator ( STRING1 ) ; + + int v1 = g1 . generate ( STRING2 ) ; + int v2 = g2 . generate ( STRI...
added new test with mixed version specs
<nb> public final class FileInfo { } COMMENT - COMMENT + COMMENT COMMENT public List < FileBlockInfo > getFileBlockInfos ( ) { return mFileBlockInfos ; <nb> public final class FileSystemMasterClientRestServiceHandler { COMMENT COMMENT COMMENT + COMMENT COMMENT @ deprecated @ get
Addressing review comments
<nb> package NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> import NAMESPACE ; COMMENT COMMENT COMMENT - public interface BlockReader { + public interface BlockReader extends Closeable { COMMENT COMMENT <nb> public class LocalFileBlockRea...
Implement close method for BlockReader
<nb> package NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; COMMENT <nb> public class AnalysisSmartChinesePlugin extends AbstractPlugin { @ override public Collect...
Don t use shaded APIs
<nb> public class LdapManager { } COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + public void setConnectionPoolEnabled ( boolean connectionPoolEnabled ) { + this . connectionPoolEnabled = connectionPoolEnabled ; + properties . put ( STRING0 , Boolean . toString ( connectionPoolEnabled ) ) ; + } ...
Added missing setters getters
<nb> package NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class LocalNotificationOptions { COMMENT COMMENT public int getIcon ( ) { - return options . optInt ( STRING0 , R . drawable . ic_menu_info_details ) ; + int ic...
All notifications under Android display the app icon by default
<nb> public class ChatSessionAdapter extends info . guardianproject . otr . app . im . IChatSes String username = from . getScreenName ( ) ; String nickname = getNickName ( username ) ; File sdCard = Environment . getExternalStorageDirectory ( ) ; + String [ ] path = url . split ( STRING0 ) ; - String sanit...
store the otr data files in sdcard Downloads for simplicity
<nb> public class RemoteTaskStats this . responseSizeBytes . add ( responseSizeBytes ) ; } + public void updateSuccess ( ) + { + requestSuccess . update ( NUMBER0 ) ; + } + + public void updateFailure ( ) + { + requestFailure . update ( NUMBER0 ) ; + } + @ managed @ nested public Distrib...
Move update methods together with other updates
<nb> public class SingleInspectionProfilePanel extends JPanel { InspectionProfileImpl inspectionProfile = new InspectionProfileImpl ( profileName , InspectionToolRegistrar . getInstance ( ) , profileManager ) ; final ModifiableModel profileModifiableModel = inspectionProfile . getModifiableModel ( ) ; - if ( se...
do not copy settings from current profile
<nb> public class BootstrapSecurityManager extends SecurityManager { @ override public void checkPermission ( Permission permission ) { - System . out . println ( STRING0 + permission ) ; synchronized ( this ) { if ( initialised ) { return ; <nb> public class BootstrapSecurityManager extends SecurityMan...
remove temporally added diagnosis output in bootstrapsecuritymanager
<nb> public class Block extends Message { public String toString ( ) { StringBuilder s = new StringBuilder ( ) ; s . append ( STRING0 ) ; - s . append ( STRING1 ) . append ( getHashAsString ( ) ) ; + s . append ( STRING1 ) . append ( getHashAsString ( ) ) . append ( STRING2 ) ; s . append ( STRING3 ) . appe...
Fix missing linefeed after hash in toString
<nb> public abstract class MixinEntityPlayerMP extends EntityPlayer implements Comman public PlayerConnection playermp$getConnection ( ) { return ( PlayerConnection ) this . playerNetServerHandler ; } + + public boolean hasPermission ( String permission ) { + SINGLE + return true ; + } } <nb> public...
Add permission check methods to prevent abstract errors
<nb> public class ReaderPostDetailFragment extends Fragment @ override public void onSuccess ( ) { if ( isAdded ( ) ) { + progress . setVisibility ( View . GONE ) ; showPost ( ) ; } } @ override public void onFailure ( int statusCode ) { if ( isAdded ( ) ) { + progress . setVisibility ( View . GON...
Hide progress bar after call
<nb> public class AnalyticsTrackerNosara implements AnalyticsTracker . Tracker { case SUPPORT_OPENED_HELPSHIFT_SCREEN : eventName = STRING0 ; break ; + case SUPPORT_SENT_REPLY_TO_SUPPORT_MESSAGE : + eventName = STRING1 ; + break ; case LOGIN_FAILED : eventName = STRING2 ; break ;
add SUPPORT_SENT_REPLY_TO_SUPPORT_MESSAGE to AnalyticsTrackerNosara java
<nb> public abstract class AbstractCachingBuildRule extends AbstractBuildRule impleme doHydrationAfterBuildStepsFinish ( result , onDiskBuildInfo ) ; - SINGLE - SINGLE + SINGLE + SINGLE logBuildRuleFinished ( result ) ; + + SINGLE + BuildRuleSuccess buildRuleSuccess = + new BuildRuleSuccess ( ...
Fix flaky AndroidXmlFileIntegrationTest
<nb> public class DefaultFileCollectionSnapshotter implements FileCollectionSnapshott } static class MissingFileSnapshot implements IncrementalFileSnapshot { + private static MissingFileSnapshot instance = new MissingFileSnapshot ( ) ; + + private MissingFileSnapshot ( ) { + } + + static MissingFileSn...
Add singleton MissingFileSnapshot
<nb> package NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> import NAMESPACE ; @ suppresswarnings ( { STRING0 } ) public class StartupActionScriptManager { + private static final Logger LOG = Logger . getInstance ( STRING1 ) ; ...
added more logging
<nb> public class OldTaskPreferences extends TodorooPreferenceActivity { COMMENT @ override protected void onPause ( ) { - if ( pd != null ) - pd . dismiss ( ) ; + DialogUtilities . dismissDialog ( this , pd ) ; super . onPause ( ) ; }
Using DialogUtilities to dismiss the dialog as Tim suggested
<nb> public class HtmlConverter { if ( isStartOfLine ) { SINGLE isStartOfLine = false ; - if ( K9 . DEBUG ) { - Log . d ( K9 . LOG_TAG , STRING0 + quoteDepth + STRING1 + quotesThisLine ) ; - } SINGLE if ( quotesThisLine > quoteDepth ) { for ( int i = quoteDepth ; i < quotesThisLine ; i ++ ) {
Remove excessive debug logging
<nb> import NAMESPACE ; COMMENT public final class TwoPublisherToTwoProcessorWorkProcessorThroughputTest extends AbstractPerfTestQueueVsDisruptor { - private static final int NUM_PUBLISHERS = NUMBER0 ; + private static final int NUM_PUBLISHERS = NUMBER1 ; private static final int BUFFER_SIZE = NUMBER2 * NUM...
Fix bug in performance test where it was not completing
<nb> public abstract class GwtApplication implements EntryPoint , Application { @ override public void loaded ( String file , int loaded , int total ) { System . out . println ( STRING0 + file + STRING1 + loaded + STRING2 + total ) ; - String color = Pixmap . make ( NUMBER0 , NUMBER1 , NUMBER1 , NUMBER2 ) ; +...
fixed less fugly colors for default loading bar
<nb> package NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public abstract class BaseDialogFragment extends DialogFragment implements Dialo @ suppresswarnings ( STRING0 ) protected < T > List < T > getDialogListeners ( Class < T > listenerInterface ) ...
Improved processing of listeners
<nb> class Stats implements Cloneable { public void add ( Stats s ) { min += s . min ; max += s . max ; - avg += ( avg + s . avg ) / NUMBER0 ; SINGLE - num = NUMBER1 ; SINGLE + avg += s . avg ; SINGLE + num = NUMBER1 ; SINGLE } - + + COMMENT + COMMENT + COMMENT public void add ( int x ) { ...
fix erroneous definition of adding together Stats objects
<nb> public class SearchEverywhereAction extends AnAction implements CustomComponentA . createPopup ( ) ; myBalloon . getContent ( ) . setBorder ( new EmptyBorder ( NUMBER0 , NUMBER0 , NUMBER0 , NUMBER0 ) ) ; final Window window = WindowManager . getInstance ( ) . suggestParentWindow ( e . getProject ( ) ) ; - ...
update search everywhere results when exited from dumb mode
<nb> public class ManagementCenterServiceIntegrationTest extends HazelcastTestSupport @ before public void setUp ( ) throws Exception { setLoggingLog4j ( ) ; - setLogLevel ( Level . DEBUG ) ; + setLogLevel ( Level . TRACE ) ; URL root = new URL ( MancenterServlet . class . getResource ( STRING0 ) , STRING...
Increased code coverage of ManagementCenterService by increasing log level
<nb> COMMENT package NAMESPACE ; + import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; - COMMENT COMMENT COMMENT <nb> public class BeanValidationFactoryDeployer implements Dep...
Bind the validation factory in the app client
<nb> public class TextEditingTargetNotebook docUpdateSentinel_ . getId ( ) , contextId_ , Integer . toHexString ( requestId_ ) , - null , + STRING0 , new ServerRequestCallback < NotebookDocQueue > ( ) { @ override
use empty chunkid to refresh all chunks
<nb> public class XBinder extends XHook { STRING0 , SINGLE STRING1 , SINGLE STRING2 , SINGLE - STRING3 , SINGLE + SINGLE } , new String [ ] { SINGLE } , <nb> public class XBinder extends XHook { new String [ ] { SINGLE } , new String [ ] { SINGLE - STRING4 , SINGLE + SINGLE } , new Strin...
Updated IPC exceptions
<nb> public class AgentBuilderDefaultTest { ObjectPropertyAssertion . of ( AgentBuilder . Default . Transformation . Resolution . Unresolved . class ) . apply ( ) ; ObjectPropertyAssertion . of ( AgentBuilder . Default . Transformation . Resolution . Sort . class ) . apply ( ) ; ObjectPropertyAssertion . of ( Age...
Added test for agent builder unsafe bootstrap injection
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class GroovyClassNameInsertHandler implements InsertHandler < JavaPsiClassR @ override public void handleInsert ( InsertionContex...
remove the useless assertion
<nb> public class TransactionalGraphTestSuite extends TestSuite { final Edge e = graph . addEdge ( null , vActual1 , vActual2 , STRING0 ) ; e . setProperty ( STRING1 , rand . nextFloat ( ) ) ; + JSONObject elementJson = null ; try { SINGLE - final JSONObject elementJson = GraphSONUtility . jsonFromElement...
Uncomment the test that simulates Rexster integration tests
<nb> public abstract class HibernateStatisticsTestSupport extends HibernateTestSuppor } @ test - @ category ( ProblematicTest . class ) public void testQuery ( ) { final int entityCount = NUMBER0 ; final int queryCount = NUMBER1 ;
removed problematic marker
<nb> public abstract class AbstractEndPoint extends IdleTimeout implements EndPoint @ override public String toString ( ) { - return String . format ( STRING0 , + return String . format ( STRING1 , getClass ( ) . getSimpleName ( ) , hashCode ( ) , getRemoteAddress ( ) , <nb> public abstract class Abst...
Improved AbstractEndPoint toString to print for how long it has been idle
<nb> public abstract class AbstractCasView extends AbstractView { final Assertion assertion = getAssertionFrom ( model ) ; final List < Authentication > chainedAuthentications = assertion . getChainedAuthentications ( ) ; - for ( int i = NUMBER0 ; i < chainedAuthentications . size ( ) - NUMBER1 ; i ++ ) { + ...
added comments to clarify proxy chain index
<nb> import NAMESPACE ; import NAMESPACE ; + import static NAMESPACE ; + public class MocoFileRootConfig implements MocoConfig < String > { private final String fileRoot ; <nb> public class MocoFileRootConfig implements MocoConfig < String > { @ override public String apply ( String filename ) {...
used file join for file name plus
<nb> public class RajawaliRenderer implements GLSurfaceView . Renderer , INode { SINGLE for ( int i = NUMBER0 ; i < mAnimations . size ( ) ; i ++ ) { - mAnimations . get ( i ) . update ( deltaTime ) ; + Animation3D anim = mAnimations . get ( i ) ; + if ( anim . isPlaying ( ) ) + anim . update ( deltaTime ...
Added a check to only update when animation is playing
<nb> public class ClusterManager < T extends ClusterItem > implements GoogleMap . OnCamera return mMarkerManager ; } - public void setView ( ClusterRenderer < T > view ) { + public void setRenderer ( ClusterRenderer < T > view ) { view . setOnClusterClickListener ( null ) ; view . setOnClusterItemClickLis...
Rename setView to setRenderer
<nb> public class SearchView extends LinearLayout implements CollapsibleActionView { private static final boolean DBG = false ; private static final String LOG_TAG = STRING0 ; + COMMENT + COMMENT + COMMENT + private static final String IME_OPTION_NO_MICROPHONE = STRING1 ; + private OnQueryTextListener...
Remove the mic from the keyboard in SearchView
<nb> public class MySiteFragment extends Fragment private RelativeLayout mPlanContainer ; private View mConfigurationHeader ; private View mSettingsView ; - private LinearLayout mAdminView ; + private RelativeLayout mAdminView ; private View mFabView ; private LinearLayout mNoSiteView ; private ScrollVi...
Hiding only the Admin row not the entire section
<nb> public class AnimationController extends BaseAnimationController { public AnimationDesc setAnimation ( final String id ) { return setAnimation ( id , NUMBER0 , FLOAT0 , null ) ; } + + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + public AnimationDesc setAnimation ( final String ...
Add additional setAnimation method
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - COMMENT - COMMENT - COMMENT public class NotificationTypeFactory { private final StreamService streamService ; <nb> public class NotificationTypeFactory { } catch ( APIException | IOException e ) { streamTitle = STRING0 ; } - lo...
Fix ClassCastException in NotificationTypeFactory
<nb> + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + package NAMESPACE ; import static NAMESPACE ;
Added license header
<nb> public class DualButtonLeftLedImpl extends MinimalEObjectImpl . Container implemen } COMMENT - COMMENT - COMMENT - COMMENT + COMMENT + COMMENT + COMMENT COMMENT public void turnDigital ( HighLowValue digitalState ) {
TF Binding Bracelet Dual Button add generated NOT
<nb> public class QuickTour { COMMENT COMMENT COMMENT + @ suppresswarnings ( STRING0 ) public static void main ( final String [ ] args ) throws UnknownHostException { SINGLE MongoClient mongoClient = new MongoClient ( ) ;
Suppressed deprecation warnings in QuickTour
<nb> public class ConnectivityService extends IConnectivityManager . Stub { try { if ( tracker != null ) { mNetd . setFirewallEnabled ( true ) ; + mNetd . setFirewallInterfaceRule ( STRING0 , true ) ; mLockdownTracker = tracker ; mLockdownTracker . init ( ) ; } else {
Allow loopback traffic in lockdown mode
<nb> public class ConnectTraktFinishedFragment extends SherlockFragment { super . onActivityCreated ( savedInstanceState ) ; SINGLE - getView ( ) . findViewById ( R . id . buttonUploadShows ) . setOnClickListener ( new OnClickListener ( ) { + getView ( ) . findViewById ( R . id . buttonShowLibrary ) . setOnCl...
Fix show library button
<nb> public abstract class AbstractModifyDataChange extends AbstractChange { COMMENT COMMENT COMMENT + @ databasechangeproperty ( isChangeProperty = false ) public String getWhereClause ( ) { return where ; }
deprecated getWhereClause is not a change property
<nb> public class ScrollingTabContainerView extends HorizontalScrollView animateToTab ( position ) ; } } + if ( mTabSpinner != null && position >= NUMBER0 ) { + mTabSpinner . setSelection ( position ) ; + } } public void setContentHeight ( int contentHeight ) {
Fix for ActionBar setSelectedNavigationItem in collapsed tab mode
<nb> public abstract class JCVideoPlayer extends FrameLayout implements JCMediaPlayer try { Constructor < JCVideoPlayer > constructor = _class . getConstructor ( Context . class ) ; JCVideoPlayer jcVideoPlayer = constructor . newInstance ( context ) ; - jcVideoPlayer . setId ( JCVideoPlayerStandard . FULLSCREEN...
change small code
<nb> public class GlyphLayout implements Poolable { } else run . width += xAdvance ; } + } - if ( newline ) { - SINGLE - width = Math . max ( width , x ) ; - x = NUMBER0 ; - y += fontData . down ; - lines ++ ; - } + if ( newline ) { + SINGLE + width = Math . max ( width , x ) ; + x = NUM...
Fixed double newlines
<nb> public class ParallelUniverse implements ParallelUniverseInterface { Context systemContextImpl = ReflectionHelpers . callStaticMethod ( contextImplClass , STRING0 , ClassParameter . from ( activityThreadClass , activityThread ) ) ; final Application application = ( Application ) testLifecycle . createApplica...
set RuntimeEnvironment application before
<nb> public abstract class AppIntro extends AppCompatActivity { public void onRequestPermissionsResult ( int requestCode , @ nonnull String permissions [ ] , @ nonnull int [ ] grantResults ) { + super . onRequestPermissionsResult ( requestCode , permissions , grantResults ) ; switch ( requestCode ) { case P...
Call onRequestPermissionsResult of super class in AppIntro and AppIntro2
<nb> package NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class DeleteByQueryTests extends ElasticsearchIntegrationTest { } @ test - @ lucenetestcase.awaitsfix ( bugUrl = STRING0 ) public void testDeleteAllOneIndex ( ) { String json = ...
TEST remove AwaitsFix from DeleteByQuery test
<nb> public abstract class SharedTreeModelBuilder < TM extends DTree . TreeModel > extends SINGLE SINGLE Frame res = model . score ( validation ) ; - System . err . println ( res . toStringAll ( ) ) ; SINGLE Frame frs [ ] = model . adapt ( validation , false ) ; Frame adapValidation = frs [ NUMBER0 ] ; SI...
Removed debug print
<nb> public class AndroidModuleBuilder extends JavaModuleBuilder { } } - private static void moveContentAndRemoveDir ( Project project , @ notnull VirtualFile from , @ notnull VirtualFile to ) throws IOException { - for ( VirtualFile child : from . getChildren ( ) ) { - child . move ( project , to ) ; - }...
remove unused code