signature stringlengths 43 39.1k | implementation stringlengths 0 450k |
|---|---|
public class PropositionUtil { /** * Binary search for a primitive parameter by timestamp , optimized for when
* the parameters are stored in a list that does not implement
* < code > java . util . RandomAccess < / code > .
* @ param list
* a < code > List < / code > of < code > PrimitiveParameter < / code >
... | int low = 0 ; int high = list . size ( ) - 1 ; ListIterator < PrimitiveParameter > i = list . listIterator ( ) ; while ( low <= high ) { /* * We use > > > instead of > > or / 2 to avoid overflow . Sun ' s
* implementation of binary search actually doesn ' t do this ( bug
* # 5045582 ) . */
int mid = ( low + high ) ... |
public class SassRubyGenerator { /** * ( non - Javadoc )
* @ see
* net . jawr . web . resource . bundle . generator . AbstractCachedGenerator # resetCache */
@ Override protected void resetCache ( ) { } } | super . resetCache ( ) ; cacheProperties . put ( JawrConstant . SASS_GENERATOR_URL_MODE , useAbsoluteURL ? SASS_GENERATOR_ABSOLUTE_URL_MODE : SASS_GENERATOR_RELATIVE_URL_MODE ) ; |
public class MiniBenchmark { /** * Parses the input args with a command line format , using
* { @ link org . apache . commons . cli . CommandLineParser } .
* @ param args the input args
* @ return true if parsing succeeded */
private static boolean parseInputArgs ( String [ ] args ) { } } | CommandLineParser parser = new DefaultParser ( ) ; CommandLine cmd ; try { cmd = parser . parse ( OPTIONS , args ) ; } catch ( ParseException e ) { System . out . println ( "Failed to parse input args: " + e ) ; return false ; } sHelp = cmd . hasOption ( "help" ) ; sType = OperationType . valueOf ( cmd . getOptionValue... |
public class JDBCResultSet { /** * < ! - - start generic documentation - - >
* Updates the designated column with a < code > String < / code > value .
* The updater methods are used to update column values in the
* current row or the insert row . The updater methods do not
* update the underlying database ; ins... | updateString ( findColumn ( columnLabel ) , x ) ; |
public class PlatformSummary { /** * The tiers in which the platform runs .
* @ return The tiers in which the platform runs . */
public java . util . List < String > getSupportedTierList ( ) { } } | if ( supportedTierList == null ) { supportedTierList = new com . amazonaws . internal . SdkInternalList < String > ( ) ; } return supportedTierList ; |
public class InteropFramework { /** * Support for content negotiation , jax - rs style . Create a list of media
* type supported by the framework .
* @ see < a href = " http : / / docs . oracle . com / javaee / 6 / tutorial / doc / gkqbq . html " > Content Negotiation < / a > */
public List < Variant > getVariants ... | List < Variant > vs = new ArrayList < Variant > ( ) ; for ( Map . Entry < String , ProvFormat > entry : mimeTypeRevMap . entrySet ( ) ) { if ( isOutputFormat ( entry . getValue ( ) ) ) { String [ ] parts = entry . getKey ( ) . split ( "/" ) ; MediaType m = new MediaType ( parts [ 0 ] , parts [ 1 ] ) ; vs . add ( new Va... |
public class ColVals { /** * < p > Evaluate column string val for
* SQL statement INSERT or UPDATE .
* For String ' [ val ] ' or NULL < / p >
* @ param pNm column name
* @ return Object column val
* @ throws ExceptionWithCode if column not found */
public final Object evObjVl ( final String pNm ) throws Excep... | if ( this . ints != null && this . ints . keySet ( ) . contains ( pNm ) ) { return this . ints . get ( pNm ) ; } if ( this . longs != null && this . longs . keySet ( ) . contains ( pNm ) ) { return this . longs . get ( pNm ) ; } if ( this . strs != null && this . strs . keySet ( ) . contains ( pNm ) ) { String val = ( ... |
public class UserCoreDao { /** * Build where ( or selection ) args for the value
* @ param value
* value
* @ return where args */
public String [ ] buildWhereArgs ( ColumnValue value ) { } } | String [ ] args = null ; if ( value != null ) { if ( value . getValue ( ) != null && value . getTolerance ( ) != null ) { args = getValueToleranceRange ( value ) ; } else { args = buildWhereArgs ( value . getValue ( ) ) ; } } return args ; |
public class EncodedGradientsAccumulator { /** * This method accepts updates suitable for StepFunction , and accumulates / propagates it across all workers
* @ param array */
@ Override public void storeUpdate ( INDArray array , int iterationNumber , int epochNumber ) { } } | try { if ( accumulator . get ( ) == null ) { // we don ' t want accumulator to be attached to workspaces
try ( MemoryWorkspace workspace = Nd4j . getMemoryManager ( ) . scopeOutOfWorkspaces ( ) ) { accumulator . set ( Nd4j . create ( array . shape ( ) , array . ordering ( ) ) ) ; } } // accumulate gradients updates in ... |
public class SQLiteModelMethod { /** * return true if is use a bean ( that this dao manage ) as parameter .
* @ return return true if is use a bean ( that this dao manage ) as parameter . */
public boolean hasBeanAsParameter ( ) { } } | TypeName entityTypeName = TypeUtility . typeName ( this . getEntity ( ) . getElement ( ) ) ; for ( Pair < String , TypeName > item : this . parameters ) { if ( item . value1 . equals ( entityTypeName ) ) { return true ; } } return false ; |
public class RequestParam { /** * Returns a request parameter as enum value .
* @ param < T > Enum type
* @ param request Request .
* @ param param Parameter name .
* @ param enumClass Enum class
* @ param defaultValue Default value .
* @ return Parameter value or the default value if it is not set or an in... | String value = RequestParam . get ( request , param ) ; if ( StringUtils . isNotEmpty ( value ) ) { try { return ( T ) Enum . valueOf ( enumClass , value ) ; } catch ( IllegalArgumentException ex ) { // ignore , return default
} } return defaultValue ; |
public class Constants { /** * Returns a string representation of a constant value ( given in
* internal representation ) , quoted and formatted as in Java source . */
public static String format ( Object value , Type type ) { } } | value = decode ( value , type ) ; switch ( type . getTag ( ) ) { case BYTE : return formatByte ( ( Byte ) value ) ; case LONG : return formatLong ( ( Long ) value ) ; case FLOAT : return formatFloat ( ( Float ) value ) ; case DOUBLE : return formatDouble ( ( Double ) value ) ; case CHAR : return formatChar ( ( Characte... |
public class WaitingProcessOutputLineListener { /** * Monitors the output of the process to check whether the wait condition is satisfied . */
@ Override public void onOutputLine ( String line ) { } } | if ( waitLatch . getCount ( ) > 0 && message != null && line . matches ( message ) ) { waitLatch . countDown ( ) ; } |
public class AbstractSailthruClient { /** * HTTP POST Request with Map
* @ param action
* @ param data
* @ throws IOException */
public JsonResponse apiPost ( ApiAction action , Map < String , Object > data ) throws IOException { } } | return httpRequestJson ( action , HttpRequestMethod . POST , data ) ; |
public class BuildPhase { /** * Additional information about a build phase , especially to help troubleshoot a failed build .
* @ param contexts
* Additional information about a build phase , especially to help troubleshoot a failed build . */
public void setContexts ( java . util . Collection < PhaseContext > cont... | if ( contexts == null ) { this . contexts = null ; return ; } this . contexts = new java . util . ArrayList < PhaseContext > ( contexts ) ; |
public class CoreAuthenticationUtils { /** * Convert attribute values to multi valued objects .
* @ param attributes the attributes
* @ return the map of attributes to return */
public static Map < String , List < Object > > convertAttributeValuesToMultiValuedObjects ( final Map < String , Object > attributes ) { }... | val entries = attributes . entrySet ( ) ; return entries . stream ( ) . collect ( Collectors . toMap ( Map . Entry :: getKey , entry -> { val value = entry . getValue ( ) ; return CollectionUtils . toCollection ( value , ArrayList . class ) ; } ) ) ; |
public class SocketExtensions { /** * Close the given { @ link Socket } .
* @ param clientSocket
* the client socket
* @ throws IOException
* Signals that an I / O exception has occurred . */
public static void close ( final Socket clientSocket ) throws IOException { } } | if ( clientSocket != null && ! clientSocket . isClosed ( ) ) { clientSocket . close ( ) ; } |
public class ConverterSet { /** * Returns a copy of this set , with the given converter added . If a
* matching converter is already in the set , the given converter replaces
* it . If the converter is exactly the same as one already in the set , the
* original set is returned .
* @ param converter converter to... | Converter [ ] converters = iConverters ; int length = converters . length ; for ( int i = 0 ; i < length ; i ++ ) { Converter existing = converters [ i ] ; if ( converter . equals ( existing ) ) { // Already in the set .
if ( removed != null ) { removed [ 0 ] = null ; } return this ; } if ( converter . getSupportedType... |
public class CommerceAvailabilityEstimatePersistenceImpl { /** * Returns all the commerce availability estimates where groupId = & # 63 ; .
* @ param groupId the group ID
* @ return the matching commerce availability estimates */
@ Override public List < CommerceAvailabilityEstimate > findByGroupId ( long groupId )... | return findByGroupId ( groupId , QueryUtil . ALL_POS , QueryUtil . ALL_POS , null ) ; |
public class NioGroovyMethods { /** * Create a new InputStream for this file and passes it into the closure .
* This method ensures the stream is closed after the closure returns .
* @ param self a Path
* @ param closure a closure
* @ return the value returned by the closure
* @ throws java . io . IOException... | return IOGroovyMethods . withStream ( newInputStream ( self ) , closure ) ; |
public class ConnectorServiceImpl { /** * Declarative Services method for unsetting the RRS XA resource factory service implementation reference .
* @ param ref reference to the service */
protected void unsetRRSXAResourceFactory ( ServiceReference < Object > ref ) { } } | if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) Tr . debug ( tc , "unsetRRSXAResourceFactory" , ref ) ; rrsXAResFactorySvcRef . unsetReference ( ref ) ; |
public class VirtualCdj { /** * Gets the current playback position , then checks if we are within { @ link BeatSender # SLEEP _ THRESHOLD } ms before
* an upcoming beat , or { @ link BeatSender # BEAT _ THRESHOLD } ms after one , sleeping until that is no longer the case .
* @ return the current playback position ,... | Snapshot playState = getPlaybackPosition ( ) ; double distance = playState . distanceFromBeat ( ) ; while ( playing . get ( ) && ( ( ( distance < 0.0 ) && ( Math . abs ( distance ) <= BeatSender . SLEEP_THRESHOLD ) ) || ( ( distance >= 0.0 ) && ( distance <= ( BeatSender . BEAT_THRESHOLD + 1 ) ) ) ) ) { try { Thread . ... |
public class GetLoadBalancerMetricDataRequestMarshaller { /** * Marshall the given parameter object . */
public void marshall ( GetLoadBalancerMetricDataRequest getLoadBalancerMetricDataRequest , ProtocolMarshaller protocolMarshaller ) { } } | if ( getLoadBalancerMetricDataRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( getLoadBalancerMetricDataRequest . getLoadBalancerName ( ) , LOADBALANCERNAME_BINDING ) ; protocolMarshaller . marshall ( getLoadBalancerMetricDataReque... |
public class AbstractDecoratorWithLabel { /** * Set the label of widget .
* @ param plabel a label widget */
@ UiChild ( limit = 1 , tagname = "label" ) public void setChildLabel ( final Widget plabel ) { } } | label = plabel ; getLayout ( ) . add ( label ) ; |
public class BaseLinkedQueue { /** * { @ inheritDoc } < br >
* IMPLEMENTATION NOTES : < br >
* This is an O ( n ) operation as we run through all the nodes and count them . < br >
* The accuracy of the value returned by this method is subject to races with producer / consumer threads . In
* particular when raci... | // Read consumer first , this is important because if the producer is node is ' older ' than the consumer
// the consumer may overtake it ( consume past it ) invalidating the ' snapshot ' notion of size .
LinkedQueueNode < E > chaserNode = lvConsumerNode ( ) ; LinkedQueueNode < E > producerNode = lvProducerNode ( ) ; i... |
public class UpgradableLock { /** * Acquire an exclusive write lock , possibly blocking until interrupted .
* @ param locker object trying to become lock owner */
public final void lockForWriteInterruptibly ( L locker ) throws InterruptedException { } } | if ( Thread . interrupted ( ) ) { throw new InterruptedException ( ) ; } if ( ! tryLockForWrite ( locker ) ) { Result upgradeResult = lockForUpgradeInterruptibly_ ( locker ) ; if ( ! tryLockForWrite ( locker ) ) { lockForWriteQueuedInterruptibly ( locker , addWriteWaiter ( ) ) ; } if ( upgradeResult == Result . ACQUIRE... |
public class BaseProgressLayerDrawable { /** * { @ inheritDoc } */
@ Override @ SuppressLint ( "NewApi" ) public void setTintMode ( @ NonNull PorterDuff . Mode tintMode ) { } } | mBackgroundDrawable . setTintMode ( tintMode ) ; mSecondaryProgressDrawable . setTintMode ( tintMode ) ; mProgressDrawable . setTintMode ( tintMode ) ; |
public class Fu { /** * Query by context . getContentResolver ( ) .
* @ param uri
* @ param projectionTypeMap
* @ param selection
* @ param selectionArgs
* @ param sortOrder
* @ return */
@ SuppressWarnings ( "rawtypes" ) public static List < Map < String , Object > > query ( final Uri uri , Map < String , ... | return query ( uri , projectionTypeMap , null , null , null ) ; |
public class QueryIOManager { /** * The load / write operation
* @ param file
* The target file object from which the saved queries are loaded .
* @ throws IOException */
public void load ( File file ) throws IOException { } } | if ( ! file . exists ( ) ) { return ; // NO - OP : Users may not have the saved file
} if ( ! file . canRead ( ) ) { throw new IOException ( String . format ( "Error while reading the file located at %s.\n" + "Make sure you have the read permission at the location specified." , file . getAbsolutePath ( ) ) ) ; } // Cle... |
public class StoreCallback { /** * Method sessionAttributeSet
* @ param session
* @ param name
* @ param oldValue
* @ param newValue
* @ see com . ibm . wsspi . session . IStoreCallback # sessionAttributeSet ( com . ibm . wsspi . session . ISession , java . lang . Object , java . lang . Object , java . lang .... | _sessionStateEventDispatcher . sessionAttributeSet ( session , name , oldValue , oldIsListener , newValue , newIsListener ) ; |
public class IntervalJoinOperator { /** * Process a { @ link StreamRecord } from the left stream . Whenever an { @ link StreamRecord }
* arrives at the left stream , it will get added to the left buffer . Possible join candidates
* for that element will be looked up from the right buffer and if the pair lies within... | processElement ( record , leftBuffer , rightBuffer , lowerBound , upperBound , true ) ; |
public class RESTProxyServlet { /** * For any request URL other than the context root , delegate to the
* appropriate handler . If no handler is available , a 404 will be set
* into the response .
* @ param request
* @ param response
* @ param pathInfo
* @ throws IOException */
private void handleWithDelega... | // Delegate to handler
boolean foundHandler = REST_HANDLER_CONTAINER . handleRequest ( new ServletRESTRequestImpl ( request ) , new ServletRESTResponseImpl ( response ) ) ; // RESTHandler handler = REST _ HANDLER _ CONTAINER . getHandler ( pathInfo ) ;
if ( ! foundHandler ) { // No handler found , so we send back a 404... |
public class Humanize { /** * Same as { @ link # naturalDay ( Date ) } with the given locale .
* @ param then
* The date
* @ param locale
* Target locale
* @ return String with ' today ' , ' tomorrow ' or ' yesterday ' compared to
* current day . Otherwise , returns a string formatted according to a
* loc... | return naturalDay ( DateFormat . SHORT , then , locale ) ; |
public class StaticTraceInstrumentation { /** * Main entry point for command line execution . */
public final static void main ( String [ ] args ) throws Exception { } } | if ( args == null || args . length <= 0 ) { printUsageMessage ( ) ; return ; } StaticTraceInstrumentation sti = new StaticTraceInstrumentation ( ) ; sti . processArguments ( args ) ; sti . processPackageInfo ( ) ; sti . executeInstrumentation ( ) ; |
public class ConfigParams { /** * Overrides parameters with new values from specified ConfigParams and returns
* a new ConfigParams object .
* @ param configParams ConfigMap with parameters to override the current values .
* @ return a new ConfigParams object .
* @ see ConfigParams # setDefaults ( ConfigParams ... | StringValueMap map = StringValueMap . fromMaps ( this , configParams ) ; return new ConfigParams ( map ) ; |
public class wisite_translationinternalip_binding { /** * Use this API to count the filtered set of wisite _ translationinternalip _ binding resources .
* filter string should be in JSON format . eg : " port : 80 , servicetype : HTTP " . */
public static long count_filtered ( nitro_service service , String sitepath ,... | wisite_translationinternalip_binding obj = new wisite_translationinternalip_binding ( ) ; obj . set_sitepath ( sitepath ) ; options option = new options ( ) ; option . set_count ( true ) ; option . set_filter ( filter ) ; wisite_translationinternalip_binding [ ] response = ( wisite_translationinternalip_binding [ ] ) o... |
public class Main { /** * Uploads a file in a single request . This approach is preferred for small files since it
* eliminates unnecessary round - trips to the servers .
* @ param dbxClient Dropbox user authenticated client
* @ param localFIle local file to upload
* @ param dropboxPath Where to upload the file... | try ( InputStream in = new FileInputStream ( localFile ) ) { ProgressListener progressListener = l -> printProgress ( l , localFile . length ( ) ) ; FileMetadata metadata = dbxClient . files ( ) . uploadBuilder ( dropboxPath ) . withMode ( WriteMode . ADD ) . withClientModified ( new Date ( localFile . lastModified ( )... |
public class JFXDialog { /** * set the dialog container
* Note : the dialog container must be StackPane , its the container for the dialog to be shown in .
* @ param dialogContainer */
public void setDialogContainer ( StackPane dialogContainer ) { } } | if ( dialogContainer != null ) { this . dialogContainer = dialogContainer ; // FIXME : need to be improved to consider only the parent boundary
offsetX = dialogContainer . getBoundsInLocal ( ) . getWidth ( ) ; offsetY = dialogContainer . getBoundsInLocal ( ) . getHeight ( ) ; animation = getShowAnimation ( transitionTy... |
public class DescribeTerminationPolicyTypesResult { /** * The termination policies supported by Amazon EC2 Auto Scaling : < code > OldestInstance < / code > ,
* < code > OldestLaunchConfiguration < / code > , < code > NewestInstance < / code > , < code > ClosestToNextInstanceHour < / code > ,
* < code > Default < /... | if ( this . terminationPolicyTypes == null ) { setTerminationPolicyTypes ( new com . amazonaws . internal . SdkInternalList < String > ( terminationPolicyTypes . length ) ) ; } for ( String ele : terminationPolicyTypes ) { this . terminationPolicyTypes . add ( ele ) ; } return this ; |
public class ReferenceBasedOutlierDetection { /** * Computes for each object the distance to one reference point . ( one
* dimensional representation of the data set )
* @ param refPoint Reference Point Feature Vector
* @ param database database to work on
* @ param distFunc Distance function to use
* @ retur... | ModifiableDoubleDBIDList referenceDists = DBIDUtil . newDistanceDBIDList ( database . size ( ) ) ; for ( DBIDIter iditer = database . iterDBIDs ( ) ; iditer . valid ( ) ; iditer . advance ( ) ) { referenceDists . add ( distFunc . distance ( iditer , refPoint ) , iditer ) ; } referenceDists . sort ( ) ; return reference... |
public class BeanInfoUtil { /** * Builds a property descriptor with no explicit visibility . */
protected static TypedPropertyDescriptor _buildPropertyDescriptor ( String propertyName , Class beanClass , String getterName , String setterName ) { } } | try { return new TypedPropertyDescriptor ( propertyName , beanClass , getterName , setterName ) ; } catch ( IntrospectionException e ) { throw new RuntimeException ( "Failed to create property \"" + propertyName + "\" on class \"" + beanClass + "\": " + e . getClass ( ) + " - " + e . getMessage ( ) ) ; } |
public class FindbugsPlugin { /** * Removes all consequent enumerated keys from given store staring with given prefix */
private static void resetStore ( IPreferenceStore store , String prefix ) { } } | int start = 0 ; // 99 is paranoia .
while ( start < 99 ) { String name = prefix + start ; if ( store . contains ( name ) ) { store . setToDefault ( name ) ; } else { break ; } start ++ ; } |
public class Constraints { /** * Apply a inclusive " range " constraint to a bean property .
* @ param propertyName the property with the range constraint .
* @ param min the low edge of the range
* @ param max the high edge of the range
* @ return The range constraint constraint */
public PropertyConstraint in... | return value ( propertyName , range ( min , max ) ) ; |
public class UpdateMatchmakingConfigurationRequestMarshaller { /** * Marshall the given parameter object . */
public void marshall ( UpdateMatchmakingConfigurationRequest updateMatchmakingConfigurationRequest , ProtocolMarshaller protocolMarshaller ) { } } | if ( updateMatchmakingConfigurationRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( updateMatchmakingConfigurationRequest . getName ( ) , NAME_BINDING ) ; protocolMarshaller . marshall ( updateMatchmakingConfigurationRequest . getD... |
public class PathBuilder { /** * Creates a path using the provided JsonPath structure .
* @ param jsonPath JsonPath structure to be parsed
* @ return String representing structure provided in the input */
public static String buildPath ( JsonPath jsonPath ) { } } | List < String > urlParts = new LinkedList < > ( ) ; JsonPath currentJsonPath = jsonPath ; String pathPart ; do { if ( currentJsonPath instanceof RelationshipsPath ) { pathPart = RELATIONSHIP_MARK + SEPARATOR + currentJsonPath . getElementName ( ) ; } else if ( currentJsonPath instanceof FieldPath ) { pathPart = current... |
public class ClassFileMetaData { /** * Returns the name of all implemented interfaces . */
public List < String > getInterfaces ( ) { } } | int size = readValue ( endOfPool + 6 ) ; if ( size == 0 ) return Collections . emptyList ( ) ; List < String > result = new ArrayList < String > ( ) ; for ( int i = 0 ; i < size ; i ++ ) { result . add ( getClassName ( readValue ( endOfPool + 8 + ( i * 2 ) ) ) ) ; } return result ; |
public class UnescapeTransliterator { /** * Implements { @ link Transliterator # handleTransliterate } . */
@ Override protected void handleTransliterate ( Replaceable text , Position pos , boolean isIncremental ) { } } | int start = pos . start ; int limit = pos . limit ; int i , ipat ; loop : while ( start < limit ) { // Loop over the forms in spec [ ] . Exit this loop when we
// match one of the specs . Exit the outer loop if a
// partial match is detected and isIncremental is true .
for ( ipat = 0 ; spec [ ipat ] != END ; ) { // Rea... |
public class SQLiteUpdateTaskHelper { /** * Execute SQL .
* @ param database
* the database
* @ param context
* the context
* @ param rawResourceId
* the raw resource id */
public static void executeSQL ( final SQLiteDatabase database , Context context , int rawResourceId ) { } } | String [ ] c = IOUtils . readTextFile ( context , rawResourceId ) . split ( ";" ) ; List < String > commands = Arrays . asList ( c ) ; executeSQL ( database , commands ) ; |
public class ParameterImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
@ SuppressWarnings ( "unchecked" ) @ Override public void eSet ( int featureID , Object newValue ) { } } | switch ( featureID ) { case BpsimPackage . PARAMETER__RESULT_REQUEST : getResultRequest ( ) . clear ( ) ; getResultRequest ( ) . addAll ( ( Collection < ? extends ResultType > ) newValue ) ; return ; case BpsimPackage . PARAMETER__PARAMETER_VALUE_GROUP : ( ( FeatureMap . Internal ) getParameterValueGroup ( ) ) . set ( ... |
public class Table { /** * Untick a checkbox in a cell of a table indicated by the input row and column indices .
* @ param row
* int number of row for cell
* @ param column
* int number of column for cell */
public void uncheckCheckboxInCell ( int row , int column ) { } } | String checkboxLocator = getXPathBase ( ) + "tr[" + row + "]/td[" + column + "]/input" ; CheckBox cb = new CheckBox ( checkboxLocator ) ; cb . uncheck ( ) ; |
public class PrepareRoutingSubnetworks { /** * This method checks if the node is removed or inaccessible for ALL encoders .
* @ return true if no edges are reachable from the specified nodeIndex for any flag encoder . */
boolean detectNodeRemovedForAllEncoders ( EdgeExplorer edgeExplorerAllEdges , int nodeIndex ) { }... | // we could implement a ' fast check ' for several previously marked removed nodes via GHBitSet
// removedNodesPerVehicle . The problem is that we would need long - indices but BitSet only supports int ( due to nodeIndex * numberOfEncoders )
// if no edges are reachable return true
EdgeIterator iter = edgeExplorerAllEd... |
public class WalkModFacade { /** * Downloads the list of declared plugins in the configuration file using Ivy . Ignores the
* ConfigurationProvided if passed in the constructor .
* @ throws InvalidConfigurationException
* if the walkmod configuration is invalid and it is working in no verbose mode . */
public voi... | if ( cfg . exists ( ) ) { if ( options . isVerbose ( ) ) { log . info ( cfg . getAbsoluteFile ( ) + " [ok]" ) ; } // Uses Ivy always
ConfigurationProvider cp = new IvyConfigurationProvider ( options . isOffline ( ) , options . isVerbose ( ) ) ; if ( options . isVerbose ( ) ) { log . info ( "** THE PLUGIN INSTALLATION S... |
public class JTune { /** * Returns the 3 points of a slur
* < br > Method used by { @ link # drawLink ( Graphics2D , TwoNotesLink ) }
* @ return [ 0 ] = > start , [ 1 ] = control , [ 2 ] = end */
private Point2D [ ] getLinkPoints ( TwoNotesLink slurDef ) { } } | if ( slurDef . getEnd ( ) == null ) { return new Point2D [ ] { } ; } JNoteElementAbstract elmtStart , elmtEnd ; elmtStart = ( JNoteElementAbstract ) getRenditionObjectFor ( slurDef . getStart ( ) ) ; elmtEnd = ( JNoteElementAbstract ) getRenditionObjectFor ( slurDef . getEnd ( ) ) ; if ( elmtStart == null || elmtStart ... |
public class AgentProperties { /** * Creates a new bean from properties .
* @ param props non - null properties
* @ return a non - null bean
* @ throws IOException if there were files that failed to be written */
public static AgentProperties readIaasProperties ( Properties props ) throws IOException { } } | // Deal with files transferred through user data .
// Store files in the system ' s temporary directory .
// In Karaf , this will point to the " data / tmp " directory .
File msgResourcesDirectory = new File ( System . getProperty ( "java.io.tmpdir" ) , "roboconf-messaging" ) ; props = UserDataHelpers . processUserData... |
public class TouchState { /** * Gets the Point matching the given ID . if available
* @ param id The Point ID to match . A value of - 1 matches any Point .
* @ return a matching Point , or null if there is no point with that ID . */
Point getPointForID ( int id ) { } } | for ( int i = 0 ; i < pointCount ; i ++ ) { if ( id == - 1 || points [ i ] . id == id ) { return points [ i ] ; } } return null ; |
public class CacheInstance { /** * Destroy the caching service when no longer needed . */
public void destroy ( ) { } } | mom . cleanUp ( ) ; mThread . stop ( ) ; si = null ; mom = null ; cache = null ; mThread = null ; |
public class JLanguageTool { /** * The main check method . Tokenizes the text into sentences and matches these
* sentences against all currently active rules depending on { @ code mode } .
* @ since 4.3 */
public List < RuleMatch > check ( AnnotatedText annotatedText , boolean tokenizeText , ParagraphHandling paraM... | List < String > sentences ; if ( tokenizeText ) { sentences = sentenceTokenize ( annotatedText . getPlainText ( ) ) ; } else { sentences = new ArrayList < > ( ) ; sentences . add ( annotatedText . getPlainText ( ) ) ; } List < Rule > allRules = getAllRules ( ) ; if ( printStream != null ) { printIfVerbose ( allRules . ... |
public class Jdt2Ecore { /** * Add the given constructors to the Ecore container .
* @ param codeBuilder the code builder to use .
* @ param superClassConstructors the constructors defined in the super class .
* @ param context the context of the constructors .
* @ throws JavaModelException if the Java model is... | if ( superClassConstructors != null ) { for ( final IMethod constructor : superClassConstructors ) { if ( ! isGeneratedOperation ( constructor ) ) { final ISarlConstructorBuilder cons = codeBuilder . addConstructor ( ) ; // Create parameters
final IFormalParameterBuilder [ ] sarlParams = createFormalParametersWith ( na... |
public class Uploader { /** * Send the data from the stream to the server . This is less efficient than
* < i > upload ( File ) < / i > , but if you already have a stream , it ' s convenient .
* This method takes care of temporarily making a File out of the stream ,
* making the request , and removing the tempora... | File tempFile = File . createTempFile ( "fedora-upload-" , null ) ; FileOutputStream out = new FileOutputStream ( tempFile ) ; try { StreamUtility . pipeStream ( in , out , 8192 ) ; return upload ( tempFile ) ; } finally { in . close ( ) ; out . close ( ) ; if ( ! tempFile . delete ( ) ) { System . err . println ( "WAR... |
public class GroupApi { /** * Creates a new project group . Available only for users who can create groups .
* < pre > < code > GitLab Endpoint : POST / groups < / code > < / pre >
* @ param name the name of the group to add
* @ param path the path for the group
* @ return the created Group instance
* @ throw... | Form formData = new Form ( ) ; formData . param ( "name" , name ) ; formData . param ( "path" , path ) ; Response response = post ( Response . Status . CREATED , formData , "groups" ) ; return ( response . readEntity ( Group . class ) ) ; |
public class Calendar { /** * Creates a < code > DateFormat < / code > appropriate to this calendar .
* This is a framework method for subclasses to override . This method
* is responsible for creating the calendar - specific DateFormat and
* DateFormatSymbols objects as needed .
* @ param pattern the pattern ,... | return handleGetDateFormat ( pattern , null , ULocale . forLocale ( locale ) ) ; |
public class CssHelper { /** * Creates a List of CssMetaData instances that is merged by the given parameters
* @ param metaData An array of CssMetaData instances . All instances will be in the returned list
* @ return A list with all given CssMetaData instances */
public static List < CssMetaData < ? extends Style... | return createCssMetaDataList ( new ArrayList < > ( ) , metaData ) ; |
public class HSBColor { /** * { @ inheritDoc } */
@ Override protected List < ? extends Object > getFieldValues ( ) { } } | return Arrays . asList ( hue ( ) , saturation ( ) , brightness ( ) , opacity ( ) ) ; |
public class Client { /** * Make a call , passing < code > param < / code > , to the IPC server running at
* < code > address < / code > which is servicing the < code > protocol < / code > protocol ,
* with the < code > ticket < / code > credentials and < code > rpcTimeout < / code > ,
* returning the value .
*... | Call call = new Call ( param ) ; Connection connection = getConnection ( addr , protocol , ticket , rpcTimeout , call ) ; try { connection . sendParam ( call , fastProtocol ) ; // send the parameter
} catch ( RejectedExecutionException e ) { throw new ConnectionClosedException ( "connection has been closed" , e ) ; } c... |
public class IOUtils { /** * Serializes the given { @ link java . io . Serializable } object into an array fo bytes .
* @ param obj the { @ link java . io . Serializable } object to serialize into an array of bytes .
* @ return the byte array of the serialized object .
* @ throws IOException if an I / O error occ... | ByteArrayOutputStream out = new ByteArrayOutputStream ( ) ; ObjectOutputStream objOut = null ; try { objOut = new ObjectOutputStream ( out ) ; objOut . writeObject ( obj ) ; objOut . flush ( ) ; return out . toByteArray ( ) ; } finally { close ( objOut ) ; } |
public class Positions { /** * Positions the owner to the bottom inside its parent . < br >
* Respects the parent padding .
* @ param < T > the generic type
* @ param < U > the generic type
* @ param offset the offset
* @ return the int supplier */
public static < T extends ISized & IChild < U > , U extends I... | return ( ) -> { U parent = owner . getParent ( ) ; if ( owner . getParent ( ) == null ) return 0 ; return ( int ) ( Math . ceil ( ( ( float ) parent . size ( ) . height ( ) - Padding . of ( parent ) . vertical ( ) - owner . size ( ) . height ( ) ) / 2 ) + offset ) ; } ; |
public class AdminKeymatchAction { private HtmlResponse asListHtml ( ) { } } | return asHtml ( path_AdminKeymatch_AdminKeymatchJsp ) . renderWith ( data -> { RenderDataUtil . register ( data , "keyMatchItems" , keyMatchService . getKeyMatchList ( keyMatchPager ) ) ; // page navi
} ) . useForm ( SearchForm . class , setup -> { setup . setup ( form -> { copyBeanToBean ( keyMatchPager , form , op ->... |
public class WeeklyAutoScalingSchedule { /** * The schedule for Saturday .
* @ param saturday
* The schedule for Saturday .
* @ return Returns a reference to this object so that method calls can be chained together . */
public WeeklyAutoScalingSchedule withSaturday ( java . util . Map < String , String > saturday... | setSaturday ( saturday ) ; return this ; |
public class JsonReader { /** * Returns the type of the next token without consuming it . */
public JsonToken peek ( ) throws IOException { } } | int p = peeked ; if ( p == PEEKED_NONE ) { p = doPeek ( ) ; } switch ( p ) { case PEEKED_BEGIN_OBJECT : return JsonToken . BEGIN_OBJECT ; case PEEKED_END_OBJECT : return JsonToken . END_OBJECT ; case PEEKED_BEGIN_ARRAY : return JsonToken . BEGIN_ARRAY ; case PEEKED_END_ARRAY : return JsonToken . END_ARRAY ; case PEEKED... |
public class EndPointImpl { /** * For the purposes of asterisk IAX and SIP are both considered SIP . */
@ Override public boolean isSIP ( ) { } } | return this . _tech == TechType . SIP || this . _tech == TechType . IAX || this . _tech == TechType . IAX2 ; |
public class ComplexNumber { /** * Multiply scalar value to a complex number .
* @ param z1 Complex Number .
* @ param scalar Scalar value .
* @ return Returns new ComplexNumber instance containing the multiply of specified complex number with the scalar value . */
public static ComplexNumber Multiply ( ComplexNu... | return new ComplexNumber ( z1 . real * scalar , z1 . imaginary * scalar ) ; |
public class RocksDbWrapper { /** * Open a { @ link RocksDB } with default options in read / write mode .
* @ param directory
* directory to store { @ link RocksDB } data
* @ param columnFamilies
* list of column families to store key / value ( the column family
* " default " will be automatically added )
*... | RocksDbWrapper rocksDbWrapper = new RocksDbWrapper ( directory , false ) ; rocksDbWrapper . setColumnFamilies ( RocksDbUtils . buildColumnFamilyDescriptors ( columnFamilies ) ) ; rocksDbWrapper . init ( ) ; return rocksDbWrapper ; |
public class ObjectFactory { /** * Create an instance of { @ link MsRun . Spotting . Plate . Pattern . Orientation } */
public MsRun . Spotting . Plate . Pattern . Orientation createMsRunSpottingPlatePatternOrientation ( ) { } } | return new MsRun . Spotting . Plate . Pattern . Orientation ( ) ; |
public class Stream { /** * Fetch the next event from a given stream
* @ return the next event
* @ throws IOException any io exception that could occur */
public StitchEvent < T > nextEvent ( ) throws IOException { } } | final Event nextEvent = eventStream . nextEvent ( ) ; if ( nextEvent == null ) { return null ; } return StitchEvent . fromEvent ( nextEvent , this . decoder ) ; |
public class OAuthRequirements { /** * < pre >
* The list of publicly documented OAuth scopes that are allowed access . An
* OAuth token containing any of these scopes will be accepted .
* Example :
* canonical _ scopes : https : / / www . googleapis . com / auth / calendar ,
* https : / / www . googleapis . ... | java . lang . Object ref = canonicalScopes_ ; if ( ref instanceof java . lang . String ) { com . google . protobuf . ByteString b = com . google . protobuf . ByteString . copyFromUtf8 ( ( java . lang . String ) ref ) ; canonicalScopes_ = b ; return b ; } else { return ( com . google . protobuf . ByteString ) ref ; } |
public class ReviewedPagesTitles { /** * picks the article name from a MediaWiki api response .
* @ param s text for parsing */
@ Override protected ImmutableList < String > parseElements ( String s ) { } } | XmlElement root = XmlConverter . getRootElement ( s ) ; List < String > titleCollection = Lists . newArrayList ( ) ; findContent ( root , titleCollection ) ; return ImmutableList . copyOf ( titleCollection ) ; |
public class WireFeedOutput { /** * Writes to an Writer the XML representation for the given WireFeed .
* If the feed encoding is not NULL , it will be used in the XML prolog encoding attribute . It is
* the responsibility of the developer to ensure the Writer instance is using the same charset
* encoding .
* N... | this . output ( feed , writer , true ) ; |
public class ScriptContainer { /** * Write out the body content and report any errors that occured .
* @ throws JspException if a JSP exception has occurred */
public int doEndTag ( ) throws JspException { } } | popIdScope ( ) ; // writeout the script .
WriteRenderAppender writer = new WriteRenderAppender ( pageContext ) ; // if we wrote out the scopeId then we end it .
if ( _idScope != null ) { writer . append ( "</div>" ) ; } writeFrameworkScript ( writer ) ; writeAfterBlocks ( writer ) ; localRelease ( ) ; return EVAL_PAGE ... |
public class MonetaryAmountDecimalFormatBuilder { /** * Creates the { @ link MonetaryAmountFormat }
* If @ { link Locale } didn ' t set the default value is { @ link Locale # getDefault ( ) }
* If @ { link MonetaryAmountProducer } didn ' t set the default value is { @ link MoneyProducer }
* If @ { link CurrencyUn... | if ( Objects . isNull ( locale ) ) { locale = Locale . getDefault ( ) ; } if ( Objects . isNull ( decimalFormat ) ) { decimalFormat = ( DecimalFormat ) NumberFormat . getCurrencyInstance ( locale ) ; } if ( Objects . isNull ( currencyUnit ) ) { currencyUnit = Monetary . getCurrency ( locale ) ; } if ( Objects . isNull ... |
public class SparseVector { /** * Parses { @ link SparseVector } from the given CSV string .
* @ param csv the CSV string representing a vector
* @ return a parsed vector */
public static SparseVector fromCSV ( String csv ) { } } | return Vector . fromCSV ( csv ) . to ( Vectors . SPARSE ) ; |
public class Duration { /** * Obtains an instance of { @ code Duration } from an amount .
* This obtains a duration based on the specified amount .
* A TemporalAmount represents an amount of time , which may be date - based
* or time - based , which this factory extracts to a duration .
* The conversion loops a... | Jdk8Methods . requireNonNull ( amount , "amount" ) ; Duration duration = ZERO ; for ( TemporalUnit unit : amount . getUnits ( ) ) { duration = duration . plus ( amount . get ( unit ) , unit ) ; } return duration ; |
public class ResourceInjectionBinding { /** * F743-22218.3 */
Object getEnvEntryType ( EnvEntry envEntry ) throws InjectionConfigurationException { } } | final boolean isTraceOn = TraceComponent . isAnyTracingEnabled ( ) ; Object type = null ; String typeName = envEntry . getTypeName ( ) ; if ( typeName != null ) { for ( Class < ? > typeClass : ENV_ENTRY_TYPES ) { if ( typeName . equals ( typeClass . getName ( ) ) ) { type = typeClass ; break ; } } if ( type == null ) {... |
public class ListDeliveryStreamsRequestMarshaller { /** * Marshall the given parameter object . */
public void marshall ( ListDeliveryStreamsRequest listDeliveryStreamsRequest , ProtocolMarshaller protocolMarshaller ) { } } | if ( listDeliveryStreamsRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( listDeliveryStreamsRequest . getLimit ( ) , LIMIT_BINDING ) ; protocolMarshaller . marshall ( listDeliveryStreamsRequest . getDeliveryStreamType ( ) , DELIVER... |
public class InternalSimpleAntlrParser { /** * InternalSimpleAntlr . g : 290:1 : ruleIdOrInt returns [ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken ( ) ] : ( this _ ID _ 0 = RULE _ ID | this _ INT _ 1 = RULE _ INT ) ; */
public final AntlrDatatypeRuleToken ruleIdOrInt ( ) throws RecognitionException { } ... | AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken ( ) ; Token this_ID_0 = null ; Token this_INT_1 = null ; enterRule ( ) ; try { // InternalSimpleAntlr . g : 293:28 : ( ( this _ ID _ 0 = RULE _ ID | this _ INT _ 1 = RULE _ INT ) )
// InternalSimpleAntlr . g : 294:1 : ( this _ ID _ 0 = RULE _ ID | this _ INT _... |
public class NodeSetDTM { /** * Returns the next node in the set and advances the position of the
* iterator in the set . After a DTMIterator is created , the first call
* to nextNode ( ) returns the first node in the set .
* @ return The next < code > Node < / code > in the set being iterated over , or
* < cod... | if ( ( m_next ) < this . size ( ) ) { int next = this . elementAt ( m_next ) ; m_next ++ ; return next ; } else return DTM . NULL ; |
public class FixedBucketsHistogram { /** * Merge another histogram into this one . Only the state of this histogram is updated .
* If the two histograms have identical buckets , a simpler algorithm is used .
* @ param otherHistogram */
public void combineHistogram ( FixedBucketsHistogram otherHistogram ) { } } | if ( otherHistogram == null ) { return ; } readWriteLock . writeLock ( ) . lock ( ) ; otherHistogram . getReadWriteLock ( ) . readLock ( ) . lock ( ) ; try { missingValueCount += otherHistogram . getMissingValueCount ( ) ; if ( bucketSize == otherHistogram . getBucketSize ( ) && lowerLimit == otherHistogram . getLowerL... |
public class DescribeFleetResult { /** * A list of robots .
* @ param robots
* A list of robots . */
public void setRobots ( java . util . Collection < Robot > robots ) { } } | if ( robots == null ) { this . robots = null ; return ; } this . robots = new java . util . ArrayList < Robot > ( robots ) ; |
public class WhileyFileParser { /** * Parse an " lval " expression , which is a subset of the possible expressions
* forms permitted on the left - hand side of an assignment . LVals are of the
* form :
* < pre >
* LVal : : = LValTerm ( ' , ' LValTerm ) * ' ) '
* < / pre >
* @ param scope
* The enclosing s... | int start = index ; ArrayList < LVal > elements = new ArrayList < > ( ) ; elements . add ( parseLVal ( index , scope ) ) ; // Check whether we have a multiple lvals or not
while ( tryAndMatch ( true , Comma ) != null ) { // Add all expressions separated by a comma
elements . add ( parseLVal ( index , scope ) ) ; // Don... |
public class FieldFactory { /** * Returns the element finder . If it is not yet initialzed a new one is generated together with
* the document containing the element . Caution : This ElementFinder is only valid for the
* lifecycle of this Factory instance ! */
private XmlElementFinder getElementFinder ( final Eleme... | if ( elementFinder == null ) { elementFinder = new XmlElementFinder ( element . getDocument ( ) ) ; } return elementFinder ; |
public class GenKeys { /** * Operations */
@ Override public Msg genKeys ( ) { } } | final Msg infoLines = new Msg ( ) ; try { final PKITools pki = new PKITools ( ) ; if ( getPrivKeyFileName ( ) == null ) { infoLines . add ( "Must provide a -privkey <file> parameter" ) ; return infoLines ; } if ( getPublicKeyFileName ( ) == null ) { infoLines . add ( "Must provide a -pubkey <file> parameter" ) ; return... |
public class PluginBundleImpl { /** * < ! - - begin - user - doc - - >
* < ! - - end - user - doc - - >
* @ generated */
@ SuppressWarnings ( "unchecked" ) @ Override public EList < PluginBundleVersion > getAvailableVersions ( ) { } } | return ( EList < PluginBundleVersion > ) eGet ( StorePackage . Literals . PLUGIN_BUNDLE__AVAILABLE_VERSIONS , true ) ; |
public class Converters { /** * Looks for an aproppiate converter for the given operation id .
* @ param operId The operation id
* @ return The first converter that matches this operation . */
public Converter getConverterForOperation ( String operId ) { } } | if ( getConverters ( ) != null ) { for ( Converter converter : getConverters ( ) ) { if ( check ( converter , converter . getOperations ( ) , operId ) ) { return converter ; } } } if ( getExternalConverters ( ) != null ) { for ( ExternalConverter ecs : getExternalConverters ( ) ) { final Converter c = PresentationManag... |
public class Application { /** * add a blacklist item to the collection of blacklist associated to the application .
* @ param blacklist */
public void addToBlacklists ( final Blacklist blacklist ) { } } | if ( null == getBlacklists ( ) ) { setBlacklists ( new java . util . TreeSet < Blacklist > ( ) ) ; } getBlacklists ( ) . add ( blacklist ) ; |
public class GeoIntents { /** * Intent that should allow opening a map showing the given location ( if it exists )
* @ param latitude The latitude of the center of the map
* @ param longitude The longitude of the center of the map
* @ return the intent */
public static Intent newNavigationIntent ( float latitude ... | StringBuilder sb = new StringBuilder ( ) ; sb . append ( "google.navigation:q=" ) ; sb . append ( latitude ) ; sb . append ( "," ) ; sb . append ( longitude ) ; return new Intent ( Intent . ACTION_VIEW , Uri . parse ( sb . toString ( ) ) ) ; |
public class TypesWalker { /** * When both wildcards are lower bounded ( ? super ) then bounds must be compatible .
* For example , ? super Integer and ? super BigInteger are not compatible ( Integer , BigInteger )
* and ? super Comparable and ? super Number are compatible ( Number assignable to Comparable ) .
* ... | boolean res = true ; final Type [ ] oneLower = one . getLowerBounds ( ) ; final Type [ ] twoLower = two . getLowerBounds ( ) ; if ( oneLower . length > 0 && twoLower . length > 0 ) { res = isCompatible ( GenericsUtils . resolveClassIgnoringVariables ( oneLower [ 0 ] ) , GenericsUtils . resolveClassIgnoringVariables ( t... |
public class DateHelper { /** * Calculates a human readable date / time difference .
* @ param d1
* a starting date
* @ param d2
* an end date
* @ return a string which reads like x days , y hours , z minutes . . . */
public static String formatDateDifference ( Date d1 , Date d2 ) { } } | long [ ] td = DateHelper . getTimeDifference ( d1 , d2 ) ; if ( td [ 0 ] > 0 ) { return td [ 0 ] + " day(s), " + td [ 1 ] + " hour(s)" ; } if ( td [ 1 ] > 0 ) { return td [ 1 ] + " hour(s), " + td [ 2 ] + " minute(s)" ; } if ( td [ 2 ] > 0 ) { return td [ 2 ] + " minute(s), " + td [ 3 ] + " second(s)" ; } return td [ 3... |
public class LazyList { /** * This method sets an offset of a resultset . For instance , if the offset is 101 , then the resultset will skip the
* first 100 records .
* It can be used in combination wit the limit like this :
* < code > List < Event > events = Event . find ( " mnemonic = ? " , " GLUC " ) . offset ... | if ( fullQuery != null && ! forPaginator ) throw new IllegalArgumentException ( "Cannot use .offset() if using free form SQL" ) ; if ( offset < 0 ) throw new IllegalArgumentException ( "offset cannot be negative" ) ; this . offset = offset ; return ( LazyList < E > ) this ; |
public class OctTreeNode { /** * Invoked when this object must be deserialized .
* @ param in is the input stream .
* @ throws IOException in case of input stream access error .
* @ throws ClassNotFoundException if some class was not found . */
@ SuppressWarnings ( "checkstyle:npathcomplexity" ) private void read... | in . defaultReadObject ( ) ; final N me = toN ( ) ; if ( this . child1 != null ) { this . child1 . setParentNodeReference ( me , false ) ; } if ( this . child2 != null ) { this . child2 . setParentNodeReference ( me , false ) ; } if ( this . child3 != null ) { this . child3 . setParentNodeReference ( me , false ) ; } i... |
public class Say { /** * - - - - - ERROR - - - - - */
public static void error ( Object message ) { } } | log ( Level . ERROR , message , null , ( Object [ ] ) null ) ; |
public class MsgMgr { /** * Warn the user of a problem .
* @ param styleNode Stylesheet node
* @ param sourceNode Source tree node
* @ param msg Message text to issue
* @ param args Arguments to pass to the message
* @ throws XSLProcessorException thrown if the active ProblemListener and XPathContext decide
... | String formattedMsg = XSLMessages . createWarning ( msg , args ) ; ErrorListener errHandler = m_transformer . getErrorListener ( ) ; if ( null != errHandler ) errHandler . warning ( new TransformerException ( formattedMsg , srcLctr ) ) ; else System . out . println ( formattedMsg ) ; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.