diff
stringlengths
38
1.78k
msg_token
stringlengths
9
190
<nb> public final class ByteBufferedChannelManager implements TransferEnvelopeDispatc continue ; } - LOG . info ( STRING0 + bboc . getID ( ) ) ; + final boolean isActive = activeOutputChannels . contains ( bboc . getID ( ) ) ; + + LOG . info ( STRING1 + bboc . getID ( ) + STRING2 + + ( isActive ? STRING...
Fixed bugs in byte buffered channel manager
<nb> public class Ui { COMMENT public static int [ ] getColorsFromArrayRes ( Resources resources , int resId ) { try { - @ suppresslint ( STRING0 ) TypedArray array = resources . obtainTypedArray ( resId ) ; - if ( array != null && array . length ( ) > NUMBER0 ) { + @ suppresslint ( STRING0 ) + TypedArray...
remove Ui java getColorsFromArrayRes check null
<nb> public class PropertyRenameHandler implements RenameHandler { private void doRename ( String newName , boolean searchInComments ) { final RenameRefactoring rename = new JavaRenameRefactoringImpl ( myProperty . getProject ( ) , myProperty , newName , searchInComments , false ) ; - + rename . setPreviewUsa...
Preview applies rename instead of opening preview
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ;
remove unused import
<nb> public class MediaSourceWPImages implements MediaSource { @ override public void onPostExecute ( MediaItem result ) { - Log . e ( STRING0 , STRING1 ) ; if ( mListener != null ) { List < MediaItem > resultList = new ArrayList < > ( ) ; resultList . add ( result ) ;
Removing debug log
<nb> public class CompositeWhiteSpaceFormattingStrategy implements WhiteSpaceFormatti private final List < WhiteSpaceFormattingStrategy > myStrategies = new ArrayList < WhiteSpaceFormattingStrategy > ( ) ; private boolean myReplaceDefaultStrategy ; - public CompositeWhiteSpaceFormattingStrategy ( @ notnull Coll...
Added check for consistence of the white space strategies added in a single bulk
<nb> public interface Control extends Savable { public void setSpatial ( Spatial spatial ) ; COMMENT - COMMENT - COMMENT - COMMENT - public void setEnabled ( boolean enabled ) ; - - COMMENT - COMMENT - COMMENT - COMMENT - public boolean isEnabled ( ) ; - - COMMENT COMMENT COMMENT COM...
Removed setEnabled and isEnabled from the Control
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; - import NAMESPACE ; - import NAMESPACE ; - import NAMESPACE ; - import NAMESPACE ; - import NAMESPACE ; + + import NAMESPACE ; COMMENT COMMENT <nb> public class OCommandExecutorSQLTraverse extends OCommandE...
Fix parsing of traverse with limit and strategy
<nb> public abstract class Type COMMENT COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT
Java Remove paragraph tags from Javadoc comments
<nb> public class LockReleaser super ( id ) ; } - private long firstProp ; - private long firstRel ; + private long firstRel = Record . NO_NEXT_RELATIONSHIP . intValue ( ) ; + private long firstProp = Record . NO_NEXT_PROPERTY . intValue ( ) ; private ArrayMap < String , RelIdArray > relationshipAddMa...
Fixed a problem with cached firstProp value
<nb> public class SyncManager implements OnAccountsUpdateListener { private static final long SYNC_ALARM_TIMEOUT_MAX = NUMBER0 * NUMBER1 * NUMBER1 * NUMBER2 ; SINGLE COMMENT - COMMENT - COMMENT + COMMENT + COMMENT COMMENT - public static final long BIND_TIMEOUT_MS = NUMBER3 * NUMBER2 ; + public stat...
Changing the timeout for detecting syncs that are taking too long to bind
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; public class ThemeWebActivity extends WPWebViewActivity { public static final String IS_CURRENT_THEME = STRING0 ; <nb> public class ThemeWebActivity extends WPWebViewActivity { public static void open...
Handle null current theme
<nb> public interface Configurator String WEBSERVER_HTTPS_ENABLED_PROPERTY_KEY = STRING0 ; Boolean DEFAULT_WEBSERVER_HTTPS_ENABLED = false ; - String WEBSERVER_HTTPS_PORT_PROPERTY_KEY = STRING1 ; + String WEBSERVER_HTTPS_PORT_PROPERTY_KEY = STRING2 ; int DEFAULT_WEBSERVER_HTTPS_PORT = NUMBER0 ; - - Stri...
Removed unused config property
<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...
Drop TraktActionCompleteEvent listener from MovieDetailsFragment
<nb> class NettyClientTransport implements ClientTransport { boolean notifyShutdown ; synchronized ( this ) { notifyShutdown = ! shutdown ; - if ( ! shutdown ) { - shutdown = true ; - } + shutdown = true ; } if ( notifyShutdown ) { listener . transportShutdown ( status ) ;
Remove extraneous shutdown condition in NettyClientTransport
<nb> public class ReferenceProvidersRegistry implements ProjectComponent { registerReferenceProvider ( new TokenTypeFilter ( XmlTokenType . XML_DATA_CHARACTERS ) , XmlToken . class , new JavaClassListReferenceProvider ( ) ) ; - registerReferenceProvider ( PsiPlainTextFile . class , new JavaClassListReferencePro...
commented reference providers
<nb> public class NarrativeSection { direction = walkable . getDirection ( ) ; BasicNarrativeItem item = new BasicNarrativeItem ( ) ; item . setDirection ( walkable . getDirection ( ) ) ; - item . setDirection ( walkable . getDirection ( ) ) ; item . setName ( walkable . getName ( ) ) ; String end = walkabl...
remove dupe line
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; public class MultiSelectCellTable < T > extends CellTable < T > implements H...
eliminate eclipse warnings
<nb> public class PsiDynaReference < T extends PsiElement > extends PsiReferenceBase < T > private List < PsiReference > myReferences = new ArrayList < PsiReference > ( ) ; private int myChoosenOne = - NUMBER0 ; private boolean mySoft ; + private ResolveResult [ ] myCachedResult ; public PsiDynaReference ( ...
resolve result cached
<nb> public class ShadowView { return onClickListener ; } + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + public View . OnLongClickListener getOnLongClickListener ( ) { + return onLongClickListener ; + } + @ implementation public void setDrawingCacheEnabled ( boolean drawingCacheEnabled ...
Added accessor for onLongClickListener
<nb> public abstract class BaseDateTimeField extends DateTimeField implements Seriali COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT <nb> public abstract class BaseDateTimeField extends DateTimeField implements Seriali COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMEN...
Fix javadoc param tags
<nb> public abstract class FoundationTestCase extends TestCase { reporter . addHandler ( failFastHandler ) ; } - COMMENT + COMMENT COMMENT COMMENT protected FileSystem createFileSystem ( ) { - return new InMemoryFileSystem ( BlazeClock . instance ( ) ) ; + return new InMemoryFileSystem ( BlazeClock ...
Remove more calls to scratchFS
<nb> extends BaseTest < A , AP , B , S , B2S , BS , L , X , DATE , BOOL , D , T , U , UU , I , IPK , T7 xxxxxx x x - xx xxxxx xx - x + COMMENT + } - xxxxxx xxxx xxxxxxxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxxx x + public void testAggregateFunctions ( ) throws Exception { - xx xxxxxxxx xxxxxxxxx xxxxxxx...
Fixed bad wrapping of commercial code section
<nb> public class AppScheduledExecutorService extends SchedulingWrapper { private static class BackendThreadPoolExecutor extends ThreadPoolExecutor { BackendThreadPoolExecutor ( ) { - super ( NUMBER0 , Integer . MAX_VALUE , NUMBER1 , TimeUnit . SECONDS , new SynchronousQueue < Runnable > ( ) ) ; + super ( NUM...
make sure test that assumes initial number of thread will pass
<nb> public class TachyonMaster { } private boolean isFormatted ( String folder , String path ) throws IOException { - if ( ! folder . endsWith ( Constants . PATH_SEPARATOR ) ) { + if ( ! folder . endsWith ( Constants . PATH_SEPARATOR ) ) { folder += Constants . PATH_SEPARATOR ; } UnderFileSystem ufs = ...
Reformat line style
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class AddListDialogFragment extends DialogFragment { public View onCreateView ( LayoutInflater inflater , ViewGroup container , Bundle savedInstanceSt...
Display correct dialog title in add dialog
<nb> public class ReturnResult implements DaemonCommandAction { result = new Success ( execution . getResult ( ) ) ; } - LOGGER . info ( STRING0 + result ) ; + LOGGER . debug ( STRING0 + result ) ; execution . getConnection ( ) . dispatch ( result ) ; }
Reduced the log level for one debug statement
<nb> public class PyCharmEduInitialConfigurator { STRING0 , STRING1 , STRING2 , STRING3 , STRING4 , STRING5 , STRING6 , STRING7 , STRING8 , - STRING9 , STRING10 ) ; + STRING9 , STRING10 , + STRING11 , STRING12 , STRING13 , + STRING14 ) ; public static class First {
removed some actions from debug tool window
<nb> public class ClusterStateManager { clusterServiceLock . lock ( ) ; try { final ClusterState currentState = getState ( ) ; - if ( currentState != ClusterState . ACTIVE ) { + if ( currentState != ClusterState . ACTIVE && currentState != initialState ) { logger . warning ( STRING0 + STRING1 + currentState...
Suppress initial cluster state warning when current state is same as given state
<nb> public class ExpressionStmtCompiler extends StmtCompiler { if ( operator instanceof ConcatExprToken ) { if ( isInvert ) { + stackPush ( R ) ; writePopString ( ) ; writePush ( L , StackItem . Type . STRING ) ; writeSysStaticCall ( OperatorUtils . class , STRING0 , String . class , String . class , Str...
Fix bug of concat operation in some cases
<nb> public class PrestoConnection public int getTransactionIsolation ( ) throws SQLException { - throw new UnsupportedOperationException ( STRING0 ) ; + return TRANSACTION_NONE ; } @ override
Implement PrestoConnection getTransactionIsolation
<nb> import NAMESPACE ; COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT
Fix javadoc tag
<nb> public class IncrementalCompilerFactory { public IncrementalCompilerFactory ( FileOperations fileOperations , String compileDisplayName , CleaningJavaCompiler cleaningJavaCompiler , List < Object > source , CompileCaches compileCaches ) { SINGLE - Hasher hasher = new DefaultHasher ( ) ; SINGLE + Hasher h...
Documented an idea for avoiding too much hashing
<nb> public class NativeViewHierarchyManager { COMMENT COMMENT COMMENT - private void dropView ( View view ) { + protected final void dropView ( View view ) { UiThreadUtil . assertOnUiThread ( ) ; if ( ! mRootTags . get ( view . getId ( ) ) ) { SINGLE
Remove referenced to dropped views
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class ReaderPostListFragment extends Fragment mSearchSuggestionAdapter . populate ( ) ; } SINGLE - setEmptyTitleAndDescriptio...
Don t show empty message for search when in landscape
<nb> public class MediaCodecUtil { COMMENT COMMENT COMMENT + COMMENT + COMMENT COMMENT + @ suppresswarnings ( STRING0 ) private static synchronized Pair < MediaCodecInfo , CodecCapabilities > getMediaCodecInfo ( String mimeType ) { Pair < MediaCodecInfo , CodecCapabilities > result = codecs . get ( ...
Suppress deprecation warnings
<nb> package NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class PeopleInviteFragment extends Fragment { buttonizeUsername ( username , inflater , usernamesView ) ; } } + final EditText editText = ( EditText ) rootV...
Remove unused imports
<nb> public class BlockDrawingHelper public XMLBlockState ( BlockType type , Colour colour , Facing face , Variation variant ) { + this . type = type ; IBlockState blockType = MinecraftTypeHelper . ParseBlockType ( type . value ( ) ) ; if ( blockType != null ) {
Fixed oversight whereby block type was getting lost
<nb> public class Recording { long now = System . currentTimeMillis ( ) ; StringBuilder acc = new StringBuilder ( get ( ) ) ; while ( ! predicate . test ( acc . toString ( ) ) ) { - Assert . assertTrue ( System . currentTimeMillis ( ) - now < NUMBER0 ) ; + Assert . assertTrue ( STRING0 + acc , System . curren...
Improve error reporting in test
<nb> public class PlatformProjectOpenProcessor extends ProjectOpenProcessor { else { projectDir . mkdirs ( ) ; } + + if ( project == null ) { + project = projectManager . newProject ( projectDir . getParentFile ( ) . getName ( ) , projectDir . getParent ( ) , true , false ) ; + } + if ( project == nul...
Open Directory fixed
<nb> public class NestedColumnReference extends ColumnReference { } COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT <nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb...
typo fix removed debug statements
<nb> public abstract class AsyncProvidersBasicTest extends AbstractBasicTest { assertEquals ( r . getStatusCode ( ) , NUMBER0 ) ; assertEquals ( r . getResponseBodyAsBytes ( ) , new byte [ ] { } ) ; - client . close ( ) ; } finally { client . close ( ) ; }
Shouldn t be closing client twice
<nb> public abstract class SpongeWorld extends AbstractWorld { protected abstract void applyTileEntityData ( TileEntity entity , BaseBlock block ) ; + private static final BlockSnapshot . Builder builder = BlockSnapshot . builder ( ) ; + @ override public boolean setBlock ( Vector position , BaseBlock blo...
Use a static builder and reset it rather than asking the Sponge registry for a new builder
<nb> public class GroovyMain { COMMENT COMMENT COMMENT - public File huntForTheScriptFile ( String scriptFileName ) { - File scriptFile = new File ( scriptFileName . trim ( ) ) ; + public File huntForTheScriptFile ( String input ) { + String scriptFileName = input . trim ( ) ; + File scriptFile = new Fi...
java lang ClassFormatError running groovy script from shell bash minor refactoring
<nb> cat include / telephony / ril . h | \ int RIL_REQUEST_ALLOW_DATA = NUMBER0 ; int RIL_REQUEST_GET_HARDWARE_CONFIG = NUMBER1 ; int RIL_REQUEST_SIM_AUTHENTICATION = NUMBER2 ; + int RIL_REQUEST_SET_DATA_PROFILE = NUMBER3 ; int RIL_UNSOL_RESPONSE_BASE = NUMBER4 ; int RIL_UNSOL_RESPONSE_RADIO_STATE_CHANGED...
add apn setting parameters and set apn parameters to bp
<nb> public class RouteResultPreparation { } TurnType currentTurn = currentSegment . getTurnType ( ) ; currentTurn . setLanes ( active . disabledLanes ) ; - int turn = inferTurnFromLanes ( active . disabledLanes ) ; - if ( turn != NUMBER0 && turn != currentTurn . getValue ( ) ) { - TurnType newTurnType = Tu...
Fix turn lanes test
<nb> public class RelationshipTypeHolder { relTypes . put ( type . getName ( ) , type . getId ( ) ) ; relTranslation . put ( type . getId ( ) , type . getName ( ) ) ; - printIt ( type . getId ( ) , type . getName ( ) ) ; - } - - private void printIt ( int id , String name ) - { - new Exception ( STRIN...
Removed some debugging code
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; public class ElementVisible extends BaseMatcher < WebDriver > <nb> public class ElementVisible extends BaseMatcher < WebDriver > return ! ( ( RenderedWebElement ) d . findElement ( ...
Improved webdriver test robustness
<nb> SINGLE package NAMESPACE ; - import NAMESPACE ; + import NAMESPACE ; + import NAMESPACE ; + import NAMESPACE ; + import NAMESPACE ; + import NAMESPACE ; COMMENT COMMENT <nb> import NAMESPACE ; COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMENT public class DesignForExtensio...
Fixed Checkstyle errors
<nb> public abstract class AnimationAdapter extends BaseAdapterDecorator { } else { long delaySinceStart = ( mLastAnimatedPosition - mFirstAnimatedPosition + NUMBER0 ) * getAnimationDelayMillis ( ) ; delay = mAnimationStartMillis + getInitialDelayMillis ( ) + delaySinceStart - System . currentTimeMillis ( ) ; -...
Fixed gridview animation
<nb> public class ConversationPrefsHelper { mConversationPrefs = context . getSharedPreferences ( CONVERSATIONS_FILE + threadId , Context . MODE_PRIVATE ) ; } + public int getColor ( ) { + SINGLE + return NUMBER0 ; + } + public boolean getNotificationsEnabled ( ) { return getBoolean ( SettingsFragme...
Added theme to conversation prefs
<nb> public class ECKey implements EncryptableItem , Serializable { protected ECKey ( @ nullable BigInteger priv , ECPoint pub ) { if ( priv != null ) { - SINGLE + SINGLE + SINGLE + SINGLE checkArgument ( ! priv . equals ( BigInteger . ZERO ) ) ; checkArgument ( ! priv . equals ( BigInteger . ONE ) ) ...
extend the comment about why private keys of zero and one are now forbidden
<nb> public class InspectionResultsView extends JPanel implements Disposable , Occuren ( ( InspectionTreeNode ) path . getLastPathComponent ( ) ) . ignoreElement ( ) ; } } - updateView ( false ) ; + myTree . revalidate ( ) ; + myTree . repaint ( ) ; } @ override
do not recreate tree when exclude action is invoked
<nb> public class TextEditingTarget implements if ( notebook_ != null ) notebook_ . onDismiss ( ) ; + + if ( inlinePreviewer_ != null ) + inlinePreviewer_ . onDismiss ( ) ; } public ReadOnlyValue < Boolean > dirtyState ( )
dismiss inline previewer when closing tab
<nb> public class NeuralNet extends ValidatedJob { float [ ] valid_samples = new float [ validation_errors . length ] ; for ( int i = NUMBER0 ; i < valid_err . length ; ++ i ) { valid_err [ i ] = ( float ) validation_errors [ i ] . classification ; - valid_samples [ i ] = training_errors [ i ] . training_sample...
Use the number of training points at the time the validation error was computed for the validation error plot
<nb> public class NioSender extends AbstractSender implements DataSender { socketChannel . socket ( ) . setSendBufferSize ( getTxBufSize ( ) ) ; socketChannel . socket ( ) . setReceiveBufferSize ( getRxBufSize ( ) ) ; socketChannel . socket ( ) . setSoTimeout ( ( int ) getTimeout ( ) ) ; - socketChannel . socke...
set the correct so linger attribute
<nb> public final class MediaDrm { COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMENT public native String getPropertyString ( String propertyName ) ;
Change doc comment to match API change
<nb> public class EventBus { private void doFireEvent ( BatchEvent event ) { List < EventHandler > handlers = getDispatchList ( event . getType ( ) ) ; - Logs . INFO . trace ( STRING0 , event , handlers ) ; for ( EventHandler handler : handlers ) { event . dispatch ( handler ) ; }
Remove TRACE log
<nb> public class ChunkSummary extends MRTask2 < ChunkSummary > { total_chunk_count += chunk_counts [ j ] ; } + COMMENT long check = NUMBER0 ; for ( int i = NUMBER0 ; i < _fr . numCols ( ) ; ++ i ) { check += _fr . vecs ( ) [ i ] . nChunks ( ) ; } assert ( total_chunk_count == check ) ; assert ( tot...
Disable new assertion temporarily
<nb> import NAMESPACE ; COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT
fix a javadoc bug in ClientCall
<nb> import NAMESPACE ; public interface Broker { + void invalidateMaster ( ) ; + Master getMaster ( ) ; void setLastCommittedTxId ( long txId ) ;
Added invalidateMaster method to control that behaviour from outside
<nb> import NAMESPACE ; import static NAMESPACE ; COMMENT - COMMENT + COMMENT + COMMENT COMMENT COMMENT COMMENT
Packet improved javadoc
<nb> public class DiscoveryNode implements Writeable < DiscoveryNode > , ToXContent { int rolesSize = in . readVInt ( ) ; this . roles = new HashSet < > ( rolesSize ) ; for ( int i = NUMBER0 ; i < rolesSize ; i ++ ) { + int ordinal = in . readVInt ( ) ; + if ( ordinal < NUMBER0 || ordinal >= Role . values ( )...
add explicit check for Role enum ordinal when reading from StreamInput
<nb> public abstract class Service extends ContextWrapper implements ComponentCallbac COMMENT COMMENT - COMMENT + COMMENT + COMMENT + COMMENT COMMENT COMMENT COMMENT
clarify dumpsys instructions
<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 N...
Move DigesterFactory to new o a t u descriptor package since JspC will eventually need to use it
<nb> import NAMESPACE ; COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT <nb> import NAMESPACE ; COMMENT COMMENT COMMENT - COMMENT + COMMENT COMMENT COMMENT COMMENT
fixed sample code in javadoc to reflect latest API changes
<nb> public class Observable < T > { } COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + COMMENT + public final BlockingObservable < T > toBlocking ( ) { + return toBlockingObservable ( ) ; + } + + COMMENT COMMENT COMMENT COMMENT
Implement shorter toBlocking as shorter alias for toBlockingObservable
<nb> public class ResultSetModel { return metadataDynamic ; } + boolean isSourceChanged ( ) { + return sourceChanged ; + } + COMMENT COMMENT COMMENT <nb> public class ResultSetModel { } hasData = true ; - sourceChanged = false ; } boolean hasColorMapping ( DBDAttributeBinding binding...
Do not switch record grid mode on refresh
<nb> public class JavaxResolver implements DNSResolver { Attributes dnsLookup = dirContext . getAttributes ( name , new String [ ] { STRING0 } ) ; Attribute srvAttribute = dnsLookup . get ( STRING0 ) ; + if ( srvAttribute == null ) + return res ; @ suppresswarnings ( STRING1 ) NamingEnumeration < String >...
Fix NPE in JavaxResolver
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; public class ConfigurationPermissionsResolver implements PermissionsResolver { private Configuration config ; <nb> package NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; - import NAMESPAC...
Fixed more warnings
<nb> public final class WebViewClassic implements WebViewProvider , WebViewProvider . Sc if ( action == MotionEvent . ACTION_POINTER_DOWN ) { cancelTouch ( ) ; action = MotionEvent . ACTION_DOWN ; - } else if ( action == MotionEvent . ACTION_POINTER_UP && ev . getPointerCount ( ) >= NUMBER0 ) { + } else if ( ...
Remove dead code
<nb> import NAMESPACE ; COMMENT COMMENT COMMENT - COMMENT - COMMENT + COMMENT + COMMENT COMMENT COMMENT COMMENT
Updated some text in the segment tree
<nb> public class TemplateSettings implements PersistentStateComponent < Element > , Expo for ( DefaultLiveTemplatesProvider provider : Extensions . getExtensions ( DefaultLiveTemplatesProvider . EP_NAME ) ) { for ( String defTemplate : provider . getDefaultLiveTemplateFiles ( ) ) { String templateName = getDefau...
load default live templates from correct classloader
<nb> package NAMESPACE ; - import NAMESPACE ; - public abstract class AbstractSqlStatement implements SqlStatement { @ override public boolean skipOnUnsupported ( ) { return false ; } - - @ override - public String toString ( ) { - return ReflectionToStringBuilder . toString ( this ) ; - }...
Should not add dependency to org apache commons
<nb> public class ChatConversationPanel extends JScrollPane this . setBorder ( BorderFactory . createEmptyBorder ( NUMBER0 , NUMBER0 , NUMBER0 , NUMBER0 ) ) ; - this - . setHorizontalScrollBarPolicy ( JScrollPane . HORIZONTAL_SCROLLBAR_NEVER ) ; + this . setHorizontalScrollBarPolicy ( JScrollPane . HORIZONT...
code aligned some free space removed
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> import NAMESPACE ; COMMENT COMMENT COMMENT - @ configurationproperties ( prefix = STRING0 ) public class ManagementErrorEndpoint i...
Remove useless ConfigurationProperties
<nb> public class ProvisioningServiceImpl url = url . replace ( STRING0 , ipaddr . getHostAddress ( ) ) ; } - if ( url . indexOf ( STRING1 ) != - NUMBER0 ) + if ( url . indexOf ( STRING2 ) != - NUMBER0 ) { String name ; if ( OSUtils . IS_WINDOWS ) <nb> public class ProvisioningServiceImpl { name =...
Rename computername provisioning property to hostname
<nb> public class TouchEvent extends InputEvent { TAP , DOUBLETAP , LONGPRESSED , + COMMENT + COMMENT + COMMENT + COMMENT + HOVER_START , + COMMENT + COMMENT + COMMENT + COMMENT + HOVER_MOVE , + COMMENT + COMMENT + COMMENT + COMMENT + HOVER_END , + SINGLE COMMENT COMMENT
Add onHover events to TouchEvent
<nb> public class RestPermissions { FIELDNAMES_READ , INDEXERCLUSTER_READ , INPUTS_READ , + JOURNAL_READ , JVMSTATS_READ , MESSAGECOUNT_READ , MESSAGES_READ ,
Add JOURNAL_READ to reader base permissions
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; COMMENT COMMENT COMMENT + COMMENT COMMENT COMMENT public class ActiveRulesBuilder {
Remove unused import
<nb> public final class BarcodeReaderCaptureActivity extends Activity { } private static ParsedResult parseReaderResult ( Result rawResult ) { - ParsedResult result = ResultParser . parseReaderResult ( rawResult ) ; + ParsedResult result = ResultParser . parseResult ( rawResult ) ; if ( result . getType ( )...
More refactoring of parsed results result parsers added basic vCard support
<nb> import NAMESPACE ; COMMENT - COMMENT + COMMENT COMMENT public class StackOverflowXmlParser { SINGLE
Added proper usage comment
<nb> public class RecyclerViewDragDropManager { COMMENT COMMENT public void attachRecyclerView ( RecyclerView rv ) { + SINGLE attachRecyclerView ( rv , null ) ; } <nb> public class RecyclerViewDragDropManager { COMMENT COMMENT COMMENT - public void attachRecyclerView ( RecyclerView rv , Recycler...
Suppress some deprecation warnings
<nb> public class LibraryService extends Service { final ZLAndroidImageManager manager = ( ZLAndroidImageManager ) ZLAndroidImageManager . Instance ( ) ; if ( ( ( ZLImageProxy ) image ) . isSynchronized ( ) ) { - delayed [ NUMBER0 ] = false ; + delayed [ NUMBER0 ] = true ; return null ; } - delayed [ NU...
inverted delayed variable
<nb> package NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import static NAMESPACE ; import static NAMESPACE ; import static NAMESPACE ; <nb> import static NAMESPACE ; COMMENT COMMENT COMMENT + COMMENT COMMENT public class WhitespaceThrow...
Fix a line ending issue for building on Windows
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; - import NAMESPACE ; - import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ;
Remove unused imports
<nb> import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; import NAMESPACE ; import NAMESPACE ; <nb> public class IgnoredSettingsPanel implements SearchableConfigurable { private static cla...
Fixed UI in ingored VCS files
<nb> public class PythonSecurityTests extends ESTestCase { fail ( STRING0 ) ; } catch ( PyException expected ) { Throwable cause = expected . getCause ( ) ; - assertNotNull ( STRING1 + expected , cause ) ; + SINGLE + SINGLE + SINGLE + assertNotNull ( STRING2 , cause ) ; assertTrue ( STRING3 + cause , ...
prevent test failures from jython localization bugs
<nb> public class SpriteGroup extends SpriteBatch { COMMENT @ override @ deprecated - public void attachChild ( final IEntity pEntity ) { + public void attachChild ( final IEntity pEntity ) throws IllegalArgumentException { if ( pEntity instanceof BaseSprite ) { this . assertCapacity ( ) ; this . assert...
Added proper message to SpriteGroup attachChild IEntity
<nb> public class RenderState implements Cloneable , Savable { + STRING0 + offsetFactor + STRING1 + offsetUnits + STRING2 + lineWidth - + ( blendMode . equals ( BlendMode . Custom ) ? STRING3 + sfactorRGB + STRING4 + dfactorRGB + STRING4 + sfactorAlpha + STRING4 + dfactorAlpha + STRING5 : STRING6 - + STRING7 ...
Corrected parenthesis bug
<nb> public abstract class BaseStatusBar extends SystemUI implements SINGLE SINGLE updateRowStates ( ) ; - mStackScroller . onHeightChanged ( null , false ) ; } }
Revert Fixed a bug where the panel could be too small in certain cases
<nb> public class SentenceSourceChecker { resultHandler = new StdoutHandler ( maxSentences , maxErrors ) ; } JLanguageTool langTool = new JLanguageTool ( lang ) ; + langTool . activateDefaultPatternRules ( ) ; MixingSentenceSource mixingSource = MixingSentenceSource . create ( fileNames , lang ) ; while ( m...
activate pattern rules
<nb> public interface Model { void setReference ( String reference ) ; Object clone ( ) ; + + Map < String , Object > getVendorExtensions ( ) ; } <nb> package NAMESPACE ; import NAMESPACE ; import NAMESPACE ; + import NAMESPACE ; + public interface Property { Property title ( String title ) ...
add vendor extensions to Model and Property interfaces
<nb> public class CoordinatorLayout extends ViewGroup implements NestedScrollingParen COMMENT COMMENT COMMENT - COMMENT - COMMENT - COMMENT - COMMENT COMMENT COMMENT public int getAnchorId ( ) { <nb> public class CoordinatorLayout extends ViewGroup implements NestedScrollingParen } COMMENT ...
Fix java doc for get set AnchorId in CoordinatorLayout
<nb> public class QueryTest extends HazelcastTestSupport { IMap < Object , Object > map = hz . getMap ( name ) ; EntryObject e = new PredicateBuilder ( ) . getEntryObject ( ) ; Predicate p = e . get ( STRING0 ) . equal ( FIND_ME ) ; - int size = NUMBER0 ; - for ( int i = NUMBER0 ; i < NUMBER1 ; i ++ ) { - s...
Improved QueryTest testQueryWithIndexDuringJoin
<nb> public class CouchdbRiver extends AbstractRiverComponent implements River { SINGLE try { XContentBuilder builder = XContentFactory . jsonBuilder ( ) ; - builder . startObject ( ) ; + SINGLE + builder . startArray ( ) ; for ( Object value : ( ( List ) lastSeq ) ) { builder . value ( value ) ; } ...
changed writeObject to writeArray
<nb> public class YoutubeSearchEngineTest extends AndroidTestCase { SearchEngine engine = ServiceList . getService ( STRING0 ) . getSearchEngineInstance ( new Downloader ( ) ) ; - result = engine . search ( STRING1 , + result = engine . search ( STRING2 , NUMBER0 , STRING3 , new Downloader ( ) ) . getSearch...
skip ads and channels from test
<nb> public class Bzip2DecoderTest { ByteBuf msg ; while ( ( msg = channel . readInbound ( ) ) != null ) { uncompressed . writeBytes ( msg ) ; + msg . release ( ) ; } final byte [ ] result = new byte [ uncompressed . readableBytes ( ) ] ; uncompressed . readBytes ( result ) ; + uncompressed . release ( ...
Fix buffer leaks in Bzip2DecoderTest
<nb> public class TestBeanNameELResolver { COMMENT COMMENT private BeanNameELResolver createBeanNameELResolver ( ) { - return createBeanNameELResolver ( false ) ; + return createBeanNameELResolver ( true ) ; } private BeanNameELResolver createBeanNameELResolver ( boolean allowCreate ) {
Fix broken test
<nb> public abstract class AbstractLiquibaseCommand < T extends Configuration > extends final DatabaseConfiguration dbConfig = strategy . getDatabaseConfiguration ( configuration ) ; dbConfig . setMaxSize ( NUMBER0 ) ; dbConfig . setMinSize ( NUMBER0 ) ; + dbConfig . setInitialSize ( NUMBER0 ) ; ManagedLiqu...
Fix initial size warning w dw migrations