diff
stringlengths
38
1.78k
msg_token
stringlengths
9
190
<nb> package NAMESPACE ; COMMENT public interface HumanEntity extends LivingEntity { COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + public String getName ( ) ; + + COMMENT COMMENT COMMENT COMMENT <nb> package NAMESPACE ; COMMENT public interface Player extends HumanEntity { COMMENT ...
Moved getName from Player to HumanEntity
<nb> public abstract class LocalFileSystemBase extends LocalFileSystem { final File [ ] roots = File . listRoots ( ) ; if ( roots . length == NUMBER0 && roots [ NUMBER1 ] . getName ( ) . isEmpty ( ) ) { final String [ ] list = roots [ NUMBER1 ] . list ( ) ; - return list != null ? list : ArrayUtil . EMPTY_STRIN...
Fix assertion if FS root is not readable
<nb> public abstract class MixinMinecraft implements IMixinMinecraft { this . isNewSave = true ; } - @ redirect ( method = STRING0 , at = @ at ( value = STRING1 , opcode = Opcodes . PUTFIELD , target = STRING2 , ordinal = NUMBER0 ) ) + @ redirect ( method = STRING0 , at = @ at ( value = STRING1 , opcode = Opc...
Fix unqualified field reference
<nb> public class InterpreterTest extends TestCase { @ override public Object call ( ) throws Exception { cdl2 . await ( ) ; - cdl1 . countDown ( ) ; sb . append ( STRING0 ) ; + cdl1 . countDown ( ) ; return STRING0 ; } } ,
fix this test from potentially failing
<nb> public final class CookieSyncManager extends WebSyncManager { if ( context == null ) { throw new IllegalArgumentException ( STRING0 ) ; } + SINGLE + if ( WebViewFactory . getProvider ( ) . getClass ( ) . getName ( ) . contains ( STRING1 ) ) { + WebViewDatabase . getInstance ( context ) ; + } setG...
Fix CookieSyncManager for WebViewClassic
<nb> public class WXEnvironment { public static final String SETTING_EXCLUDE_X86SUPPORT = STRING0 ; - public static final boolean SETTING_FORCE_VERTICAL_SCREEN = false ; + public static boolean SETTING_FORCE_VERTICAL_SCREEN = false ; COMMENT COMMENT COMMENT
android remove final
<nb> public class MediaRecorder } COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - COMMENT - public void setVideoEncoderLevel ( int encoderLevel ) { - setParameter ( String . format ( STRING0 , encoderLevel ) ) ; - } - - COMMENT COMMENT COMMENT COMMENT
Remove unused and hidden setVideoEncoderLevel from MediaRecorder java
<nb> public final class SSL { COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT
Fix broken Javadoc
<nb> public class GroovyCompiler implements TranslatingCompiler { final Module module = entry . getKey ( ) ; final GroovyFacet facet = GroovyFacet . getInstance ( module ) ; final Set < VirtualFile > moduleFiles = entry . getValue ( ) ; - if ( facet != null && facet . getConfiguration ( ) . isCompileGroovyFiles...
compile grails even if there aren t any groovy facet
<nb> public class Redwood { COMMENT @ override public void print ( Object [ ] channels , String line ) { - printWriter . write ( line == null ? STRING0 : line ) ; + printWriter . write ( line ) ; printWriter . flush ( ) ; } }
Finished BLNInference apply
<nb> public class IOSFiles implements Files { @ override public FileHandle getFileHandle ( String fileName , FileType type ) { + if ( type == FileType . Internal ) return internal ( fileName ) ; return new IOSFileHandle ( fileName , type ) ; }
Fix getFileHandle for Internal files in RoboVM
<nb> public class X11Test extends TestCase { private X11 . Window root = null ; protected void setUp ( ) { - display = X11 . INSTANCE . XOpenDisplay ( null ) ; - if ( display == null ) { - throw new IllegalStateException ( STRING0 ) ; - } - root = X11 . INSTANCE . XRootWindow ( display , X11 . INSTANCE ...
avoid setup if headless
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMES...
Fix import for CompactHashSet
<nb> public class MocoHttpServer { bootstrap . setOption ( STRING0 , true ) ; bootstrap . setOption ( STRING1 , true ) ; - bootstrap . bind ( new InetSocketAddress ( STRING2 , port ) ) ; allChannels = new DefaultChannelGroup ( ) ; - try { - allChannels . add ( bootstrap . bind ( new InetSocketAddress ( ...
removed redundant bind
<nb> public class NotificationCompat { public static final String EXTRA_PEOPLE = STRING0 ; COMMENT - COMMENT - COMMENT + COMMENT + COMMENT COMMENT public static final String EXTRA_COMPACT_ACTIONS = STRING1 ;
Fix NotificationCompat javadoc errors
<nb> import NAMESPACE ; COMMENT public class DemoContactNotificationScorer implements NotificationScorer { - private static final String TAG = STRING0 ; - private static final boolean DBG = true ; + private static final String TAG = STRING1 ; + private static final boolean DBG = false ; protected stat...
Change DBG to false to eliminate logcat messages
<nb> public class MessageList } private void onArchive ( MessageInfoHolder holder ) { - if ( ! mController . isMoveCapable ( holder . message . getFolder ( ) . getAccount ( ) ) ) { - return ; - } if ( ! mController . isMoveCapable ( holder . message ) ) { Toast toast = Toast . makeText ( this , R . st...
Remove more redundant checks
<nb> public class CMMClassifier < IN extends CoreLabel > extends AbstractSequenceClassif public void retrain ( ObjectBank < List < IN > > doc ) { if ( classifier == null ) { - System . err . println ( STRING0 ) ; - System . exit ( - NUMBER0 ) ; + throw new UnsupportedOperationException ( STRING0 ) ; } I...
Remove System exit call
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; <nb> public class DefaultInputFile implements InputFile { COMMENT COMMENT COMMENT - public static String ATTRIBUTE_COMPONENT_KEY = STRING0 ; + public static final String ATTRIBUTE_COMPONENT_KE...
Fix quality flaw
<nb> public class ScrollView extends FrameLayout { initOrResetVelocityTracker ( ) ; mVelocityTracker . addMovement ( ev ) ; COMMENT - COMMENT - COMMENT - COMMENT + COMMENT + COMMENT + COMMENT + COMMENT COMMENT + mScroller . computeScrollOffset ( ) ; mIsBeingDragged = ! mScroller . isFinished (...
Fix possibility of ScrollView not allowing clicks after a fling
<nb> public class Source implements InsertSourceHandler , if ( file . getLength ( ) > target . getFileSizeLimit ( ) ) { - resultCallback . onFailure ( null ) ; + if ( resultCallback != null ) + resultCallback . onFailure ( null ) ; showFileTooLargeWarning ( file , target . getFileSizeLimit ( ) ) ; } e...
always check result callback for null in openFile
<nb> public class LookupImpl extends LightweightHint implements Lookup , Disposable { } } - if ( hasItems ) { - myList . setFixedCellWidth ( myLookupWidth ) ; - } updateListHeight ( model ) ; myAdComponent . setText ( myAdText ) ; if ( hasItems ) { + myList . setFixedCellWidth ( Math . max ( myL...
lookup dots should respect advertisement length
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; public class NativeBitmapFactory { <nb> public class NativeBitmapFactory { } } - Log . e ( STRING0 , STRING1 + nativeLibLoaded ) ; + SINGLE } static void initField ( ) {
Remove unused log output
<nb> public class MUCPersistenceManager { private static final String ADD_ROOM = STRING0 + STRING1 + - STRING2 + - STRING3 ; + STRING4 + + STRING5 + + STRING6 ; private static final String UPDATE_SUBJECT = STRING7 ; private static final String UPDATE_LOCK = <nb> public class MUCPersistenceManage...
Added default values for new mucRoom fields until functionality is implemented
<nb> public class MavenProjectModel { return Tree . visit ( rootProjects , visitor ) ; } - public class Node { + public static class Node { @ notnull private final VirtualFile pomFile ; @ notnull private MavenProject mavenProject ;
make class static
<nb> public abstract class Downsampler { } } ; - private static final int MARK_POSITION = NUMBER0 * NUMBER0 ; SINGLE + private static final int MARK_POSITION = NUMBER1 * NUMBER0 * NUMBER0 ; SINGLE COMMENT COMMENT
Increase the potential buffer size in Downsampler
<nb> public abstract class AbstractProtocol < S > implements ProtocolHandler , protected static class ConnectionHandler < S > implements AbstractEndpoint . Handler < S > { private final AbstractProtocol < S > proto ; - - protected final RequestGroupInfo global = new RequestGroupInfo ( ) ; - protected final ...
Make ConnectionHandler fields private
<nb> public class ASTNode { Object old = metaDataMap . put ( key , value ) ; if ( old != null ) throw new GroovyBugError ( STRING0 + this + STRING1 ) ; } - + + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + public Object putNodeMetaData ( Object key , Object ...
Add an alternative putNodeMetaData method which allows overwriting the object associated with an existing key
<nb> public class DrawerLayout extends ViewGroup implements DrawerLayoutImpl { updateChildrenImportantForAccessibility ( drawerView , true ) ; + SINGLE + if ( hasWindowFocus ( ) ) { + sendAccessibilityEvent ( AccessibilityEvent . TYPE_WINDOW_STATE_CHANGED ) ; + } + drawerView . requestFocus ( ) ; } ...
Send window state change when DrawerLayout is opened
<nb> public class SimpleSuspendableClassifier implements SuspendableClassifier { } private void readFile ( URL file , Set < String > set ) { - try ( InputStream is = new FileInputStream ( new File ( file . toURI ( ) ) ) ; + try ( InputStream is = file . openStream ( ) ; BufferedReader reader = new BufferedR...
Fix load resource in SimpleSuspendableClassifier
<nb> final class GeolocationService implements LocationListener { COMMENT COMMENT + COMMENT COMMENT COMMENT COMMENT - public GeolocationService ( long nativeObject ) { + public GeolocationService ( Context context , long nativeObject ) { mNativeObject = nativeObject ; SINGLE - ActivityThread thr...
Pass the WebView context to the GeolocationService from WebKit
<nb> public class DynamicTimer implements CompositeMonitor < Long > { } COMMENT + COMMENT + COMMENT + COMMENT + public static void record ( MonitorConfig config , long duration ) { + INSTANCE . get ( config , TimeUnit . MILLISECONDS ) . record ( duration ) ; + } + + COMMENT COMMENT COMMENT p...
Add record to DynamicTimer with default MS record method
<nb> public abstract class ExploreByTouchHelper extends View . AccessibilityDelegate { COMMENT private static final String DEFAULT_CLASS_NAME = View . class . getName ( ) ; + COMMENT + private static final Rect INVALID_PARENT_BOUNDS = new Rect ( + Integer . MAX_VALUE , Integer . MAX_VALUE , Integer . MIN_VA...
Fix invalid bounds detection in ExploreByTouchHelper
<nb> public class ViewPosts extends ListFragment { } else { if ( pla != null ) { if ( postIDs . length == NUMBER0 ) { - WordPress . wpDB . deleteUploadedPosts ( WordPress . currentBlog . getId ( ) , WordPress . currentPost . isPage ( ) ) ; - onPostActionListener . onPostAction ( Posts . POST_CLEAR , WordPress...
Protect post deletion
<nb> public class WordCountBigTest extends WordCountTest { if ( file == null ) throw new FileNotFoundException ( best ) ; doWordCount ( file ) ; } + + @ test public void testWordCount ( ) throws IOException { + SINGLE + } }
Don t run inherited testWordCount
<nb> public class DependencyManager implements InstallShinyEvent . Handler STRING0 , SINGLE shinyDependenciesArray ( - STRING1 , SINGLE - STRING2 ) , SINGLE + STRING3 , SINGLE + STRING4 ) , SINGLE false , new CommandWithArg < Boolean > ( ) {
bump shiny version for addins
<nb> public class PluginManager { } SINGLE - if ( url . startsWith ( STRING0 ) || url . startsWith ( STRING1 ) ) { + if ( url . startsWith ( STRING2 ) || url . startsWith ( STRING0 ) || url . startsWith ( STRING1 ) ) { return true ; } if ( url . startsWith ( STRING3 ) ) {
to default shouldAllowRequest policy
<nb> package NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class AuthenticatorActivityTest { @ before public void init ( ) { UiDevice uiDevice = UiDevice . getInstance ( InstrumentationRegistry . getInstr...
Fix error after doing rebase
<nb> public class AutoConfigurationReportLoggingInitializer implements private void addLogMessage ( StringBuilder message , String source , ConditionAndOutcomes conditionAndOutcomes ) { - message . append ( STRING0 + source + STRING1 ) ; + message . append ( STRING0 + source ) ; + message . append ( conditi...
Add per line match indicators to a c report
<nb> public class EpisodeTools { } public static void validateFlags ( int episodeFlags ) { - boolean hasValidFlag = false ; - if ( isUnwatched ( episodeFlags ) ) { return ; } <nb> public class EpisodeTools { return ; } - if ( ! hasValidFlag ) { - throw new IllegalArgumentException ( - STRI...
Drop unneeded condition
<nb> COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT <nb> class ProgressDialog implements Disposable { protected void init ( ) { super . init ( ) ; setUndecorated ( true ) ; + getRootPane ( ) . setWindowDecorationStyle ( JRootPane . NONE ) ; myPanel . setBorder ( PopupBorder . Factory . crea...
explicitly remove decorations in progress windows
<nb> public class DashFavoritesFragment extends DashBaseFragment { } public void updateLocation ( Location location ) { - SINGLE - SINGLE - SINGLE if ( location != null ) { - this . location = location ; + SINGLE loc = new LatLon ( location . getLatitude ( ) , location . getLongitude ( ) ) ; - } ...
consolidate a few lines
<nb> public abstract class PullToRefreshBase < T extends View > extends LinearLayout imp @ override public final boolean isPullToRefreshOverScrollEnabled ( ) { - if ( VERSION . SDK_INT >= VERSION_CODES . GINGERBREAD ) { - return mOverScrollEnabled && OverscrollHelper . isAndroidOverScrollEnabled ( mRefreshabl...
Remove unneeded if statement
<nb> public class ComponentContainer implements BatchComponent , ServerComponent { throw PicoUtils . propagate ( e ) ; } } finally { - if ( parent != null ) { - parent . removeChild ( ) ; - } + removeChild ( ) ; } return this ; } <nb> public class ComponentContainerTest { @ test public void sh...
Fix shutdown of ComponentContainer on error
<nb> public final class PlaybackState implements Parcelable { public final static int PLAYSTATE_SKIPPING_FORWARDS = NUMBER0 ; COMMENT - COMMENT - COMMENT + COMMENT COMMENT public final static long PLAYBACK_POSITION_UNKNOWN = - NUMBER1 ;
Fix sdk build
<nb> public abstract class CassandraSinkBase < IN , V > extends RichSinkFunction < IN > { protected transient Cluster cluster ; protected transient Session session ; - protected transient final AtomicReference < Throwable > exception = new AtomicReference < > ( ) ; + protected transient AtomicReference < Thro...
hotfix cassandra Fix CassandraSinkBase serialization issue
<nb> public class CreateMethodFromUsageFix extends CreateFromUsageFixBase { declaration = variable ; SINGLE } - SINGLE - SINGLE SearchScope scope = expr . getContainingFile ( ) . getUseScope ( ) ; Set < JetType > expectedTypes = new HashSet < JetType > ( ) ;
Removed a TODO
<nb> public class TextEditingTargetRMarkdownHelper public void createDraftFromTemplate ( final RmdChosenTemplate template ) { + final ProgressIndicator progress = new GlobalProgressDelayer ( + globalDisplay_ , + NUMBER0 , + STRING0 ) . getIndicator ( ) ; + final String target = template . getDirectory...
use a progress indicator when creating a document from template
<nb> public abstract class AbstractXMPPConnection implements XMPPConnection { COMMENT COMMENT COMMENT - COMMENT COMMENT - public void disconnect ( ) throws NotConnectedException { - disconnect ( new Presence ( Presence . Type . unavailable ) ) ; + public void disconnect ( ) { + try { + disconnect ( ...
Make disconnect not throw NotConnectedException
<nb> public final class ActivityManagerService extends ActivityManagerNative } final void logAppTooSlow ( ProcessRecord app , long startTime , String msg ) { - if ( IS_USER_BUILD ) { + if ( true && IS_USER_BUILD ) { return ; } String tracesPath = SystemProperties . get ( STRING0 , null ) ;
Turn off too slow logs
<nb> package NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; COMMENT COMMENT <nb> public class DefaultTestLogging implements TestLogging { return showStandardStreams ; } - public TestLogging setShowStandardStream ( boolean standardStreams ) { - DeprecationLogger . nagUserOfReplacedMethod (...
Remove deprecated stuff from TestLogging
<nb> public class JetVisitor < R , D > extends PsiElementVisitor { } public R visitSecondaryConstructor ( @ notnull JetSecondaryConstructor constructor , D data ) { - return visitJetElement ( constructor , data ) ; + return visitDeclaration ( constructor , data ) ; } public R visitPrimaryConstructor ( @...
Change default visiting behaviour of constructors to proper one
<nb> public final class GtasksSyncService { String remoteId = null ; String listId = Preferences . getStringValue ( GtasksPreferenceService . PREF_DEFAULT_LIST ) ; if ( listId == null ) { - listId = STRING0 ; SINGLE - Preferences . setString ( GtasksPreferenceService . PREF_DEFAULT_LIST , listId ) ; + com ....
Fixed a bug with google tasks created on default list being associated with the wrong list id
<nb> public class ContactListPane this . setHorizontalScrollBarPolicy ( JScrollPane . HORIZONTAL_SCROLLBAR_NEVER ) ; + this . setBorder ( BorderFactory . createMatteBorder ( NUMBER0 , NUMBER1 , NUMBER1 , NUMBER1 , Color . GRAY ) ) ; + this . initPluginComponents ( ) ; }
Remove bottom grey line of contact list
<nb> public class PlaygroundTest extends TestBase { SINGLE SINGLE - SINGLE + SINGLE + SINGLE }
triggering the build
<nb> public class TextureUnpacker { SINGLE if ( region . rotate ) { - BufferedImage srcImage = page . getSubimage ( region . left , region . top , region . width , region . height ) ; + BufferedImage srcImage = page . getSubimage ( region . left , region . top , region . height , region . width ) ; splitIma...
Rotated texture width height messup
<nb> import NAMESPACE ; public interface HttpClient { HttpResponse request ( HttpRequest req ) throws TwitterException ; - public void shutdown ( ) ; + void shutdown ( ) ; } <nb> public class ApacheHttpClientTest extends TestCase { protected void tearDown ( ) throws Exception { super . tearDown ( ) ...
fixing httpclient testcase
<nb> public class AprEndpoint extends AbstractEndpoint < Long > { } - public long getJniSslContext ( ) { - return sslContext ; - } - COMMENT COMMENT COMMENT
Remove unnecessary code
<nb> public class OsmEditingPlugin extends OsmandPlugin { } @ override - public void mapActivityCreate ( MapActivity activity ) { - } - - - @ override public Class < ? extends Activity > getSettingsActivity ( ) { return SettingsOsmEditingActivity . class ; }
Removed unused method
<nb> import static NAMESPACE ; public class StreamsTest extends LoggedIn { private static final int SERVER_STUB_PORT = NUMBER0 ; + private static final int WEB_PORT = NUMBER1 ; private ServerStub serverStub ; private WebDriver driver ; <nb> public class StreamsTest extends LoggedIn { @ test public...
try another port config for saucelabs
<nb> final class ReplayOutputChannelBroker extends AbstractOutputChannelForwarder imp this . nextEnvelopeToSend = uee . getExpectedSequenceNumber ( ) ; } } else if ( event instanceof ReceiverNotFoundEvent ) { - final ReceiverNotFoundEvent rnfe = ( ReceiverNotFoundEvent ) event ; - LOG . warn ( STRING0 + rnfe ...
Reduced logging during task recovery
<nb> + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT package NAMESPACE ; import NAMESPACE ;
Add missing license header to fix failing build
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class ClassPathScannerSmallTest { public void scanForClasses ( ) throws Exception { Class < ? > [ ] classes = new ClassPathScanne...
Fixed broken test
<nb> public class PGL { pg . parent . setLayout ( new BorderLayout ( ) ) ; pg . parent . add ( canvasAWT , BorderLayout . CENTER ) ; - System . out . println ( STRING0 + canvasAWT . requestFocusInWindow ( ) ) ; + canvasAWT . requestFocusInWindow ( ) ; pg . parent . removeListeners ( pg . parent ) ; pg ....
removed debug printouts
<nb> public final class EncodedTicket implements Ticket { return this . id ; } - public byte [ ] getEncoded ( ) { + protected byte [ ] getEncoded ( ) { return this . encodedTicket ; }
fixed findbugs issue
<nb> public class UpdateMappingIntegrationIT extends ESIntegTestCase { settingsBuilder ( ) . put ( STRING0 , NUMBER0 ) . put ( STRING1 , NUMBER1 ) + . put ( MapperService . INDEX_MAPPING_TOTAL_FIELDS_LIMIT_SETTING . getKey ( ) , Long . MAX_VALUE ) ) . execute ( ) . actionGet ( ) ; client ( ) . admin ( ) . c...
Increase the total number of allowed fields in UpdateMappingIntegrationIT testDynamicUpdates
<nb> public class SmsBroadcastReceiver extends BroadcastReceiver { if ( autoSync && loginInformationSet && ! firstBackup ) { new Alarms ( ctx ) . scheduleIncomingBackup ( ) ; } else { - Log . i ( TAG , STRING0 ) ; + Log . i ( TAG , STRING1 ) ; - new AppLog ( LOG , DateFormat . getDateFormatOrder ( ctx ) )...
Check applog status
<nb> public class NavigationViewUsage extends AppCompatActivity { switch ( item . getItemId ( ) ) { case R . id . navigation_item_1 : mTextMessage . setText ( STRING0 ) ; - item . setChecked ( true ) ; return true ; case R . id . navigation_item_2 : mTextMessage . setText ( STRING1 ) ; - item . setCheck...
Remove unnecessary code
<nb> public enum BlockFace { South ( NUMBER0 , NUMBER1 , NUMBER1 ) , West ( NUMBER1 , NUMBER1 , NUMBER0 ) , Up ( NUMBER1 , NUMBER0 , NUMBER1 ) , - Down ( NUMBER1 , - NUMBER0 , NUMBER1 ) ; + Down ( NUMBER1 , - NUMBER0 , NUMBER1 ) , + Self ( NUMBER1 , NUMBER1 , NUMBER1 ) ; private final int modX ; priva...
Added self face
<nb> public final class ManagedDeployableContainer extends CommonDeployableContainer < long startupTimeout = getContainerConfiguration ( ) . getStartupTimeoutInSeconds ( ) ; long timeout = startupTimeout * NUMBER0 ; boolean serverAvailable = false ; + long sleep = NUMBER0 ; while ( timeout > NUMBER1 && server...
Wait a bit before trying to connect to server
<nb> public abstract class AbstractTreeClassChooserDialog < T extends PsiNamedElement > @ override public boolean process ( T aClass ) { - if ( System . currentTimeMillis ( ) - start > NUMBER0 ) { + if ( System . currentTimeMillis ( ) - start > NUMBER0 && ! ApplicationManager . getApplication ( ) . isUnitTest...
fixing ClassChooserTest testSubclassModel
<nb> public abstract class AbstractEmbeddedServletContainerFactoryTests { @ test public void basicSsl ( ) throws Exception { + testBasicSllWithKeystore ( STRING0 ) ; + } + + protected final void testBasicSllWithKeystore ( String keyStore ) throws Exception { FileCopyUtils . copy ( STRING1 , new FileWr...
Add Jetty SSL keystore in classpath test
<nb> public class SimpleTTLIT extends ESIntegTestCase { return settingsBuilder ( ) . put ( super . nodeSettings ( nodeOrdinal ) ) . put ( STRING0 , PURGE_INTERVAL , TimeUnit . MILLISECONDS ) - . put ( STRING1 , false ) SINGLE - . put ( STRING2 , STRING3 ) . build ( ) ; }
Remove unsupported settings
<nb> package NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class StoredPaymentChannelServerStates implements WalletExtension { } COMMENT + COMMENT + COMMENT + public Map < Sha256Hash , StoredServerChannel > getChannelMap ( ) { + lock ...
Copy accessor for the channel map
<nb> public class ConstantContactApi extends DefaultApi10a @ override public String getAccessTokenEndpoint ( ) { - SINGLE return STRING0 ; } @ override public String getAuthorizationUrl ( Token requestToken ) { - SINGLE return String . format ( AUTHORIZE_URL , requestToken . getToken ( ) ) ; }...
removed auto generated comments
<nb> public class UISelectWorldMenu extends UIDisplayWindow { } } ) ) { File worldManifest = new File ( file . getPath ( ) + STRING0 ) ; + if ( ! worldManifest . exists ( ) ) + continue ; try { config = new ConfigSlurper ( ) . parse ( worldManifest . toURI ( ) . toURL ( ) ) ; if ( config . get ( STRING1...
Changed UISelectWorldMenu to skip directories with no world manifest
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; <nb> import NAMESPACE ; COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT
Corrected method name in comment
<nb> public class FastAdapter < Item extends IItem > extends RecyclerView . Adapter < Recycl } COMMENT + COMMENT + COMMENT + public void expand ( ) { + expand ( false ) ; + } + + COMMENT + COMMENT + COMMENT + COMMENT + public void expand ( boolean notifyItemChanged ) { + int length = getIt...
add expand method to expand all collapsable items in the root item level
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> import NAMESPACE ; COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT <nb> import NAMESPACE ; COMMENT ...
Almost finish javadocs for codec module
<nb> import NAMESPACE ; COMMENT COMMENT COMMENT - COMMENT + COMMENT + COMMENT COMMENT COMMENT COMMENT
fix sdk build breakage remove invalid note tag
<nb> public final class FileSystemMaster extends AbstractMaster { COMMENT COMMENT COMMENT + COMMENT COMMENT public FileInfo getFileInfo ( AlluxioURI path ) throws AccessControlException , FileDoesNotExistException , InvalidPathException {
Addressing review comment
<nb> + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + package NAMESPACE ; import NAMESPACE ;
Add Apache license to AppleBuildable
<nb> COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT <nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public abstract class AbstractCustomizeWizardStep extends JPanel { protected abstrac...
remove master password form
<nb> public class ContactList extends JList this . addListSelectionListener ( new ListSelectionListener ( ) { public void valueChanged ( ListSelectionEvent e ) { - new Exception ( ) . printStackTrace ( ) ; if ( ! e . getValueIsAdjusting ( ) ) { currentlySelectedObject = getSelectedValue ( ) ; }
remove an exception which served for debugging
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class RenderingRegistry for ( EntityRendererInfo info : entityRenderers ) { rendere...
Fix renderer s not getting the rendermanager set on them at registration time
<nb> package NAMESPACE ; + import NAMESPACE ; + COMMENT COMMENT COMMENT - COMMENT - COMMENT - COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT COMMENT COMMENT COMMENT <nb> import NAMESPACE ; public class EmbeddedServletContainerCustomizerBeanPos...
Tweak EmbeddedServletContainerCustomizer javadoc
<nb> public class NPTmpRetainingTreeNormalizer extends BobChrisTreeNormalizer { public TreeReader newTreeReader ( Reader in ) { return new PennTreeReader ( in , new LabeledScoredTreeFactory ( ) , new NPTmpRetainingTreeNormalizer ( NPTmpRetainingTreeNormalizer . TEMPORAL_ACL03PCFG , - true , NUMBER0 , true ) ) ;...
Don t S G annotate in embedded class
<nb> public abstract class NoiseGenerator { COMMENT COMMENT public static int floor ( double x ) { - return ( int ) Math . floor ( x ) ; + return x >= NUMBER0 ? ( int ) x : ( int ) x - NUMBER1 ; } protected static double fade ( double x ) {
Fixed fast floor in NoiseGenerator
<nb> public class AddAllRequest extends RingbufferRequest { public AddAllRequest ( ) { } + @ edu.umd.cs.findbugs.annotations.suppresswarnings ( { STRING0 } ) public AddAllRequest ( String name , Data [ ] items , OverflowPolicy overflowPolicy ) { super ( name ) ; this . items = items ;
Resolved Findbugs array expose issue in AddAllRequest of Ringbuffer
<nb> public final class UdpTransport implements ReadHandler , AutoCloseable this . registeredKey = nioSelector . registerForRead ( channel , this ) ; } - public UdpTransport ( final ControlFrameHandler frameHandler , - final InetSocketAddress local , - final NioSelector nioSelector ) throws Exception - { ...
remove duplicate overload
<nb> public abstract class PluginPassiveScanner extends Enableable implements Passive COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMENT public int getPluginId ( ) { return - NUMBER0 ;
Added the since version for the new method PluginPassiveScanner getPluginId
<nb> package 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 ;
Remove unnessary comments in BlockDataManager java
<nb> public class CircuitManagerImpl implements CircuitManager , DashboardRenderable { } void addActiveCircuit ( CircuitImpl circuit ) { + synchronized ( activeCircuits ) { + activeCircuits . add ( circuit ) ; + activeCircuits . notifyAll ( ) ; + } + lock . lock ( ) ; try { if ( ! isBuilding ) {...
document an issue with pending circuits on shutdown
<nb> public interface FriendsFollowersResources { COMMENT COMMENT COMMENT - COMMENT COMMENT PagableResponseList < User > getFriendsList ( long userId , long cursor , int count ) throws TwitterException ; <nb> public interface FriendsFollowersResources { COMMENT COMMENT COMMENT - COMMENT COMMEN...
Added count argument to list friends API method
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ;
Fix build missing import
<nb> final class BlocksGroup { if ( c == NUMBER0 ) { c = block1 . getIndexInFile ( ) - indexCorrection - block2 . getIndexInFile ( ) ; } - if ( c < NUMBER0 ) { SINGLE + if ( c < NUMBER0 ) { + SINGLE break ; } - if ( c != NUMBER0 ) { SINGLE + if ( c != NUMBER0 ) { + SINGLE j ++ ; } - if ( c =...
Fix some quality flaws
<nb> public class SQLQueryParameterBindDialog extends StatusDialog { tableEditor . showEditor ( paramTable . getItem ( NUMBER0 ) , NUMBER1 ) ; } - updateStatus ( GeneralUtils . makeInfoStatus ( STRING0 ) ) ; + updateStatus ( GeneralUtils . makeInfoStatus ( STRING1 ) ) ; return composite ; }
Parameters binding hints
<nb> import NAMESPACE ; COMMENT COMMENT COMMENT - COMMENT - COMMENT + COMMENT + COMMENT + COMMENT COMMENT COMMENT COMMENT <nb> import NAMESPACE ; COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMENT - COMMENT - COMMENT - COMMENT + COMMENT + COMMENT + COMMENT COMMENT - ...
clarify difference between topic subscription and partition assignment
<nb> public class BackendCompilerWrapper { threadFuture . get ( ) ; } catch ( InterruptedException ignored ) { + LOG . info ( STRING0 , ignored ) ; } - catch ( ExecutionException ignored ) { + catch ( ExecutionException ignored ) { + LOG . info ( STRING0 , ignored ) ; } } }
Added exception logging to complier wrapper
<nb> import NAMESPACE ; COMMENT COMMENT @ runwith ( Parameterized . class ) - public class RebalanceLargeTest extends AbstractRebalanceTest { + public class RebalanceLongTest extends AbstractRebalanceTest { Map < Integer , VoldemortServer > serverMap = new HashMap < Integer , VoldemortServer > ( ) ; pri...
corrected a class name mistake