signature stringlengths 43 39.1k | implementation stringlengths 0 450k |
|---|---|
public class NonBlockingClient { /** * Unsubscribes from a destination . This is equivalent to calling :
* < code > unsubscribe ( topicPattern , null , ttl ) < / code >
* @ param topicPattern a topic pattern that identifies the destination to unsubscribe from . This must match
* one of the topic patterns previous... | return unsubscribe ( topicPattern , null , ttl , listener , context ) ; |
public class CaptureInfo { /** * returns all the implicit params that come after explicit params in a constructor . */
public Iterable < VariableElement > getImplicitPostfixParams ( TypeElement type ) { } } | if ( ElementUtil . isEnum ( type ) ) { return implicitEnumParams ; } return Collections . emptyList ( ) ; |
public class Transmitter { /** * Releases resources held with the request or response of { @ code exchange } . This should be called
* when the request completes normally or when it fails due to an exception , in which case { @ code
* e } should be non - null .
* < p > If the exchange was canceled or timed out , ... | boolean exchangeDone = false ; synchronized ( connectionPool ) { if ( exchange != this . exchange ) { return e ; // This exchange was detached violently !
} boolean changed = false ; if ( requestDone ) { if ( ! exchangeRequestDone ) changed = true ; this . exchangeRequestDone = true ; } if ( responseDone ) { if ( ! exc... |
public class EnterpriseBeanProxyMethodHandler { /** * Looks up the EJB in the container and executes the method on it
* @ param self the proxy instance .
* @ param method the overridden method declared in the super class or
* interface .
* @ param proceed the forwarder method for invoking the overridden method ... | if ( "destroy" . equals ( method . getName ( ) ) && Marker . isMarker ( 0 , method , args ) ) { if ( bean . getEjbDescriptor ( ) . isStateful ( ) ) { if ( ! reference . isRemoved ( ) ) { reference . remove ( ) ; } } return null ; } if ( ! bean . isClientCanCallRemoveMethods ( ) && isRemoveMethod ( method ) ) { throw Be... |
public class PaxDate { /** * Returns a copy of this { @ code PaxDate } with the specified period in years added .
* This method adds the specified amount to the years field in two steps :
* < ol >
* < li > Add the input years to the year field < / li >
* < li > If necessary , shift the index to account for the ... | if ( yearsToAdd == 0 ) { return this ; } int newYear = YEAR . checkValidIntValue ( getProlepticYear ( ) + yearsToAdd ) ; // Retain actual month ( not index ) in the case where a leap month is to be inserted .
if ( month == MONTHS_IN_YEAR && ! isLeapYear ( ) && PaxChronology . INSTANCE . isLeapYear ( newYear ) ) { retur... |
public class LNDImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
@ Override public boolean eIsSet ( int featureID ) { } } | switch ( featureID ) { case AfplibPackage . LND__LND_FLGS : return LND_FLGS_EDEFAULT == null ? lndFlgs != null : ! LND_FLGS_EDEFAULT . equals ( lndFlgs ) ; case AfplibPackage . LND__IPOS : return IPOS_EDEFAULT == null ? iPos != null : ! IPOS_EDEFAULT . equals ( iPos ) ; case AfplibPackage . LND__BPOS : return BPOS_EDEF... |
public class SpaceVerifier { /** * ( non - Javadoc )
* @ see org . springframework . batch . core . StepExecutionListener # afterStep ( org .
* springframework . batch . core . StepExecution ) */
@ Override public ExitStatus afterStep ( final StepExecution stepExecution ) { } } | if ( getErrors ( ) . size ( ) == 0 ) { List < String > verifyErrors = verifySpace ( verifier ) ; for ( String error : verifyErrors ) { addError ( error ) ; } } ExitStatus status = stepExecution . getExitStatus ( ) ; List < String > errors = getErrors ( ) ; if ( errors . size ( ) > 0 ) { status = status . and ( ExitStat... |
public class GrowingSparseMatrix { /** * { @ inheritDoc } */
public double get ( int row , int col ) { } } | checkIndices ( row , col ) ; SparseDoubleVector sv = rowToColumns . get ( row ) ; return ( sv == null ) ? 0 : sv . get ( col ) ; |
public class Maps { /** * Creates a map that maps consecutive integer values to the
* corresponding elements in the given array .
* @ param < T > The value type
* @ param elements The elements
* @ return The map */
@ SafeVarargs public static < T > Map < Integer , T > fromElements ( T ... elements ) { } } | return fromIterable ( Arrays . asList ( elements ) ) ; |
public class ChannelImpl { /** * Cleans up the channel name by applying the following : 1 ) trim any
* whitespace 2 ) convert to upper case for easy string comparisions 3 ) strip
* of the masquerade prefix if it exists and mark the channel as
* masquerading 4 ) strip the zombie suffix and mark it as being a zombi... | String cleanedName = name . trim ( ) . toUpperCase ( ) ; // If if the channel is the console
this . _isConsole = false ; if ( name . compareToIgnoreCase ( "Console/dsp" ) == 0 ) // $ NON - NLS - 1 $
{ this . _isConsole = true ; } // Check if the channel is in an action
boolean wasInAction = this . _isInAction ; this . ... |
public class AbstractBigtableTable { /** * { @ inheritDoc } */
@ Override public void delete ( List < Delete > deletes ) throws IOException { } } | LOG . trace ( "delete(List<Delete>)" ) ; try ( Scope scope = TRACER . spanBuilder ( "BigtableTable.delete" ) . startScopedSpan ( ) ) { getBatchExecutor ( ) . batch ( deletes ) ; } |
public class SeaGlassSliderUI { /** * Calculates the pad for the label at the specified index .
* @ param index
* index of the label to calculate pad for .
* @ return padding required to keep label visible . */
private int getPadForLabel ( int i ) { } } | Dictionary dictionary = slider . getLabelTable ( ) ; int pad = 0 ; Object o = dictionary . get ( i ) ; if ( o != null ) { Component c = ( Component ) o ; int centerX = xPositionForValue ( i ) ; int cHalfWidth = c . getPreferredSize ( ) . width / 2 ; if ( centerX - cHalfWidth < insetCache . left ) { pad = Math . max ( p... |
public class JBaseScreen { /** * Initialize this class .
* @ param parent Typically , you pass the BaseApplet as the parent .
* @ param record and the record or GridTableModel as the parent . */
public void init ( Object parent , Object record ) { } } | super . init ( parent , record ) ; if ( record instanceof FieldList ) this . addFieldList ( ( FieldList ) record , 0 ) ; else this . addFieldList ( this . buildFieldList ( ) , 0 ) ; if ( this . getFieldList ( ) != null ) { boolean bAddCache = true ; if ( this instanceof JScreen ) bAddCache = false ; this . getBaseApple... |
public class QueryParser { /** * src / riemann / Query . g : 57:1 : lesser : field ( WS ) * LESSER ( WS ) * value ; */
public final QueryParser . lesser_return lesser ( ) throws RecognitionException { } } | QueryParser . lesser_return retval = new QueryParser . lesser_return ( ) ; retval . start = input . LT ( 1 ) ; CommonTree root_0 = null ; Token WS46 = null ; Token LESSER47 = null ; Token WS48 = null ; QueryParser . field_return field45 = null ; QueryParser . value_return value49 = null ; CommonTree WS46_tree = null ; ... |
public class GenericSignatureParser { /** * POST : symbol = the next symbol AFTER the identifier . */
void scanIdentifier ( ) { } } | if ( ! eof ) { StringBuilder identBuf = new StringBuilder ( 32 ) ; if ( ! isStopSymbol ( symbol ) ) { identBuf . append ( symbol ) ; do { char ch = buffer [ pos ] ; if ( ( ch >= 'a' ) && ( ch <= 'z' ) || ( ch >= 'A' ) && ( ch <= 'Z' ) || ! isStopSymbol ( ch ) ) { identBuf . append ( ch ) ; pos ++ ; } else { identifier ... |
public class JavaURLContext { /** * This operation is not supported in the java : read - only namespace .
* @ throws { @ link OperationNotSupportedException } */
@ Override public NamingEnumeration < Binding > listBindings ( String s ) throws NamingException { } } | return listBindings ( newCompositeName ( s ) ) ; |
public class PredictionsImpl { /** * Predict an image url without saving the result .
* @ param projectId The project id
* @ param predictImageUrlWithNoStoreOptionalParameter the object representing the optional parameters to be set before calling this API
* @ throws IllegalArgumentException thrown if parameters ... | return predictImageUrlWithNoStoreWithServiceResponseAsync ( projectId , predictImageUrlWithNoStoreOptionalParameter ) . toBlocking ( ) . single ( ) . body ( ) ; |
public class InputOutput { /** * Prints the given { @ code object } to { @ link System # out System . out } . Useful to log partial expressions to trap
* errors , e . g . the following is possible : < code > 1 + print ( 2 ) + 3 < / code >
* @ param o
* the to - be - printed object
* @ return the printed object ... | System . out . print ( o ) ; return o ; |
public class FunctionInitializer { /** * This method is designed to be called when using the { @ link FunctionInitializer } from a static Application main method .
* @ param args The arguments passed to main
* @ param supplier The function that executes this function
* @ throws IOException If an error occurs */
p... | ApplicationContext applicationContext = this . applicationContext ; this . functionExitHandler = applicationContext . findBean ( FunctionExitHandler . class ) . orElse ( this . functionExitHandler ) ; ParseContext context = new ParseContext ( args ) ; try { Object result = supplier . apply ( context ) ; if ( result != ... |
public class MetricAlarm { /** * The actions to execute when this alarm transitions to the < code > INSUFFICIENT _ DATA < / code > state from any other
* state . Each action is specified as an Amazon Resource Name ( ARN ) .
* @ param insufficientDataActions
* The actions to execute when this alarm transitions to ... | if ( insufficientDataActions == null ) { this . insufficientDataActions = null ; return ; } this . insufficientDataActions = new com . amazonaws . internal . SdkInternalList < String > ( insufficientDataActions ) ; |
public class ProductKDE { /** * Performs the main work for performing a density query .
* @ param x the query vector
* @ param validIndecies the empty set that will be altered to contain the
* indices of vectors that had a non zero contribution to the density
* @ param logProd an empty sparce vector that will b... | if ( originalVecs == null ) throw new UntrainedModelException ( "Model has not yet been created, queries can not be perfomed" ) ; double logH = 0 ; for ( int i = 0 ; i < sortedDimVals . length ; i ++ ) { double [ ] X = sortedDimVals [ i ] ; double h = bandwidth [ i ] ; logH += log ( h ) ; double xi = x . get ( i ) ; //... |
public class TinafwExpectedConditions { /** * An expectation for checking that at least one of the elements matching the locator
* is visible .
* @ param locator used to find the elements
* @ return the first visible WebElement that is found */
public static ExpectedCondition < WebElement > visibilityOfOneOfEleme... | return new ExpectedCondition < WebElement > ( ) { @ Override public WebElement apply ( WebDriver driver ) { for ( WebElement element : driver . findElements ( locator ) ) { if ( element . isDisplayed ( ) ) { return element ; } } return null ; } @ Override public String toString ( ) { return "visibility of one of the el... |
public class BlockingInputStream { /** * Closes the stream . Writes to a closed stream will fail , reads will successfully read the bytes that are already
* in the buffer and then return - 1 ( EOF )
* @ throws IOException */
public void close ( ) throws IOException { } } | lock . lock ( ) ; try { if ( closed ) return ; closed = true ; not_empty . signalAll ( ) ; not_full . signalAll ( ) ; } finally { lock . unlock ( ) ; } |
public class DeactivateCustomFields { /** * Runs the example .
* @ param adManagerServices the services factory .
* @ param session the session .
* @ param customFieldId the ID of the custom field to deactivate .
* @ throws ApiException if the API request failed with one or more service errors .
* @ throws Re... | // Get the CustomFieldService .
CustomFieldServiceInterface customFieldService = adManagerServices . get ( session , CustomFieldServiceInterface . class ) ; // Create a statement to select a custom field .
StatementBuilder statementBuilder = new StatementBuilder ( ) . where ( "WHERE id = :id" ) . orderBy ( "id ASC" ) .... |
public class MarkedSection { /** * Gets the title of this MarkedSection .
* @ returna MarkObject with a Paragraph containing the title of a Section
* @ sinceiText 2.0.8 */
public MarkedObject getTitle ( ) { } } | Paragraph result = Section . constructTitle ( ( Paragraph ) title . element , ( ( Section ) element ) . numbers , ( ( Section ) element ) . numberDepth , ( ( Section ) element ) . numberStyle ) ; MarkedObject mo = new MarkedObject ( result ) ; mo . markupAttributes = title . markupAttributes ; return mo ; |
public class RecordCacheHandler { /** * Cache the target field using the current record . */
public boolean isCached ( ) { } } | try { Record record = this . getOwner ( ) ; Object objKey = record . getHandle ( DBConstants . OBJECT_ID_HANDLE ) ; return ( m_hsCache . contains ( objKey ) ) ; // True if cache value exists
} catch ( DBException ex ) { ex . printStackTrace ( ) ; } return false ; // Never |
public class DataStoreUtil { /** * Make a new storage , to associate the given ids with an object of class
* dataclass .
* @ param ids DBIDs to store data for
* @ param hints Hints for the storage manager
* @ return new data store */
public static WritableIntegerDataStore makeIntegerStorage ( DBIDs ids , int hi... | return DataStoreFactory . FACTORY . makeIntegerStorage ( ids , hints ) ; |
public class Container { /** * Computes the bitwise AND of this container with another ( intersection ) . This container as well
* as the provided container are left unaffected .
* @ param x other container
* @ return aggregated container */
public Container and ( Container x ) { } } | if ( x instanceof ArrayContainer ) { return and ( ( ArrayContainer ) x ) ; } else if ( x instanceof BitmapContainer ) { return and ( ( BitmapContainer ) x ) ; } return and ( ( RunContainer ) x ) ; |
public class NavigationManager { /** * Starts the framework , rendering the { @ link View # defaultView ( ) } to the page .
* @ param rootContainer The body widget of the page . Usually < code > RootLayoutPanel . get ( ) < / code > . */
public static void start ( Panel rootContainer ) { } } | manager . setRootContainer ( rootContainer ) ; History . addValueChangeHandler ( manager ) ; History . fireCurrentHistoryState ( ) ; |
public class Option { /** * Add an icon to the option .
* @ param iconType */
public void setIcon ( final IconType iconType ) { } } | if ( iconType != null ) attrMixin . setAttribute ( ICON , iconType . getCssName ( ) ) ; else attrMixin . removeAttribute ( ICON ) ; |
public class UIComponent { /** * The visit tree method , visit tree walks over a subtree and processes
* the callback object to perform some operation on the subtree
* there are some details in the implementation which according to the spec have
* to be in place :
* a ) before calling the callback and traversin... | try { pushComponentToEL ( context . getFacesContext ( ) , this ) ; if ( ! isVisitable ( context ) ) { return false ; } VisitResult res = context . invokeVisitCallback ( this , callback ) ; switch ( res ) { // we are done nothing has to be processed anymore
case COMPLETE : return true ; case REJECT : return false ; // a... |
public class ArgusHttpClient { /** * / * The actual request call . Factored for test mocking . */
HttpResponse _doHttpRequest ( RequestType requestType , String url , String json ) throws IOException { } } | StringEntity entity = null ; if ( json != null ) { entity = new StringEntity ( json , StandardCharsets . UTF_8 . name ( ) ) ; entity . setContentEncoding ( StandardCharsets . UTF_8 . name ( ) ) ; entity . setContentType ( ContentType . APPLICATION_JSON . getMimeType ( ) ) ; } switch ( requestType ) { case POST : HttpPo... |
public class AbstractItem { /** * Use this method to persist the redelivered count for the item .
* @ param redeliveredCount
* @ throws SevereMessageStoreException */
public void persistRedeliveredCount ( int redeliveredCount ) throws SevereMessageStoreException { } } | Membership thisItemLink = _getMembership ( ) ; if ( null == thisItemLink ) { throw new NotInMessageStore ( ) ; } thisItemLink . persistRedeliveredCount ( redeliveredCount ) ; |
public class GosuClassParser { public void parseDefinitions ( IGosuClass gsCls ) { } } | IGosuClassInternal gsClass = ( IGosuClassInternal ) gsCls ; getTokenizer ( ) . pushOffsetMarker ( this ) ; boolean bPushedScope = pushScopeIfNeeded ( gsClass ) ; gsClass . setCompilingDefinitions ( true ) ; GosuClassParseInfo parseInfo = gsClass . getParseInfo ( ) ; ClassStatement classStmt = parseInfo . getClassStatem... |
public class CmsShowResourceTable { /** * Get principal from id . < p >
* @ param cms CmsObject
* @ param type user or group
* @ param id id of principal
* @ return Principal
* @ throws CmsException exception */
private CmsPrincipal getPrincipal ( CmsObject cms , DialogType type , CmsUUID id ) throws CmsExcep... | if ( type . equals ( DialogType . Group ) ) { return cms . readGroup ( id ) ; } if ( type . equals ( DialogType . User ) ) { return cms . readUser ( id ) ; } return null ; |
public class AddResourcesListener { /** * Look whether a b : iconAwesome component is used . If so , the font - awesome . css
* is removed from the resource list because it ' s loaded from the CDN .
* @ return true , if the font - awesome . css is found in the resource list . Note the
* side effect of this method... | FacesContext fc = FacesContext . getCurrentInstance ( ) ; UIViewRoot viewRoot = fc . getViewRoot ( ) ; ListIterator < UIComponent > resourceIterator = ( viewRoot . getComponentResources ( fc , "head" ) ) . listIterator ( ) ; UIComponent fontAwesomeResource = null ; while ( resourceIterator . hasNext ( ) ) { UIComponent... |
public class Schema { /** * remove the given global unique index
* @ param index the index to remove
* @ param preserveData should we keep the sql data ? */
void removeGlobalUniqueIndex ( GlobalUniqueIndex index , boolean preserveData ) { } } | getTopology ( ) . lock ( ) ; String fn = index . getName ( ) ; if ( ! uncommittedRemovedGlobalUniqueIndexes . contains ( fn ) ) { uncommittedRemovedGlobalUniqueIndexes . add ( fn ) ; TopologyManager . removeGlobalUniqueIndex ( sqlgGraph , fn ) ; if ( ! preserveData ) { getVertexLabel ( index . getName ( ) ) . ifPresent... |
public class FileCopyProgressPanel { /** * Set the number of the current byte transferred . If called outside the EDT
* this method will switch to the UI thread using
* < code > SwingUtilities . invokeLater ( Runnable ) < / code > .
* @ param n
* The N value in " N of M " . */
public final void setCurrentByte (... | if ( SwingUtilities . isEventDispatchThread ( ) ) { setCurrentByteIntern ( n ) ; } else { try { SwingUtilities . invokeLater ( new Runnable ( ) { public void run ( ) { setCurrentByteIntern ( n ) ; } } ) ; } catch ( final Exception ex ) { ignore ( ) ; } } |
public class FormatConversionBase { /** * Appends { @ code csq } to { @ code a } , right - justified .
* @ param a
* @ param csq
* @ param pad padding character
* @ param width minimum of characters that will be written
* @ throws IOException */
protected static void justifyRight ( Appendable a , CharSequence... | final int padLen = width - csq . length ( ) ; for ( int i = 0 ; i < padLen ; i ++ ) a . append ( pad ) ; a . append ( csq ) ; |
public class Tags { /** * Extracts the value ID of the given tag UD name from the given row key .
* @ param tsdb The TSDB instance to use for UniqueId lookups .
* @ param row The row key in which to search the tag name .
* @ param tag _ id The name of the tag to search in the row key .
* @ return The value ID a... | final short name_width = tsdb . tag_names . width ( ) ; final short value_width = tsdb . tag_values . width ( ) ; // TODO ( tsuna ) : Can do a binary search .
for ( short pos = ( short ) ( Const . SALT_WIDTH ( ) + tsdb . metrics . width ( ) + Const . TIMESTAMP_BYTES ) ; pos < row . length ; pos += name_width + value_wi... |
public class Scoreds { /** * Easy way to pass a { @ link Predicate } through to the score of a < code > Scored < T > < / code > .
* @ param pred The < code > Predicate < / code > to apply to the score
* @ return A < code > Predicate < / code > on < code > Scored < X > s < / code > which applies the supplied
* pre... | return new Predicate < Scored < X > > ( ) { @ Override public boolean apply ( final Scored < X > x ) { return pred . apply ( x . score ( ) ) ; } } ; |
public class SecurityRulesInner { /** * Creates or updates a security rule in the specified network security group .
* @ param resourceGroupName The name of the resource group .
* @ param networkSecurityGroupName The name of the network security group .
* @ param securityRuleName The name of the security rule .
... | return ServiceFuture . fromResponse ( beginCreateOrUpdateWithServiceResponseAsync ( resourceGroupName , networkSecurityGroupName , securityRuleName , securityRuleParameters ) , serviceCallback ) ; |
public class LuceneSerializer { /** * template method
* @ param leftHandSide
* left hand side
* @ param rightHandSide
* right hand side
* @ return results */
protected String [ ] convert ( Path < ? > leftHandSide , Expression < ? > rightHandSide , QueryMetadata metadata ) { } } | if ( rightHandSide instanceof Operation ) { Operation < ? > operation = ( Operation < ? > ) rightHandSide ; if ( operation . getOperator ( ) == LuceneOps . PHRASE ) { return Iterables . toArray ( WS_SPLITTER . split ( operation . getArg ( 0 ) . toString ( ) ) , String . class ) ; } else if ( operation . getOperator ( )... |
public class HeaderElement { /** * Query the raw bytes value . If the storage is based on a larger value where
* the actual header value is a subset of the array , then the caller should
* be checking the getOffset ( ) and getValueLength ( ) methods to know how much
* of this returned array to use .
* @ return ... | if ( null == this . bValue ) { if ( null != this . sValue ) { this . bValue = GenericUtils . getEnglishBytes ( this . sValue ) ; } else { // try to extract from the parse buffers
if ( ! extractInitialValue ( ) ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) { Tr . debug ( tc , "no byte[] ... |
public class JobsMonitor { /** * { @ inheritDoc } */
@ Override public void jobWasExecuted ( JobExecutionContext context , JobExecutionException jobException ) { } } | final String message ; final String stacktrace ; if ( jobException == null ) { message = null ; stacktrace = null ; } else { message = jobException . getMessage ( ) ; StringWriter stackTraceWriter = new StringWriter ( 200 ) ; jobException . printStackTrace ( new PrintWriter ( stackTraceWriter ) ) ; stacktrace = stackTr... |
public class JavascriptEngine { /** * Launch eval function on the argument given in parameter
* @ param arg
* the argument
* @ return the evaluated object */
public Object execEval ( String arg ) { } } | try { return scriptEngine . eval ( "eval(" + arg + ")" ) ; } catch ( ScriptException e ) { throw new BundlingProcessException ( "Error while evaluating a script" , e ) ; } |
public class MutableByte { /** * Set with the specified new value and returns < code > true < / code > if < code > predicate < / code > returns true .
* Otherwise just return < code > false < / code > without setting the value to new value .
* @ param newValue
* @ param predicate - test the current value .
* @ ... | if ( predicate . test ( this . value ) ) { this . value = newValue ; return true ; } return false ; |
public class Options { /** * Returns an immutable set of open options for opening a new file channel . */
public static ImmutableSet < OpenOption > getOptionsForChannel ( Set < ? extends OpenOption > options ) { } } | if ( options . isEmpty ( ) ) { return DEFAULT_READ ; } boolean append = options . contains ( APPEND ) ; boolean write = append || options . contains ( WRITE ) ; boolean read = ! write || options . contains ( READ ) ; if ( read ) { if ( append ) { throw new UnsupportedOperationException ( "'READ' + 'APPEND' not allowed"... |
public class AggregateOperationFactory { /** * Converts an API class to a resolved window for planning with expressions already resolved .
* It performs following validations :
* < ul >
* < li > The alias is represented with an unresolved reference < / li >
* < li > The time attribute is a single field referenc... | Expression alias = window . getAlias ( ) ; if ( ! ( alias instanceof UnresolvedReferenceExpression ) ) { throw new ValidationException ( "Only unresolved reference supported for alias of a group window." ) ; } final String windowName = ( ( UnresolvedReferenceExpression ) alias ) . getName ( ) ; FieldReferenceExpression... |
public class UrlStringUtils { /** * Takes a URL , in String format , and adds the important parts of the URL to
* a list of strings . < / p >
* Example , given the following input : < / p >
* < code > " https : / / www . somedomain . com / path1 / path2 / file . php ? id = 439 " < / code >
* The function would ... | final List < String > importantParts = new ArrayList < > ( ) ; final URL url = new URL ( text ) ; final String [ ] domain = url . getHost ( ) . split ( "\\." ) ; // add the domain except www and the tld .
for ( int i = 0 ; i < domain . length - 1 ; i ++ ) { final String sub = domain [ i ] ; if ( Arrays . binarySearch (... |
public class RepositoryBackupChainImpl { /** * { @ inheritDoc } */
public int getState ( ) { } } | if ( state != FINISHED ) { if ( LOG . isDebugEnabled ( ) ) { for ( BackupChain bc : workspaceBackups ) { LOG . debug ( repositoryBackupId + " : " + getState ( bc . getFullBackupState ( ) ) ) ; } } int fullBackupsState = - 1 ; int incrementalBackupsState = - 1 ; for ( BackupChain bc : workspaceBackups ) { fullBackupsSta... |
public class AbstractWComponent { /** * Collates all the visible components in this branch of the WComponent tree . WComponents are added to the
* < code > list < / code > in depth - first order , as this list is traversed in order during the request handling phase .
* @ param component the current branch to collat... | if ( component . isVisible ( ) ) { if ( component instanceof Container ) { final int size = ( ( Container ) component ) . getChildCount ( ) ; for ( int i = 0 ; i < size ; i ++ ) { collateVisible ( ( ( Container ) component ) . getChildAt ( i ) , list ) ; } } list . add ( component ) ; } |
public class BitfinexFundingSymbol { /** * Build from bitfinex string
* @ param symbol
* @ return */
public static BitfinexFundingSymbol fromBitfinexString ( final String symbol ) { } } | final BitfinexFundingCurrency bitfinexCurrency = BitfinexFundingCurrency . fromSymbolString ( symbol ) ; return BitfinexSymbols . funding ( bitfinexCurrency ) ; |
public class ReComputeFieldHandler { /** * The Field has Changed .
* Get the value of this listener ' s owner , pass it to the computeValue method and
* set the returned value to the target field .
* @ param bDisplayOption If true , display the change .
* @ param iMoveMode The type of move being done ( init / r... | double srcValue = ( ( NumberField ) this . getOwner ( ) ) . getValue ( ) ; BaseField fldTarget = this . getFieldTarget ( ) ; if ( this . getOwner ( ) . isNull ( ) ) // If null , set the target to null
return fldTarget . moveFieldToThis ( this . getOwner ( ) , bDisplayOption , iMoveMode ) ; // zero out the field
boolean... |
public class HttpTransportFactory { /** * Create an { @ link ApacheHttpTransport } for calling Google APIs with an optional HTTP proxy .
* @ param proxyUri Optional HTTP proxy URI to use with the transport .
* @ param proxyCredentials Optional HTTP proxy credentials to authenticate with the transport
* proxy .
... | checkArgument ( proxyUri != null || proxyCredentials == null , "if proxyUri is null than proxyCredentials should be null too" ) ; ApacheHttpTransport transport = new ApacheHttpTransport . Builder ( ) . trustCertificates ( GoogleUtils . getCertificateTrustStore ( ) ) . setProxy ( proxyUri == null ? null : new HttpHost (... |
public class TableFactory14 { /** * Adds columns to a Table instance .
* @ param file parent project file
* @ param table parent table instance
* @ param data column data */
private void processColumnData ( ProjectFile file , Table table , byte [ ] data ) { } } | // System . out . println ( " Table = " + table ) ;
// System . out . println ( ByteArrayHelper . hexdump ( data , 12 , data . length - 12 , true , 115 , " " ) ) ;
if ( data != null ) { int columnCount = MPPUtility . getShort ( data , 4 ) + 1 ; int index = 12 ; Column column ; int alignment ; for ( int loop = 0 ; loop ... |
public class AggregatePlanNode { /** * single min ( ) without GROUP BY ? */
public boolean isTableMin ( ) { } } | // do not support GROUP BY for now
if ( m_groupByExpressions . isEmpty ( ) == false ) { return false ; } if ( m_aggregateTypes . size ( ) != 1 ) { return false ; } if ( m_aggregateTypes . get ( 0 ) . equals ( ExpressionType . AGGREGATE_MIN ) == false ) { return false ; } return true ; |
public class MetadataDocumentEnumTypeWriter { /** * Write an { @ code < EnumType > } element for the given { @ code EnumType } .
* @ param type The given complex type . It can not be { @ code null } .
* @ throws javax . xml . stream . XMLStreamException If unable to write to strem */
public void write ( EnumType ty... | LOG . debug ( "Writing type {} of type {}" , type . getName ( ) , type . getMetaType ( ) ) ; xmlWriter . writeStartElement ( ENUM_TYPE ) ; xmlWriter . writeAttribute ( NAME , type . getName ( ) ) ; for ( EnumMember member : type . getMembers ( ) ) { xmlWriter . writeStartElement ( ENUM_MEMBER ) ; xmlWriter . writeAttri... |
public class ConfusingAutoboxedOverloading { /** * returns whether a method signature has either a Character or primitive
* @ param sig
* the method signature
* @ return whether a method signature has either a Character or primitive */
private static boolean isPossiblyConfusingSignature ( String sig ) { } } | List < String > types = SignatureUtils . getParameterSignatures ( sig ) ; for ( String typeSig : types ) { if ( primitiveSigs . contains ( typeSig ) || SignatureUtils . classToSignature ( Values . SLASHED_JAVA_LANG_CHARACTER ) . equals ( typeSig ) ) { return true ; } } return false ; |
public class BeanDescriptor { /** * Gets the getter for a property as a Method object .
* @ param name the name of the property
* @ return the getter Method
* @ throws NoSuchMethodException when a getter method cannot be found */
public Method getGetter ( String name ) throws NoSuchMethodException { } } | Method method = getterMethods . get ( name ) ; if ( method == null ) { throw new NoSuchMethodException ( "There is no READABLE property named '" + name + "' in class '" + className + "'" ) ; } return method ; |
public class LoggerCache { /** * Get the logger to be used for the given class .
* @ param clazz - The class for which the logger needs to be returned
* @ return - The log4j logger object */
public Logger getOrCreateLogger ( String clazz ) { } } | Logger logger = appenderLoggerMap . get ( clazz ) ; if ( logger == null ) { // If multiple threads do the puts , that is fine as it is a one time thing
logger = Logger . getLogger ( clazz ) ; appenderLoggerMap . put ( clazz , logger ) ; } return logger ; |
public class UserServiceImpl { /** * { @ inheritDoc } */
@ PreAuthorize ( "hasRole('ADMIN')" ) @ Override public final List < SecurityUser > findAll ( ) throws AccessDeniedException { } } | final List < SecurityUser > result = new ArrayList < > ( ) ; for ( final SecurityUser user : users ) { result . add ( user ) ; } return result ; |
public class JGridScreen { /** * Is this control a focus target ? */
public boolean isFocusTarget ( int col ) { } } | if ( this . getGridModel ( ) != null ) if ( this . getGridModel ( ) . getColumnClass ( col ) == String . class ) return true ; return false ; |
public class SymbolTable { /** * Helper for addSymbolsFrom , to determine whether a reference is acceptable . A reference must be
* in the normal source tree . */
private boolean isGoodRefToAdd ( @ Nullable StaticRef ref ) { } } | return ref != null && ref . getNode ( ) != null && ref . getNode ( ) . getStaticSourceFile ( ) != null && ! Compiler . SYNTHETIC_EXTERNS . equals ( ref . getNode ( ) . getStaticSourceFile ( ) . getName ( ) ) ; |
public class EmptyStringIllegalValidator { /** * ( non - Javadoc )
* @ see
* com . fs . commons . desktop . validation . Validator # validate ( com . fs . commons . desktop .
* validation . Problems , java . lang . String , java . lang . Object ) */
@ Override public boolean validate ( final Problems problems , f... | final boolean result = model != null && model . toString ( ) . length ( ) > 0 ; if ( ! result ) { final String message = ValidationBundle . getMessage ( EmptyStringIllegalValidator . class , "MSG_MAY_NOT_BE_EMPTY" , compName ) ; // NOI18N
problems . add ( message ) ; } return result ; |
public class OsLoginServiceClient { /** * Deletes an SSH public key .
* < p > Sample code :
* < pre > < code >
* try ( OsLoginServiceClient osLoginServiceClient = OsLoginServiceClient . create ( ) ) {
* FingerprintName name = FingerprintName . of ( " [ USER ] " , " [ FINGERPRINT ] " ) ;
* osLoginServiceClient... | DeleteSshPublicKeyRequest request = DeleteSshPublicKeyRequest . newBuilder ( ) . setName ( name == null ? null : name . toString ( ) ) . build ( ) ; deleteSshPublicKey ( request ) ; |
public class JKNumbersUtil { /** * Sub amounts .
* @ param n1 the n 1
* @ param n2 the n 2
* @ return the double */
public static double subAmounts ( final double n1 , final double n2 ) { } } | final BigDecimal b1 = new BigDecimal ( n1 ) ; final BigDecimal b2 = new BigDecimal ( n2 ) ; BigDecimal b3 = b1 . subtract ( b2 ) ; b3 = b3 . setScale ( 3 , BigDecimal . ROUND_HALF_UP ) ; final double result = b3 . doubleValue ( ) ; return result ; |
public class BytecodeHelper { /** * array types are special :
* eg . : String [ ] : classname : [ Ljava / lang / String ;
* int [ ] : [ I
* @ return the ASM type description */
private static String getTypeDescription ( ClassNode c , boolean end ) { } } | ClassNode d = c ; if ( ClassHelper . isPrimitiveType ( d . redirect ( ) ) ) { d = d . redirect ( ) ; } String desc = TypeUtil . getDescriptionByType ( d ) ; if ( ! end && desc . endsWith ( ";" ) ) { desc = desc . substring ( 0 , desc . length ( ) - 1 ) ; } return desc ; |
public class WorkflowExecutionTerminatedEventAttributesMarshaller { /** * Marshall the given parameter object . */
public void marshall ( WorkflowExecutionTerminatedEventAttributes workflowExecutionTerminatedEventAttributes , ProtocolMarshaller protocolMarshaller ) { } } | if ( workflowExecutionTerminatedEventAttributes == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( workflowExecutionTerminatedEventAttributes . getReason ( ) , REASON_BINDING ) ; protocolMarshaller . marshall ( workflowExecutionTerminatedEve... |
public class NamespaceDto { /** * Converts list of alert entity objects to list of alertDto objects .
* @ param namespaces users alerts List of alert entities . Cannot be null .
* @ return List of alertDto objects .
* @ throws WebApplicationException If an error occurs . */
public static List < NamespaceDto > tra... | if ( namespaces == null ) { throw new WebApplicationException ( "Null entity object cannot be converted to Dto object." , Status . INTERNAL_SERVER_ERROR ) ; } List < NamespaceDto > result = new ArrayList < > ( ) ; for ( Namespace namespace : namespaces ) { result . add ( transformToDto ( namespace ) ) ; } return result... |
public class AgentRoster { /** * Fires event to listeners . */
private void fireEvent ( int eventType , Object eventObject ) { } } | AgentRosterListener [ ] listeners ; synchronized ( this . listeners ) { listeners = new AgentRosterListener [ this . listeners . size ( ) ] ; this . listeners . toArray ( listeners ) ; } for ( int i = 0 ; i < listeners . length ; i ++ ) { switch ( eventType ) { case EVENT_AGENT_ADDED : listeners [ i ] . agentAdded ( ( ... |
public class DateUtils { /** * < p > Returns the number of minutes within the
* fragment . All datefields greater than the fragment will be ignored . < / p >
* < p > Asking the minutes of any date will only return the number of minutes
* of the current hour ( resulting in a number between 0 and 59 ) . This
* me... | return getFragment ( date , fragment , TimeUnit . MINUTES ) ; |
public class DnDManager { /** * Reset dnd to a starting state . */
protected void reset ( ) { } } | _scrollTimer . stop ( ) ; _source = null ; _sourceComp = null ; _lastComp = null ; _lastTarget = null ; _data [ 0 ] = null ; _cursors [ 0 ] = null ; _cursors [ 1 ] = null ; _topComp = null ; _topCursor = null ; _curCursor = null ; _scrollComp = null ; _scrollDim = null ; _scrollPoint = null ; |
public class CodeChunk { /** * Temporary method to ease migration to the CodeChunk DSL .
* < p > Because of the recursive nature of the JS codegen system , it is generally not possible to
* convert one codegen method at a time to use the CodeChunk DSL . However , the business logic
* inside those methods can be m... | Expression expression = ( Expression ) this ; if ( ! expression . isRepresentableAsSingleExpression ( ) ) { throw new IllegalStateException ( String . format ( "Not an expr:\n%s" , this . getCode ( ) ) ) ; } collectRequires ( collector ) ; return expression . singleExprOrName ( ) ; |
public class MessageUtil { /** * A convenience method for calling { @ link # compose ( String , Object [ ] ) } with an array of
* arguments that will be automatically tainted ( see { @ link # taint } ) . */
public static String tcompose ( String key , Object ... args ) { } } | int acount = args . length ; String [ ] targs = new String [ acount ] ; for ( int ii = 0 ; ii < acount ; ii ++ ) { targs [ ii ] = taint ( args [ ii ] ) ; } return compose ( key , ( Object [ ] ) targs ) ; |
public class OModificationLock { /** * Tells the lock that thread is going to perform data modifications in storage . This method allows to perform several data
* modifications in parallel . */
public void requestModificationLock ( ) { } } | lock . readLock ( ) . lock ( ) ; if ( ! veto ) return ; if ( throwException ) { lock . readLock ( ) . unlock ( ) ; throw new OModificationOperationProhibitedException ( "Modification requests are prohibited" ) ; } boolean wasInterrupted = false ; Thread thread = Thread . currentThread ( ) ; waiters . add ( thread ) ; w... |
public class PolicyAssignmentsInner { /** * Creates a policy assignment by ID .
* Policy assignments are inherited by child resources . For example , when you apply a policy to a resource group that policy is assigned to all resources in the group . When providing a scope for the assigment , use ' / subscriptions / {... | return createByIdWithServiceResponseAsync ( policyAssignmentId , parameters ) . toBlocking ( ) . single ( ) . body ( ) ; |
public class NodeImpl { /** * create bean node .
* @ param parent parent node
* @ return new node implementation */
public static NodeImpl createBeanNode ( final NodeImpl parent ) { } } | return new NodeImpl ( null , parent , false , null , null , ElementKind . BEAN , EMPTY_CLASS_ARRAY , null , null , null , null ) ; |
public class BatchDeletePhoneNumberRequest { /** * List of phone number IDs .
* @ param phoneNumberIds
* List of phone number IDs . */
public void setPhoneNumberIds ( java . util . Collection < String > phoneNumberIds ) { } } | if ( phoneNumberIds == null ) { this . phoneNumberIds = null ; return ; } this . phoneNumberIds = new java . util . ArrayList < String > ( phoneNumberIds ) ; |
public class CmsSetupDb { /** * Creates and executes a database statement from a String returning the result set . < p >
* @ param query the query to execute
* @ param replacer the replacements to perform in the script
* @ param params the list of parameters for the statement
* @ return the result set of the qu... | CmsSetupDBWrapper dbwrapper = new CmsSetupDBWrapper ( m_con ) ; String queryToExecute = query ; // Check if a map of replacements is given
if ( replacer != null ) { queryToExecute = replaceTokens ( query , replacer ) ; } dbwrapper . createPreparedStatement ( queryToExecute , params ) ; dbwrapper . excecutePreparedQuery... |
public class FsCrawlerUtil { /** * Unzip a jar file
* @ param jarFile Jar file url like file : / path / to / foo . jar
* @ param destination Directory where we want to extract the content to
* @ throws IOException In case of any IO problem */
public static void unzip ( String jarFile , Path destination ) throws I... | Map < String , String > zipProperties = new HashMap < > ( ) ; /* We want to read an existing ZIP File , so we set this to false */
zipProperties . put ( "create" , "false" ) ; zipProperties . put ( "encoding" , "UTF-8" ) ; URI zipFile = URI . create ( "jar:" + jarFile ) ; try ( FileSystem zipfs = FileSystems . newFileS... |
public class Converter { /** * convertDateString */
private static void convertDateValue ( String str ) { } } | try { display ( "Millis to date: " + Utils . formatDateUTC ( new Date ( Long . parseLong ( str ) ) ) ) ; } catch ( Exception e ) { } |
public class AfplibPackageImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
public EClass getObjectClassification ( ) { } } | if ( objectClassificationEClass == null ) { objectClassificationEClass = ( EClass ) EPackage . Registry . INSTANCE . getEPackage ( AfplibPackage . eNS_URI ) . getEClassifiers ( ) . get ( 366 ) ; } return objectClassificationEClass ; |
public class SpatialiteWKBReader { /** * Reads a single { @ link Geometry } in WKB format from a byte array .
* @ param bytes the byte array to read from
* @ return the geometry read
* @ throws ParseException if the WKB is ill - formed */
public Geometry read ( byte [ ] bytes ) throws ParseException { } } | // possibly reuse the ByteArrayInStream ?
// don ' t throw IOExceptions , since we are not doing any I / O
try { return read ( new ByteArrayInStream ( bytes ) ) ; } catch ( IOException ex ) { throw new RuntimeException ( "Unexpected IOException caught: " + ex . getMessage ( ) ) ; } |
public class DataTree { /** * update the quota for the given path
* @ param path
* the path to be used */
private void updateQuotaForPath ( String path ) { } } | Counts c = new Counts ( ) ; getCounts ( path , c ) ; StatsTrack strack = new StatsTrack ( ) ; strack . setBytes ( c . bytes ) ; strack . setCount ( c . count ) ; String statPath = Quotas . quotaZookeeper + path + "/" + Quotas . statNode ; DataNode node = getNode ( statPath ) ; // it should exist
if ( node == null ) { L... |
public class SDMath { /** * Returns an output variable with diagonal values equal to the specified values ; off - diagonal values will be set to 0 < br >
* For example , if input = [ 1,2,3 ] , then output is given by : < br >
* [ 1 , 0 , 0 ] < br >
* [ 0 , 2 , 0 ] < br >
* [ 0 , 0 , 3 ] < br >
* < br >
* Hi... | SDVariable ret = f ( ) . diag ( x ) ; return updateVariableNameAndReference ( ret , name ) ; |
public class AbstractExternalHighlightingFragment2 { /** * Replies the basename of the XML file to generate .
* @ param defaultName the name to reply if the basename was not set .
* @ return the basename . */
@ Pure public String getBasename ( String defaultName ) { } } | if ( Strings . isEmpty ( this . basename ) ) { return defaultName ; } return this . basename ; |
public class BitVector { /** * length guaranteed to be non - zero */
private void setBitsImpl ( int position , long value , int length ) { } } | int i = position >> ADDRESS_BITS ; int s = position & ADDRESS_MASK ; long m = length == ADDRESS_SIZE ? - 1L : ( 1L << length ) - 1L ; long v = value & m ; performAdjSet ( length , i , s , m , v ) ; |
public class EqualsBean { /** * Indicates whether some other object is " equal to " the object passed in the constructor , as
* defined by the Object equals ( ) method .
* To be used by classes using EqualsBean in a delegation pattern ,
* @ param obj1 The reference object with which to compare .
* @ param obj2 ... | boolean eq ; if ( obj1 == null && obj2 == null ) { // both are null
eq = true ; } else if ( obj1 == null || obj2 == null ) { // one of the objects is null
eq = false ; } else if ( ! beanClass . isInstance ( obj2 ) ) { // not of the same type
eq = false ; } else { eq = true ; try { final List < PropertyDescriptor > prop... |
public class TypeLord { /** * Todo : the above method is nearly identical to this one . lets see about combining them */
public static IType findParameterizedTypeInHierarchy ( IType sourceType , IType rawGenericType ) { } } | if ( sourceType == null ) { return null ; } if ( sourceType . isParameterizedType ( ) && sourceType . getGenericType ( ) . equals ( rawGenericType ) ) { return sourceType ; } IType [ ] list = sourceType . getInterfaces ( ) ; for ( int i = 0 ; i < list . length ; i ++ ) { IType returnType = findParameterizedTypeInHierar... |
public class BigIntStringChecksum { /** * / * private */
static String computeMd5ChecksumLimit6 ( String inAsHex2 ) { } } | byte [ ] bytes = computeMd5ChecksumFull ( inAsHex2 ) ; String md5checksum = bytesToHexString ( bytes [ 2 ] , bytes [ 1 ] , bytes [ 0 ] ) ; return md5checksum ; |
public class ApiKeyFilter { /** * Adds the API key to the client request .
* @ param request The client request */
public void filter ( ClientRequestContext request ) throws IOException { } } | if ( ! request . getHeaders ( ) . containsKey ( "X-Api-Key" ) ) request . getHeaders ( ) . add ( "X-Api-Key" , this . apikey ) ; |
public class ClassUtil { /** * Returns the list of all classes within a package .
* @ param packageNames
* @ return a collection of classes */
public static Collection < Class < ? > > getClasses ( String ... packageNames ) { } } | List < Class < ? > > classes = new ArrayList < > ( ) ; for ( String packageName : packageNames ) { final String packagePath = packageName . replace ( '.' , '/' ) ; final String packagePrefix = packageName + '.' ; List < URL > packageUrls = getResources ( packagePath ) ; for ( URL packageUrl : packageUrls ) { if ( packa... |
public class WingsDbHelper { /** * Checks out a list of { @ link ShareRequest } that need to be processed , filtered by destination . The list is sorted
* by time of creation , from the earliest to most recent . This method internally changes the checked out records to
* a processing state , so a call to { @ link #... | List < ShareRequest > shareRequests = new ArrayList < ShareRequest > ( ) ; SQLiteDatabase db = null ; Cursor cursor = null ; try { db = getWritableDatabase ( ) ; // Get all records for the requested destination in the pending state .
cursor = db . query ( ShareRequestTable . NAME , new String [ ] { ShareRequestTable . ... |
public class LinkUtil { /** * Makes a URL already built external ; the url should be built by the ' getUrl ' method .
* @ param request the request as the externalization context
* @ param url the url value ( the local URL )
* @ return */
public static String getAbsoluteUrl ( SlingHttpServletRequest request , Str... | if ( ! isExternalUrl ( url ) && url . startsWith ( "/" ) ) { String scheme = request . getScheme ( ) . toLowerCase ( ) ; url = scheme + "://" + getAuthority ( request ) + url ; } return url ; |
public class Ifc2x3tc1PackageImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
public EEnum getIfcElectricHeaterTypeEnum ( ) { } } | if ( ifcElectricHeaterTypeEnumEEnum == null ) { ifcElectricHeaterTypeEnumEEnum = ( EEnum ) EPackage . Registry . INSTANCE . getEPackage ( Ifc2x3tc1Package . eNS_URI ) . getEClassifiers ( ) . get ( 827 ) ; } return ifcElectricHeaterTypeEnumEEnum ; |
public class ReflectionUtil { /** * Retrieves all the fields contained in the given object and its superclasses .
* @ param obj the object to examine
* @ param excludeStatic if true , static fields will be omitted
* @ param excludeTransient if true , transient fields will be omitted
* @ return a list of fields ... | List fieldList = new ArrayList ( ) ; for ( Class clazz = obj . getClass ( ) ; clazz != null ; clazz = clazz . getSuperclass ( ) ) { Field [ ] declaredFields = clazz . getDeclaredFields ( ) ; for ( int i = 0 ; i < declaredFields . length ; i ++ ) { int mods = declaredFields [ i ] . getModifiers ( ) ; if ( ( ! excludeSta... |
public class HBaseGridScreen { /** * display this screen in html input format .
* @ return The HTML options .
* @ exception DBException File exception . */
public int getPrintOptions ( ) throws DBException { } } | int iHtmlOptions = HtmlConstants . HTML_DISPLAY ; if ( ( ( BaseGridScreen ) this . getScreenField ( ) ) . getEditing ( ) ) iHtmlOptions |= HtmlConstants . HTML_INPUT ; String strParamForm = this . getProperty ( HtmlConstants . FORMS ) ; // Display record
if ( ( strParamForm == null ) || ( strParamForm . length ( ) == 0... |
public class ResourceAddressFactory { /** * Creates a new resource address for the given location and options
* @ param options cannot be null , otherwise NullPointerException is thrown
* @ return resource address */
public ResourceAddress newResourceAddress ( String location , ResourceOptions options ) { } } | return newResourceAddress ( location , options , null /* qualifier */
) ; |
public class BackedHashMap { /** * Method used to keep track of ids that have been recently invalidated . If the checkRecentlyInvalidList
* property is set and we know that it has been recently invalidated , we will not query the backend for
* this session . */
protected void addToRecentlyInvalidatedList ( String i... | if ( ! _smc . getCheckRecentlyInvalidList ( ) ) return ; if ( com . ibm . websphere . ras . TraceComponent . isAnyTracingEnabled ( ) && LoggingUtil . SESSION_LOGGER_WAS . isLoggable ( Level . FINE ) ) { LoggingUtil . SESSION_LOGGER_WAS . logp ( Level . FINE , methodClassName , "addToRecentlyInvalidatedList" , "Adding t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.