signature stringlengths 43 39.1k | implementation stringlengths 0 450k |
|---|---|
public class PanButton { /** * Paint this pan button ! */
public void accept ( PainterVisitor visitor , Object group , Bbox bounds , boolean recursive ) { } } | // First place the image at the correct location :
image . setBounds ( new Bbox ( getUpperLeftCorner ( ) . getX ( ) , getUpperLeftCorner ( ) . getY ( ) , getWidth ( ) , getHeight ( ) ) ) ; // Then draw :
if ( parent != null ) { map . getVectorContext ( ) . drawImage ( parent , getId ( ) , image . getHref ( ) , image . ... |
public class CacheMapUtil { /** * retrival the cached map
* @ param cacheConfigBean the datasource configuration of the cache
* @ param key the key
* @ param kClazz the key ' s class
* @ param vClazz the values ' s class
* @ param < K > the generic type of the key
* @ param < V > the generic type of the val... | return SingleRxXian . call ( CacheService . CACHE_SERVICE , "cacheMapGetAll" , new JSONObject ( ) { { put ( "cacheConfig" , cacheConfigBean ) ; put ( "key" , key ) ; } } ) . flatMapMaybe ( unitResponse -> { unitResponse . throwExceptionIfNotSuccess ( ) ; if ( unitResponse . getData ( ) == null ) return Maybe . empty ( ... |
public class TaskRuntime { /** * Run the task : Fire TaskStart , call Task . call ( ) , fire TaskStop . */
@ Override public void run ( ) { } } | try { // Change state and inform the Driver
this . taskLifeCycleHandlers . beforeTaskStart ( ) ; LOG . log ( Level . FINEST , "Informing registered EventHandler<TaskStart>." ) ; this . currentStatus . setRunning ( ) ; // Call Task . call ( )
final byte [ ] result = this . runTask ( ) ; // Inform the Driver about it
thi... |
public class BasicRecordStoreLoader { /** * Loads the values for the provided keys in batches and invokes
* partition operations to put the loaded entry batches into the
* record store .
* @ param keys the keys for which entries are loaded and put into the
* record store
* @ return the list of futures represe... | Queue < List < Data > > batchChunks = createBatchChunks ( keys ) ; int size = batchChunks . size ( ) ; List < Future > futures = new ArrayList < > ( size ) ; while ( ! batchChunks . isEmpty ( ) ) { List < Data > chunk = batchChunks . poll ( ) ; List < Data > keyValueSequence = loadAndGet ( chunk ) ; if ( keyValueSequen... |
public class PeerAwareInstanceRegistryImpl { /** * Replicates all instance changes to peer eureka nodes except for
* replication traffic to this node . */
private void replicateInstanceActionsToPeers ( Action action , String appName , String id , InstanceInfo info , InstanceStatus newStatus , PeerEurekaNode node ) { ... | try { InstanceInfo infoFromRegistry = null ; CurrentRequestVersion . set ( Version . V2 ) ; switch ( action ) { case Cancel : node . cancel ( appName , id ) ; break ; case Heartbeat : InstanceStatus overriddenStatus = overriddenInstanceStatusMap . get ( id ) ; infoFromRegistry = getInstanceByAppAndId ( appName , id , f... |
public class AbstractStoreResource { /** * The output stream is written with the content of the file . From method { @ link # read ( ) } the input stream is used
* and copied into the output stream .
* @ param _ out output stream where the file content must be written
* @ throws EFapsException if an error occurs ... | StoreResourceInputStream in = null ; try { in = ( StoreResourceInputStream ) read ( ) ; if ( in != null ) { int length = 1 ; while ( length > 0 ) { length = in . read ( this . buffer ) ; if ( length > 0 ) { _out . write ( this . buffer , 0 , length ) ; } } } } catch ( final IOException e ) { throw new EFapsException ( ... |
public class ApiOvhLicenseoffice { /** * Get this object properties
* REST : GET / license / office / { serviceName } / domain / { domainName }
* @ param serviceName [ required ] The unique identifier of your Office service
* @ param domainName [ required ] Domain name */
public OvhOfficeDomain serviceName_domain... | String qPath = "/license/office/{serviceName}/domain/{domainName}" ; StringBuilder sb = path ( qPath , serviceName , domainName ) ; String resp = exec ( qPath , "GET" , sb . toString ( ) , null ) ; return convertTo ( resp , OvhOfficeDomain . class ) ; |
public class SMailHonestPostie { protected void send ( Postcard postcard , SMailPostingMessage message ) { } } | if ( needsAsync ( postcard ) ) { asyncStrategy . async ( postcard , ( ) -> doSend ( postcard , message ) ) ; } else { doSend ( postcard , message ) ; } |
public class JWT { /** * Creates the plain text JWT . */
protected String createPlainTextJWT ( ) { } } | com . google . gson . JsonObject header = createHeader ( ) ; com . google . gson . JsonObject payload = createPayload ( ) ; String plainTextTokenString = computeBaseString ( header , payload ) ; StringBuffer sb = new StringBuffer ( plainTextTokenString ) ; sb . append ( "." ) . append ( "" ) ; return sb . toString ( ) ... |
public class J2EEServerMBeanImpl { /** * { @ inheritDoc } */
@ Override public String [ ] getjavaVMs ( ) { } } | ArrayList < String > javaVMs = new ArrayList < String > ( ) ; // There will be only one MBean registered
javaVMs . addAll ( MBeanServerHelper . queryObjectName ( createPropertyPatternObjectName ( J2EEManagementObjectNameFactory . TYPE_JVM ) ) ) ; return javaVMs . toArray ( new String [ javaVMs . size ( ) ] ) ; |
public class FluentMatching { /** * Specifies an match on a decomposing matcher with 0 extracted fields and then returns a fluent
* interface for specifying the action to take if the value matches this case . */
public < U extends T > InitialMatching0 < T , U > when ( DecomposableMatchBuilder0 < U > decomposableMatch... | return new InitialMatching0 < > ( decomposableMatchBuilder . build ( ) , value ) ; |
public class ElementDefinition { /** * syntactic sugar */
public ElementDefinition addCode ( Coding t ) { } } | if ( t == null ) return this ; if ( this . code == null ) this . code = new ArrayList < Coding > ( ) ; this . code . add ( t ) ; return this ; |
public class AbstractSphere3F { /** * { @ inheritDoc } */
@ Pure @ Override public double distance ( Point3D p ) { } } | double d = FunctionalPoint3D . distancePointPoint ( getX ( ) , getY ( ) , getZ ( ) , p . getX ( ) , p . getY ( ) , p . getZ ( ) ) - getRadius ( ) ; return MathUtil . max ( 0. , d ) ; |
public class Calc { /** * Calculate the RMSD of two Atom arrays , already superposed .
* @ param x
* array of Atoms superposed to y
* @ param y
* array of Atoms superposed to x
* @ return RMSD */
public static double rmsd ( Atom [ ] x , Atom [ ] y ) { } } | return CalcPoint . rmsd ( atomsToPoints ( x ) , atomsToPoints ( y ) ) ; |
public class CacheScheduler { /** * This method should be used from { @ link CacheGenerator # generateCache } implementations , to obtain a { @ link
* VersionedCache } to be returned .
* @ param entryId an object uniquely corresponding to the { @ link CacheScheduler . Entry } , for which VersionedCache is
* creat... | updatesStarted . incrementAndGet ( ) ; return new VersionedCache ( String . valueOf ( entryId ) , version ) ; |
public class DataError { /** * Returns the data error for the given json doc in the list */
public static DataError findErrorForDoc ( List < DataError > list , JsonNode node ) { } } | for ( DataError x : list ) { if ( x . entityData == node ) { return x ; } } return null ; |
public class Multisets { /** * Delegate that cares about the element types in multisetToModify . */
private static < E > boolean removeOccurrencesImpl ( Multiset < E > multisetToModify , Multiset < ? > occurrencesToRemove ) { } } | // TODO ( user ) : generalize to removing an Iterable , perhaps
checkNotNull ( multisetToModify ) ; checkNotNull ( occurrencesToRemove ) ; boolean changed = false ; Iterator < Entry < E > > entryIterator = multisetToModify . entrySet ( ) . iterator ( ) ; while ( entryIterator . hasNext ( ) ) { Entry < E > entry = entry... |
public class CmsSearchWidgetDialog { /** * Sets the last modification date the resources have to have as minimum . < p >
* @ param minDateLastModified the last modification date the resources have to have as minimum to set */
public void setMinDateLastModified ( String minDateLastModified ) { } } | if ( ( CmsStringUtil . isNotEmptyOrWhitespaceOnly ( minDateLastModified ) ) && ( ! minDateLastModified . equals ( "0" ) ) ) { m_searchParams . setMinDateLastModified ( Long . parseLong ( minDateLastModified ) ) ; } else { m_searchParams . setMinDateLastModified ( Long . MIN_VALUE ) ; } |
public class JMXMonConnectionPool { /** * Close all active connections by closing linked { @ link JMXConnector } */
public void closeAll ( ) { } } | for ( Object connection : pool . values ( ) ) { JMXMonConnection jmxcon = ( JMXMonConnection ) connection ; if ( jmxcon . connector != null ) { try { jmxcon . connector . close ( ) ; log . debug ( "jmx connector is closed" ) ; } catch ( Exception ex ) { log . debug ( "Can't close jmx connector, but continue" ) ; } } el... |
public class GrantEntitlementRequestMarshaller { /** * Marshall the given parameter object . */
public void marshall ( GrantEntitlementRequest grantEntitlementRequest , ProtocolMarshaller protocolMarshaller ) { } } | if ( grantEntitlementRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( grantEntitlementRequest . getDescription ( ) , DESCRIPTION_BINDING ) ; protocolMarshaller . marshall ( grantEntitlementRequest . getEncryption ( ) , ENCRYPTION_B... |
public class TraceSummary { /** * A list of resource ARNs for any resource corresponding to the trace segments .
* < b > NOTE : < / b > This method appends the values to the existing list ( if any ) . Use
* { @ link # setResourceARNs ( java . util . Collection ) } or { @ link # withResourceARNs ( java . util . Coll... | if ( this . resourceARNs == null ) { setResourceARNs ( new java . util . ArrayList < ResourceARNDetail > ( resourceARNs . length ) ) ; } for ( ResourceARNDetail ele : resourceARNs ) { this . resourceARNs . add ( ele ) ; } return this ; |
public class TrustGraphNode { /** * called to perform limited advertisement of this node ' s
* information ( represented by message ) . The advertisement
* will try to target the number of nodes specified in
* getIdealReach ( ) by sending the message down some number
* of random routes . The inboundTTL and send... | /* * Choose the route length and number of neighbors to
* advertise to based on the number of neighbors this
* node has . The product of these two values determines
* the intended reach . The route length is bounded by
* the minimum and maximum route length paramters and the
* number of neighbors is bounded b... |
public class JSONUtils { /** * Tests if the String possibly represents a valid JSON String . < br >
* Valid JSON strings are :
* < ul >
* < li > " null " < / li >
* < li > starts with " [ " and ends with " ] " < / li >
* < li > starts with " { " and ends with " } " < / li >
* < / ul > */
public static boole... | return string != null && ( "null" . equals ( string ) || ( string . startsWith ( "[" ) && string . endsWith ( "]" ) ) || ( string . startsWith ( "{" ) && string . endsWith ( "}" ) ) ) ; |
public class SkuManager { /** * Returns a base internal SKU by a store - specific SKU .
* @ throws java . lang . IllegalArgumentException If the store name or a store SKU is empty or null .
* @ see # mapSku ( String , String , String ) */
@ NotNull public String getSku ( @ NotNull String appstoreName , @ NotNull St... | checkSkuMappingParams ( appstoreName , storeSku ) ; Map < String , String > skuMap = storeSku2skuMappings . get ( appstoreName ) ; if ( skuMap != null && skuMap . containsKey ( storeSku ) ) { final String s = skuMap . get ( storeSku ) ; Logger . d ( "getSku() restore sku from storeSku: " , storeSku , " -> " , s ) ; ret... |
public class DropWizardMetrics { /** * Returns a { @ code Metric } collected from { @ link Meter } .
* @ param dropwizardName the metric name .
* @ param meter the meter object to collect
* @ return a { @ code Metric } . */
private Metric collectMeter ( String dropwizardName , Meter meter ) { } } | String metricName = DropWizardUtils . generateFullMetricName ( dropwizardName , "meter" ) ; String metricDescription = DropWizardUtils . generateFullMetricDescription ( dropwizardName , meter ) ; MetricDescriptor metricDescriptor = MetricDescriptor . create ( metricName , metricDescription , DEFAULT_UNIT , Type . CUMUL... |
public class VDMJ { /** * The main method . This validates the arguments , then parses and type checks the files provided ( if any ) , and
* finally enters the interpreter if required .
* @ param args
* Arguments passed to the program . */
@ SuppressWarnings ( "unchecked" ) public static void main ( String [ ] ar... | List < File > filenames = new Vector < File > ( ) ; List < File > pathnames = new Vector < File > ( ) ; List < String > largs = Arrays . asList ( args ) ; VDMJ controller = null ; Dialect dialect = Dialect . VDM_SL ; String remoteName = null ; Class < RemoteControl > remoteClass = null ; String defaultName = null ; Pro... |
public class Hashes { /** * Constant - time MurmurHash3 128 - bit hashing reusing precomputed state
* partially .
* < strong > Warning < / strong > : this code is still experimental .
* @ param bv
* a bit vector .
* @ param prefixLength
* the length of the prefix of < code > bv < / code > over which the
*... | final int startStateWord = ( int ) ( Math . min ( lcp , prefixLength ) / ( 2 * Long . SIZE ) ) ; long from = startStateWord * 2L * Long . SIZE ; long h1 = hh1 [ startStateWord ] ; long h2 = hh2 [ startStateWord ] ; long c1 = cc1 [ startStateWord ] ; long c2 = cc2 [ startStateWord ] ; long k1 , k2 ; while ( prefixLength... |
public class Main { /** * com . sun . star . frame . XDispatchProvider : */
public com . sun . star . frame . XDispatch queryDispatch ( com . sun . star . util . URL aURL , String sTargetFrameName , int iSearchFlags ) { } } | if ( aURL . Protocol . compareTo ( "org.cogroo.addon:" ) == 0 ) { if ( aURL . Path . compareTo ( "ReportError" ) == 0 ) return this ; } return null ; |
public class CreateRepositoryRequestMarshaller { /** * Marshall the given parameter object . */
public void marshall ( CreateRepositoryRequest createRepositoryRequest , ProtocolMarshaller protocolMarshaller ) { } } | if ( createRepositoryRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( createRepositoryRequest . getRepositoryName ( ) , REPOSITORYNAME_BINDING ) ; protocolMarshaller . marshall ( createRepositoryRequest . getRepositoryDescription (... |
public class LogFactory { /** * < p > Construct ( if necessary ) and return a < code > Log < / code > instance ,
* using the factory ' s current set of configuration attributes . < / p >
* < p > < strong > NOTE < / strong > - Depending upon the implementation of
* the < code > LogFactory < / code > you are using ... | Log log = loggers . get ( name ) ; if ( log == null ) { log = new Jdk14Logger ( name ) ; Log log2 = loggers . putIfAbsent ( name , log ) ; if ( log2 != null ) { return log2 ; } } return log ; |
public class AtomicAllocator { /** * This method should be called to make sure that data on host side is actualized
* @ param array */
@ Override public void synchronizeHostData ( INDArray array ) { } } | if ( array . isEmpty ( ) || array . isS ( ) ) return ; val buffer = array . data ( ) . originalDataBuffer ( ) == null ? array . data ( ) : array . data ( ) . originalDataBuffer ( ) ; synchronizeHostData ( buffer ) ; |
public class RevisionInfoMarshaller { /** * Marshall the given parameter object . */
public void marshall ( RevisionInfo revisionInfo , ProtocolMarshaller protocolMarshaller ) { } } | if ( revisionInfo == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( revisionInfo . getRevisionLocation ( ) , REVISIONLOCATION_BINDING ) ; protocolMarshaller . marshall ( revisionInfo . getGenericRevisionInfo ( ) , GENERICREVISIONINFO_BINDIN... |
public class Cell { /** * Adds { @ link # LEFT } and clears { @ link # RIGHT } for the alignment of the widget within the cell . */
public Cell < C , T > left ( ) { } } | if ( align == null ) align = LEFT ; else { align |= LEFT ; align &= ~ RIGHT ; } return this ; |
public class SameDiff { /** * Updates the variable name property on the passed in variables , its reference in samediff , and returns the variable .
* @ param variablesToUpdate the variable to update
* @ param newVariableNames the new variable name
* @ return the updated , passed in variables */
public SDVariable... | int numVariables = variablesToUpdate . length ; SDVariable [ ] updatedVariables = new SDVariable [ numVariables ] ; for ( int i = 0 ; i < numVariables ; i ++ ) { SDVariable varToUpdate = variablesToUpdate [ i ] ; String name = newVariableNames == null ? null : newVariableNames [ i ] ; updatedVariables [ i ] = updateVar... |
public class JawrRequestHandler { /** * Initialize the Jawr context ( config , cache manager , application config
* manager . . . )
* @ param props
* the Jawr properties
* @ throws ServletException
* if an exception occurs */
protected void initializeJawrContext ( Properties props ) throws ServletException { ... | // Initialize config
initializeJawrConfig ( props ) ; // initialize the cache manager
initializeApplicationCacheManager ( ) ; // initialize the Application config manager
JawrApplicationConfigManager appConfigMgr = initApplicationConfigManager ( ) ; JmxUtils . initJMXBean ( appConfigMgr , servletContext , resourceType ... |
public class MetricName { /** * Add tags to a metric name and return the newly created MetricName .
* @ param add Tags to add .
* @ return A newly created metric name with the specified tags associated with it . */
public MetricName tagged ( Map < String , String > add ) { } } | final Map < String , String > tags = new HashMap < > ( add ) ; tags . putAll ( this . tags ) ; return new MetricName ( key , tags ) ; |
public class Utils { /** * Search for intermediate shape model by its c2j name .
* @ return ShapeModel or null if the shape doesn ' t exist ( if it ' s primitive or container type for example ) */
public static ShapeModel findShapeModelByC2jNameIfExists ( IntermediateModel intermediateModel , String shapeC2jName ) { ... | for ( ShapeModel shape : intermediateModel . getShapes ( ) . values ( ) ) { if ( shape . getC2jName ( ) . equals ( shapeC2jName ) ) { return shape ; } } return null ; |
public class DrizzleDataSource { /** * < p > Attempts to establish a connection with the data source that this < code > DataSource < / code > object represents .
* @ param username the database user on whose behalf the connection is being made
* @ param password the user ' s password
* @ return a connection to th... | try { return new DrizzleConnection ( new MySQLProtocol ( hostname , port , database , username , password , new Properties ( ) ) , new DrizzleQueryFactory ( ) ) ; } catch ( QueryException e ) { throw SQLExceptionMapper . get ( e ) ; } |
public class UrlsApi { /** * Returns a user NSID , given the url to a user ' s photos or profile .
* This method does not require authentication .
* @ param url url to the user ' s profile or photos page . Required .
* @ return user id and username .
* @ throws JinxException if there are any errors .
* @ see ... | JinxUtils . validateParams ( url ) ; Map < String , String > params = new TreeMap < > ( ) ; params . put ( "method" , "flickr.urls.lookupUser" ) ; params . put ( "url" , url ) ; return jinx . flickrGet ( params , UserUrls . class ) ; |
public class Ifc4PackageImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
@ Override public EClass getIfcDynamicViscosityMeasure ( ) { } } | if ( ifcDynamicViscosityMeasureEClass == null ) { ifcDynamicViscosityMeasureEClass = ( EClass ) EPackage . Registry . INSTANCE . getEPackage ( Ifc4Package . eNS_URI ) . getEClassifiers ( ) . get ( 798 ) ; } return ifcDynamicViscosityMeasureEClass ; |
public class Site { /** * Java level related stuffs that are also needed to roll back
* @ param undoLog
* @ param undo */
private static void handleUndoLog ( List < UndoAction > undoLog , boolean undo ) { } } | if ( undoLog == null ) { return ; } if ( undo ) { undoLog = Lists . reverse ( undoLog ) ; } for ( UndoAction action : undoLog ) { if ( undo ) { action . undo ( ) ; } else { action . release ( ) ; } } if ( undo ) { undoLog . clear ( ) ; } |
public class FastSerializer { /** * Get a ascii - string - safe version of the binary value using a
* hex encoding .
* @ return A hex - encoded string value representing the serialized
* objects . */
public String getHexEncodedBytes ( ) { } } | buffer . b ( ) . flip ( ) ; byte bytes [ ] = new byte [ buffer . b ( ) . remaining ( ) ] ; buffer . b ( ) . get ( bytes ) ; String hex = Encoder . hexEncode ( bytes ) ; buffer . discard ( ) ; return hex ; |
public class ReviewsImpl { /** * Returns review details for the review Id passed .
* @ param teamName Your Team Name .
* @ param reviewId Id of the review .
* @ throws IllegalArgumentException thrown if parameters fail the validation
* @ return the observable to the Review object */
public Observable < ServiceR... | if ( this . client . baseUrl ( ) == null ) { throw new IllegalArgumentException ( "Parameter this.client.baseUrl() is required and cannot be null." ) ; } if ( teamName == null ) { throw new IllegalArgumentException ( "Parameter teamName is required and cannot be null." ) ; } if ( reviewId == null ) { throw new IllegalA... |
public class OAuth2SecurityExpressionMethods { /** * Check if the current OAuth2 authentication has one of the scopes specified .
* @ param scopes the scopes to check
* @ return true if the OAuth2 token has one of these scopes
* @ throws AccessDeniedException if the scope is invalid and we the flag is set to thro... | boolean result = OAuth2ExpressionUtils . hasAnyScope ( authentication , scopes ) ; if ( ! result ) { missingScopes . addAll ( Arrays . asList ( scopes ) ) ; } return result ; |
public class Index { /** * Save a query rule
* @ param objectID the objectId of the query rule to save
* @ param rule the content of this query rule */
public JSONObject saveRule ( String objectID , JSONObject rule ) throws AlgoliaException { } } | return saveRule ( objectID , rule , false ) ; |
public class JspViewDeclarationLanguageBase { /** * Render the view now - properly setting and resetting the response writer
* [ MF ] Modified to return a boolean so subclass that delegates can determine
* whether the rendering succeeded or not . TRUE means success . */
protected boolean actuallyRenderView ( FacesC... | // Set the new ResponseWriter into the FacesContext , saving the old one aside .
ResponseWriter responseWriter = facesContext . getResponseWriter ( ) ; // Now we actually render the document
// Call startDocument ( ) on the ResponseWriter .
responseWriter . startDocument ( ) ; // Call encodeAll ( ) on the UIViewRoot
vi... |
public class nstrafficdomain { /** * Use this API to disable nstrafficdomain . */
public static base_response disable ( nitro_service client , nstrafficdomain resource ) throws Exception { } } | nstrafficdomain disableresource = new nstrafficdomain ( ) ; disableresource . td = resource . td ; disableresource . state = resource . state ; return disableresource . perform_operation ( client , "disable" ) ; |
public class CmsListColumnDefinition { /** * Sets the data formatter . < p >
* @ param formatter the data formatter to set */
public void setFormatter ( I_CmsListFormatter formatter ) { } } | m_formatter = formatter ; // set the formatter for all default actions
Iterator < CmsListDefaultAction > it = m_defaultActions . iterator ( ) ; while ( it . hasNext ( ) ) { CmsListDefaultAction action = it . next ( ) ; action . setColumnForLink ( this ) ; } |
public class Validator { /** * 验证是否为货币
* @ param < T > 字符串类型
* @ param value 值
* @ param errorMsg 验证错误的信息
* @ return 验证后的值
* @ throws ValidateException 验证异常 */
public static < T extends CharSequence > T validateMoney ( T value , String errorMsg ) throws ValidateException { } } | if ( false == isMoney ( value ) ) { throw new ValidateException ( errorMsg ) ; } return value ; |
public class ScheduleLambdaFunctionDecisionAttributesMarshaller { /** * Marshall the given parameter object . */
public void marshall ( ScheduleLambdaFunctionDecisionAttributes scheduleLambdaFunctionDecisionAttributes , ProtocolMarshaller protocolMarshaller ) { } } | if ( scheduleLambdaFunctionDecisionAttributes == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( scheduleLambdaFunctionDecisionAttributes . getId ( ) , ID_BINDING ) ; protocolMarshaller . marshall ( scheduleLambdaFunctionDecisionAttributes .... |
public class ScriptEngineActivator { /** * This method is used to register available script engines in OSGi contexts . < br / >
* < b > Attention : < / b > This method is not unused but only called via reflective calls !
* @ param context BundleContext to bind the ScriptEngineManager to */
public static void regist... | OSGiScriptEngineManager scriptEngineManager = new OSGiScriptEngineManager ( context ) ; ScriptEngineManagerContext . setScriptEngineManager ( scriptEngineManager ) ; if ( LOGGER . isFinestEnabled ( ) ) { LOGGER . finest ( scriptEngineManager . printScriptEngines ( ) ) ; } |
public class Key { /** * Builds Key from Type and annotation types
* @ param type target type
* @ param annTypes associated annotations
* @ param < T > type
* @ return instance of a Key */
public static < T > Key < T > of ( Type type , Class < ? extends Annotation > [ ] annTypes ) { } } | return new Key < > ( type , annTypes ) ; |
public class RequestDelegator { /** * Checks whether the given service can serve given request . */
private boolean canDelegate ( RequestDelegationService delegate , HttpServletRequest request ) { } } | try { return delegate . canDelegate ( request ) ; } catch ( Exception e ) { log . log ( Level . SEVERE , String . format ( "The delegation service can't check the delegability of the request: %s" , e . getCause ( ) ) , e . getCause ( ) ) ; return false ; } |
public class ContainerTx { /** * Remove the given < code > BeanO < / code > in this container transaction .
* @ return true if the specified BeanO was successfully removed from the
* transaction ; returns false if the bean was not enlisted . */
public boolean delist ( BeanO beanO ) throws TransactionRolledbackExcep... | final boolean isTraceOn = TraceComponent . isAnyTracingEnabled ( ) ; // d532639.2
if ( isTraceOn && tc . isEntryEnabled ( ) ) Tr . entry ( tc , "delist" , new Object [ ] { Boolean . valueOf ( globalTransaction ) , this , beanO } ) ; boolean removed = false ; // d145697
ensureActive ( ) ; if ( beanOs == null ) { // d111... |
public class ExpressionTagQueryParser { /** * Grammar errors */
@ Override public void visitErrorNode ( ErrorNode node ) { } } | if ( error ) { errorMsg = "Error " + errorMsg + " on node " + node . getText ( ) ; } else { errorMsg = "Error on node " + node . getText ( ) ; error = true ; } |
public class AbstractRegionPainter { /** * Convenience method which creates a temporary graphics object by creating
* a clone of the passed in one , configuring it , drawing with it , disposing
* it . These steps have to be taken to ensure that any hints set on the
* graphics are removed subsequent to painting . ... | g = ( Graphics2D ) g . create ( ) ; configureGraphics ( g ) ; doPaint ( g , c , w , h , extendedCacheKeys ) ; g . dispose ( ) ; |
public class Stream { /** * Checks if the next element in this stream is of the expected types .
* @ param < T > represents the element type of this stream , removes the
* " unchecked generic array creation for varargs parameter "
* warnings
* @ param expected the expected types
* @ return { @ code true } if ... | for ( ElementType < E > type : expected ) { if ( type . isMatchedBy ( lookahead ( 1 ) ) ) { return true ; } } return false ; |
public class Log { /** * Send a { @ link # Constants . WARN } log message and log the exception .
* @ param tr
* An exception to log */
public static int w ( String tag , Throwable tr ) { } } | collectLogEntry ( Constants . WARN , tag , "" , null ) ; if ( isLoggable ( tag , Constants . WARN ) ) { return android . util . Log . w ( tag , tr ) ; } return 0 ; |
public class Text { /** * Converts the provided String to bytes using the
* UTF - 8 encoding . If < code > replace < / code > is true , then
* malformed input is replaced with the
* substitution character , which is U + FFFD . Otherwise the
* method throws a MalformedInputException .
* @ return ByteBuffer : b... | CharsetEncoder encoder = ENCODER_FACTORY . get ( ) ; if ( replace ) { encoder . onMalformedInput ( CodingErrorAction . REPLACE ) ; encoder . onUnmappableCharacter ( CodingErrorAction . REPLACE ) ; } ByteBuffer bytes = encoder . encode ( CharBuffer . wrap ( string . toCharArray ( ) ) ) ; if ( replace ) { encoder . onMal... |
public class DialogAbortAPDUImpl { /** * ( non - Javadoc )
* @ see org . restcomm . protocols . ss7 . tcap . asn . Encodable # decode ( org . mobicents . protocols . asn . AsnInputStream ) */
public void decode ( AsnInputStream ais ) throws ParseException { } } | try { AsnInputStream localAis = ais . readSequenceStream ( ) ; int tag = localAis . readTag ( ) ; if ( tag != AbortSource . _TAG || localAis . getTagClass ( ) != Tag . CLASS_CONTEXT_SPECIFIC ) throw new ParseException ( PAbortCauseType . IncorrectTxPortion , null , "Error decoding DialogAbortAPDU.abort-source: bad tag ... |
public class AutoQuantilesCallback { /** * Get the bucket values attribute . */
@ SuppressWarnings ( "unchecked" ) private List < Long > getBucketsValues ( final Stopwatch stopwatch ) { } } | return ( List < Long > ) stopwatch . getAttribute ( ATTR_NAME_BUCKETS_VALUES ) ; |
public class Ifc2x3tc1FactoryImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
public String convertIfcHeatExchangerTypeEnumToString ( EDataType eDataType , Object instanceValue ) { } } | return instanceValue == null ? null : instanceValue . toString ( ) ; |
public class LocalizationMessageService { /** * Finds localized message template by code and current locale from config . If not found it
* takes message from message bundle or from default message first , depends on flag .
* @ param code the message code
* @ param firstFindInMessageBundle indicates where try to ... | Locale locale = authContextHolder . getContext ( ) . getDetailsValue ( LANGUAGE ) . map ( Locale :: forLanguageTag ) . orElse ( LocaleContextHolder . getLocale ( ) ) ; String localizedMessage = getFromConfig ( code , locale ) . orElseGet ( ( ) -> { if ( firstFindInMessageBundle ) { return messageSource . getMessage ( c... |
public class ApiOvhCloud { /** * Start a new cloud project
* REST : POST / cloud / createProject
* @ param credit [ required ] Amount of cloud credit to purchase . Unit is base currency .
* @ param description [ required ] Project description
* @ param voucher [ required ] Voucher code */
public OvhNewProject c... | String qPath = "/cloud/createProject" ; StringBuilder sb = path ( qPath ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "credit" , credit ) ; addBody ( o , "description" , description ) ; addBody ( o , "voucher" , voucher ) ; String resp = exec ( qPath , "POST" , sb . toString ( ... |
public class Node { /** * syck _ node _ type _ id _ set */
@ JRubyMethod ( name = "type_id=" ) public static IRubyObject set_type_id ( IRubyObject self , IRubyObject type_id ) { } } | org . yecht . Node node = ( org . yecht . Node ) self . dataGetStructChecked ( ) ; if ( ! type_id . isNil ( ) ) { node . type_id = type_id . convertToString ( ) . toString ( ) ; } ( ( RubyObject ) self ) . fastSetInstanceVariable ( "@type_id" , type_id ) ; return type_id ; |
public class OverviewDocumentExtension { /** * Returns title level offset from 1 to apply to content
* @ param context context
* @ return title level offset */
protected int levelOffset ( Context context ) { } } | // TODO : Unused method , make sure this is never used and then remove it .
int levelOffset ; switch ( context . position ) { case DOCUMENT_BEFORE : case DOCUMENT_AFTER : levelOffset = 0 ; break ; case DOCUMENT_BEGIN : case DOCUMENT_END : levelOffset = 1 ; break ; default : throw new RuntimeException ( String . format ... |
public class RouterMiddleware { /** * Helper method . Checks if the < code > path < / code > is in the array of < code > paths < / code > .
* @ param path the path we want to check .
* @ param paths the paths to match .
* @ return true if the < code > path < / code > matches the < code > paths < / code > ( at lea... | if ( paths . length == 0 ) { return true ; } for ( String p : paths ) { /* TODO we should use the same mechanism servlets use to match paths */
if ( p . equalsIgnoreCase ( path ) ) { return true ; } } return false ; |
public class JavascriptGenerator { /** * Generate the javascript code .
* @ param settings
* the settings
* @ param methodName
* the method name
* @ return the string */
public String generateJs ( final Settings settings , final String methodName ) { } } | // 1 . Create an empty map . . .
final Map < String , Object > variables = initializeVariables ( settings . asSet ( ) ) ; // 4 . Generate the js template with the map and the method name . . .
final String stringTemplateContent = generateJavascriptTemplateContent ( variables , methodName ) ; // 5 . Create the StringTex... |
public class Step { /** * Click on html element by Javascript .
* @ param toClick
* html element
* @ param args
* list of arguments to format the found selector with
* @ throws TechnicalException
* is thrown if you have a technical error ( format , configuration , datas , . . . ) in NoraUi .
* Exception w... | displayMessageAtTheBeginningOfMethod ( "clickOnByJs: %s in %s" , toClick . toString ( ) , toClick . getPage ( ) . getApplication ( ) ) ; try { Context . waitUntil ( ExpectedConditions . elementToBeClickable ( Utilities . getLocator ( toClick , args ) ) ) ; ( ( JavascriptExecutor ) getDriver ( ) ) . executeScript ( "doc... |
public class IDDImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
@ Override public boolean eIsSet ( int featureID ) { } } | switch ( featureID ) { case AfplibPackage . IDD__UNITBASE : return UNITBASE_EDEFAULT == null ? unitbase != null : ! UNITBASE_EDEFAULT . equals ( unitbase ) ; case AfplibPackage . IDD__XRESOL : return XRESOL_EDEFAULT == null ? xresol != null : ! XRESOL_EDEFAULT . equals ( xresol ) ; case AfplibPackage . IDD__YRESOL : re... |
public class JavaParser { /** * src / main / resources / org / drools / compiler / semantics / java / parser / Java . g : 646:1 : annotationTypeElementDeclarations : ( annotationTypeElementDeclaration ) ( annotationTypeElementDeclaration ) * ; */
public final void annotationTypeElementDeclarations ( ) throws Recognitio... | int annotationTypeElementDeclarations_StartIndex = input . index ( ) ; try { if ( state . backtracking > 0 && alreadyParsedRule ( input , 73 ) ) { return ; } // src / main / resources / org / drools / compiler / semantics / java / parser / Java . g : 647:5 : ( ( annotationTypeElementDeclaration ) ( annotationTypeElemen... |
public class GenericExtendedSet { /** * { @ inheritDoc } */
@ SuppressWarnings ( "unchecked" ) @ Override public boolean contains ( Object o ) { } } | if ( elements instanceof List < ? > ) { try { return Collections . binarySearch ( ( List < T > ) elements , ( T ) o ) >= 0 ; } catch ( ClassCastException e ) { return false ; } } return elements . contains ( o ) ; |
public class FIMTDD { /** * Method for updating ( training ) the model using a new instance */
public void trainOnInstanceImpl ( Instance inst ) { } } | checkRoot ( ) ; examplesSeen += inst . weight ( ) ; sumOfValues += inst . weight ( ) * inst . classValue ( ) ; sumOfSquares += inst . weight ( ) * inst . classValue ( ) * inst . classValue ( ) ; for ( int i = 0 ; i < inst . numAttributes ( ) - 1 ; i ++ ) { int aIndex = modelAttIndexToInstanceAttIndex ( i , inst ) ; sum... |
public class ResourceInjection { /** * Determines the injection target { @ link Resource } by its mapped name
* @ param name
* the mapped name for the resoure
* @ return this { @ link ResourceInjection } */
public ResourceInjection byMappedName ( final String name ) { } } | final ResourceLiteral resource = new ResourceLiteral ( ) ; resource . setMappedName ( name ) ; matchingResources . add ( resource ) ; return this ; |
public class BatchJobUploader { /** * Post - processes the request content to conform to the requirements of Google Cloud Storage .
* @ param content the content produced by the { @ link BatchJobUploadBodyProvider } .
* @ param isFirstRequest if this is the first request for the batch job .
* @ param isLastReques... | if ( isFirstRequest && isLastRequest ) { return content ; } String serializedRequest = Streams . readAll ( content . getInputStream ( ) , UTF_8 ) ; serializedRequest = trimStartEndElements ( serializedRequest , isFirstRequest , isLastRequest ) ; // The request is part of a set of incremental uploads , so pad to the req... |
public class PortableFinderEnumerator { /** * Obtain all of the remaining elements from the enumeration */
public synchronized Object [ ] allRemainingElements ( ) throws RemoteException , EnumeratorException { } } | if ( ! hasMoreElementsR ( ) ) { throw new NoMoreElementsException ( ) ; } EJBObject [ ] remainder = null ; if ( ! exhausted ) { // We must fetch the remaining elements from the remote
// result set
try { // 110799
remainder = vEnum . allRemainingElements ( ) ; } catch ( NoMoreElementsException ex ) { // FFDCFilter . pr... |
public class OMVRBTreeEntryMemory { /** * Returns the successor of the current Entry only by traversing the memory , or null if no such . */
@ Override public OMVRBTreeEntryMemory < K , V > getNextInMemory ( ) { } } | OMVRBTreeEntryMemory < K , V > t = this ; OMVRBTreeEntryMemory < K , V > p = null ; if ( t . right != null ) { p = t . right ; while ( p . left != null ) p = p . left ; } else { p = t . parent ; while ( p != null && t == p . right ) { t = p ; p = p . parent ; } } return p ; |
public class ExtensionHandler { /** * This method loads a class using the context class loader if we ' re
* running under Java2 or higher .
* @ param className Name of the class to load */
static Class getClassForName ( String className ) throws ClassNotFoundException { } } | // Hack for backwards compatibility with XalanJ1 stylesheets
if ( className . equals ( "org.apache.xalan.xslt.extensions.Redirect" ) ) { className = "org.apache.xalan.lib.Redirect" ; } return ObjectFactory . findProviderClass ( className , ObjectFactory . findClassLoader ( ) , true ) ; |
public class Matcher { /** * Returns the start index of the subsequence captured by the given group
* during this match .
* < br >
* Capturing groups are indexed from left
* to right , starting at one . Group zero denotes the entire pattern , so
* the expression < i > m . < / i > < tt > start ( 0 ) < / tt > i... | MemReg b = bounds ( id ) ; if ( b == null ) return - 1 ; return b . in - offset ; |
public class ST_Split { /** * Splits a MultiPolygon using a LineString .
* @ param multiPolygon
* @ param lineString
* @ return */
private static Geometry splitMultiPolygonWithLine ( MultiPolygon multiPolygon , LineString lineString ) throws SQLException { } } | ArrayList < Polygon > allPolygons = new ArrayList < Polygon > ( ) ; for ( int i = 0 ; i < multiPolygon . getNumGeometries ( ) ; i ++ ) { Collection < Polygon > polygons = splitPolygonizer ( ( Polygon ) multiPolygon . getGeometryN ( i ) , lineString ) ; if ( polygons != null ) { allPolygons . addAll ( polygons ) ; } } i... |
public class BucketManager { /** * 对于设置了镜像存储的空间 , 从镜像源站抓取指定名称的资源并存储到该空间中
* 如果该空间中已存在该名称的资源 , 则会将镜像源站的资源覆盖空间中相同名称的资源
* @ param bucket 空间名称
* @ param key 文件名称
* @ throws QiniuException */
public void prefetch ( String bucket , String key ) throws QiniuException { } } | String resource = encodedEntry ( bucket , key ) ; String path = String . format ( "/prefetch/%s" , resource ) ; Response res = ioPost ( bucket , path ) ; if ( ! res . isOK ( ) ) { throw new QiniuException ( res ) ; } res . close ( ) ; |
public class CommercePriceListUserSegmentEntryRelPersistenceImpl { /** * Returns an ordered range of all the commerce price list user segment entry rels where commercePriceListId = & # 63 ; .
* Useful when paginating results . Returns a maximum of < code > end - start < / code > instances . < code > start < / code > ... | return findByCommercePriceListId ( commercePriceListId , start , end , orderByComparator , true ) ; |
public class OtpCookedConnection { /** * send to remote name dest is recipient ' s registered name , the nodename is
* implied by the choice of connection . */
@ SuppressWarnings ( "resource" ) void send ( final OtpErlangPid from , final String dest , final OtpErlangObject msg ) throws IOException { } } | // encode and send the message
sendBuf ( from , dest , new OtpOutputStream ( msg ) ) ; |
public class DynamoDBMapper { /** * Saves the objects given using one or more calls to the
* { @ link AmazonDynamoDB # batchWriteItem ( BatchWriteItemRequest ) } API .
* @ see DynamoDBMapper # batchWrite ( List , List , DynamoDBMapperConfig ) */
public void batchSave ( Object ... objectsToSave ) { } } | batchWrite ( Arrays . asList ( objectsToSave ) , Collections . emptyList ( ) , this . config ) ; |
public class RulesController { /** * GET / rules / : id
* Retrieves the rule with the given id .
* @ param id
* @ return */
public ModelAndView getRule ( long id ) { } } | Rule rule = ruleDao . getRule ( id ) ; if ( rule == null ) { return new ModelAndView ( view , "object" , new SimpleError ( "Rule " + id + " does not exist." , 404 ) ) ; } return new ModelAndView ( view , "object" , rule ) ; |
public class DdthCipherInputStream { /** * { @ inheritDoc } */
@ Override public long skip ( long n ) throws IOException { } } | int temp = ofinish - ostart ; if ( n > temp ) { n = temp ; } if ( n < 0 ) { return 0 ; } else { ostart = ( int ) ( ostart + n ) ; return n ; } |
public class DefaultDataSet { /** * Sets the absolute position of the record pointer
* @ param localPointer
* - int
* @ exception IndexOutOfBoundsException if wrong index */
@ Override public void absolute ( final int localPointer ) { } } | if ( localPointer < 0 || localPointer >= rows . size ( ) ) { throw new IndexOutOfBoundsException ( "INVALID POINTER LOCATION: " + localPointer ) ; } pointer = localPointer ; currentRecord = new RowRecord ( rows . get ( pointer ) , metaData , parser . isColumnNamesCaseSensitive ( ) , pzConvertProps , strictNumericParse ... |
public class BaseBundleActivator { /** * Bundle starting up .
* Don ' t override this , override startupService . */
public void start ( BundleContext context ) throws Exception { } } | ClassServiceUtility . log ( context , LogService . LOG_INFO , "Starting " + this . getClass ( ) . getName ( ) + " Bundle" ) ; this . context = context ; this . init ( ) ; // Setup the properties
String interfaceClassName = getInterfaceClassName ( ) ; this . setProperty ( BundleConstants . ACTIVATOR , this . getClass ( ... |
public class VirtualCdj { /** * Ask a device for information about the media mounted in a particular slot . Will update the
* { @ link MetadataFinder } when a response is received .
* @ param slot the slot holding media we want to know about .
* @ throws IOException if there is a problem sending the request . */
... | final DeviceAnnouncement announcement = DeviceFinder . getInstance ( ) . getLatestAnnouncementFrom ( slot . player ) ; if ( announcement == null ) { throw new IllegalArgumentException ( "Device for " + slot + " not found on network." ) ; } ensureRunning ( ) ; byte [ ] payload = new byte [ MEDIA_QUERY_PAYLOAD . length ]... |
public class RestartableSet { /** * Unsubscribes and dismisses the current observable of a given { @ link Restartable } .
* @ param id a { @ link Restartable } id . */
@ Override public void dismiss ( int id ) { } } | if ( restartables . get ( id ) != null ) restartables . get ( id ) . dismiss ( ) ; |
public class SRTInputStream31 { /** * / * ( non - Javadoc )
* @ see com . ibm . ws . webcontainer . srt . SRTInputStream # read ( ) */
@ Override public int read ( ) throws IOException { } } | // Return - 1 here because if we are closed or finished , we ' re at the end of the stream
if ( isClosed || isFinished ( ) ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) Tr . debug ( tc , "Nothing to read, stream is closed : " + isClosed + ", or finished : " + isFinished ( ) ) ; return -... |
public class FileChunk { /** * Sets the byte [ ] and indicates which pool this array is from . */
public void setBah ( ByteArrayHolder bah , ObjectPool < ByteArrayHolder > pool ) { } } | this . bah = bah ; this . pool = pool ; |
public class BuildWithDetails { /** * Update < code > displayName < / code > of a build .
* @ param displayName The new displayName which should be set .
* @ param crumbFlag < code > true < / code > or < code > false < / code > .
* @ throws IOException in case of errors . */
public BuildWithDetails updateDisplayN... | Objects . requireNonNull ( displayName , "displayName is not allowed to be null." ) ; String description = getDescription ( ) == null ? "" : getDescription ( ) ; Map < String , String > params = new HashMap < > ( ) ; params . put ( "displayName" , displayName ) ; params . put ( "description" , description ) ; // TODO :... |
public class DataTable { /** * setter for caption - sets
* @ generated
* @ param v value to set into the feature */
public void setCaption ( String v ) { } } | if ( DataTable_Type . featOkTst && ( ( DataTable_Type ) jcasType ) . casFeat_caption == null ) jcasType . jcas . throwFeatMissing ( "caption" , "ch.epfl.bbp.uima.types.DataTable" ) ; jcasType . ll_cas . ll_setStringValue ( addr , ( ( DataTable_Type ) jcasType ) . casFeatCode_caption , v ) ; |
public class JawrRequestHandler { /** * Returns true if the bundle is a valid bundle
* @ param requestedPath
* the requested path
* @ return true if the bundle is a valid bundle */
protected BundleHashcodeType isValidBundle ( String requestedPath ) { } } | BundleHashcodeType bundleHashcodeType = BundleHashcodeType . VALID_HASHCODE ; if ( ! jawrConfig . isDebugModeOn ( ) ) { bundleHashcodeType = bundlesHandler . getBundleHashcodeType ( requestedPath ) ; } return bundleHashcodeType ; |
public class RegionAutoscalerClient { /** * Deletes the specified autoscaler .
* < p > Sample code :
* < pre > < code >
* try ( RegionAutoscalerClient regionAutoscalerClient = RegionAutoscalerClient . create ( ) ) {
* ProjectRegionAutoscalerName autoscaler = ProjectRegionAutoscalerName . of ( " [ PROJECT ] " , ... | DeleteRegionAutoscalerHttpRequest request = DeleteRegionAutoscalerHttpRequest . newBuilder ( ) . setAutoscaler ( autoscaler ) . build ( ) ; return deleteRegionAutoscaler ( request ) ; |
public class MonitorFileWriterImpl { /** * Method setting the number of services and metadata length */
private void setServicesCount ( ) { } } | servicesCount = MAX_SERVICE_COUNT ; metadataLength = NUMBER_OF_INTS_IN_HEADER * BitUtil . SIZE_OF_INT + SIZEOF_STRING + servicesCount * ( SIZEOF_STRING + NUMBER_OF_INTS_PER_SERVICE * BitUtil . SIZE_OF_INT ) ; endOfMetadata = BitUtil . align ( metadataLength + BitUtil . SIZE_OF_INT , BitUtil . CACHE_LINE_LENGTH ) ; serv... |
public class BouncyCastleCertProcessingFactory { /** * Creates a new proxy credential from the specified certificate chain and a private key ,
* using the given delegation mode .
* @ see # createCredential ( X509Certificate [ ] , PrivateKey , int , int , GSIConstants . CertificateType , X509ExtensionSet , String ) ... | return createCredential ( certs , privateKey , bits , lifetime , delegType , ( X509ExtensionSet ) null , null ) ; |
public class AbstractOperation { /** * A utility method which calls < code > execute < / code > on each of this
* operation ' s arguments and returns an array of the results .
* @ param context
* evaluation context to use
* @ return array of the results of executing the arguments */
protected Element [ ] calcul... | Element [ ] results = new Element [ ops . length ] ; for ( int i = 0 ; i < ops . length ; i ++ ) { results [ i ] = ops [ i ] . execute ( context ) ; } return results ; |
public class LogbackMarkerFilter { /** * Filter the logging event according to the provided marker
* @ param event The logging event
* @ return FilterReply . NEUTRAL if the event ' s marker is the same as the provided marker ; FilterReply . DENY otherwise */
@ Override public FilterReply decide ( final ILoggingEven... | final Marker marker = event . getMarker ( ) ; if ( marker == this . marker ) { return FilterReply . NEUTRAL ; } else { return FilterReply . DENY ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.