signature
stringlengths
43
39.1k
implementation
stringlengths
0
450k
public class VMath { /** * Reset the matrix to 0. * @ param m Matrix */ public static void clear ( final double [ ] [ ] m ) { } }
for ( int i = 0 ; i < m . length ; i ++ ) { Arrays . fill ( m [ i ] , 0.0 ) ; }
public class ObjectBooleanHashMap { /** * exposed for testing */ int probe ( Object element ) { } }
int index = this . spread ( element ) ; int removedIndex = - 1 ; if ( ObjectBooleanHashMap . isRemovedKey ( this . keys [ index ] ) ) { removedIndex = index ; } else if ( this . keys [ index ] == null || ObjectBooleanHashMap . nullSafeEquals ( this . toNonSentinel ( this . keys [ index ] ) , element ) ) { return index ...
public class VMath { /** * Computes component - wise v1 = v1 * s1 + v2, * overwriting the vector v1. * @ param v1 first vector ( overwritten ) * @ param s1 scalar factor for v1 * @ param v2 another vector * @ return v1 = v1 * s1 + v2 */ public static double [ ] timesPlusEquals ( final double [ ] v1 , final do...
assert v1 . length == v2 . length : ERR_VEC_DIMENSIONS ; for ( int i = 0 ; i < v1 . length ; i ++ ) { v1 [ i ] = v1 [ i ] * s1 + v2 [ i ] ; } return v1 ;
public class FileSystemView { /** * Creates a hard link at the given link path to the regular file at the given path . The existing * file must exist and must be a regular file . The given file system view must belong to the same * file system as this view . */ public void link ( JimfsPath link , FileSystemView exi...
checkNotNull ( link ) ; checkNotNull ( existingView ) ; checkNotNull ( existing ) ; if ( ! store . supportsFeature ( Feature . LINKS ) ) { throw new UnsupportedOperationException ( ) ; } if ( ! isSameFileSystem ( existingView ) ) { throw new FileSystemException ( link . toString ( ) , existing . toString ( ) , "can't l...
public class QueryReportPageController { /** * Appends query page comment to request . * @ param requestContext request contract * @ param queryPage query page * @ param processor comment processor */ protected void appendQueryPageComments ( RequestContext requestContext , final QueryPage queryPage , ReportPageCo...
QueryQuestionCommentDAO queryQuestionCommentDAO = new QueryQuestionCommentDAO ( ) ; processor . processComments ( ) ; List < QueryQuestionComment > rootComments = processor . getRootComments ( ) ; Map < Long , List < QueryQuestionComment > > childComments = queryQuestionCommentDAO . listTreesByQueryPage ( queryPage ) ;...
public class PluginDefaultGroovyMethods { /** * Overloads the left shift operator to provide an easy way to append multiple * objects as string representations to a StringBuilder . * @ param self a StringBuilder * @ param value a value to append * @ return the StringBuilder on which this operation was invoked *...
if ( value instanceof GString ) { // Force the conversion of the GString to string now , or appending // is going to be extremely expensive , due to calls to GString # charAt , // which is going to re - evaluate the GString for each character ! return self . append ( value . toString ( ) ) ; } if ( value instanceof Cha...
public class MtasDataCollector { /** * Gets the key list . * @ return the key list * @ throws IOException Signals that an I / O exception has occurred . */ public Set < String > getKeyList ( ) throws IOException { } }
if ( ! closed ) { close ( ) ; } return new HashSet < > ( Arrays . asList ( keyList ) ) ;
public class IfcAppliedValueImpl { /** * < ! - - begin - user - doc - - > * < ! - - end - user - doc - - > * @ generated */ @ SuppressWarnings ( "unchecked" ) @ Override public EList < IfcAppliedValue > getComponents ( ) { } }
return ( EList < IfcAppliedValue > ) eGet ( Ifc4Package . Literals . IFC_APPLIED_VALUE__COMPONENTS , true ) ;
public class XMLConfigAdmin { /** * delete a customtagmapping on system * @ param virtual * @ throws SecurityException */ public void removeCustomTag ( String virtual ) throws SecurityException { } }
checkWriteAccess ( ) ; Element mappings = _getRootElement ( "custom-tag" ) ; Element [ ] children = XMLConfigWebFactory . getChildren ( mappings , "mapping" ) ; for ( int i = 0 ; i < children . length ; i ++ ) { if ( virtual . equals ( createVirtual ( children [ i ] ) ) ) mappings . removeChild ( children [ i ] ) ; }
public class LengthExact { /** * { @ inheritDoc } * @ throws SuperCsvCellProcessorException * { @ literal if value is null } * @ throws SuperCsvConstraintViolationException * { @ literal if length is < min or length > max } */ @ SuppressWarnings ( "unchecked" ) public Object execute ( final Object value , final...
if ( value == null ) { return next . execute ( value , context ) ; } final String stringValue = value . toString ( ) ; final int length = stringValue . length ( ) ; if ( ! requriedLengths . contains ( length ) ) { final String joinedLength = requriedLengths . stream ( ) . map ( String :: valueOf ) . collect ( Collector...
public class TableStreamer { /** * Finalize the output buffers and write them to the corresponding data targets * @ return A future that can used to wait for all targets to finish writing the buffers */ private ListenableFuture < ? > writeBlocksToTargets ( Collection < DBBPool . BBContainer > outputBuffers , int [ ] ...
Preconditions . checkArgument ( m_tableTasks . size ( ) == serialized . length ) ; Preconditions . checkArgument ( outputBuffers . size ( ) == serialized . length ) ; final List < ListenableFuture < ? > > writeFutures = new ArrayList < ListenableFuture < ? > > ( outputBuffers . size ( ) ) ; // The containers , the data...
public class StatusUpdate { /** * / * package */ HttpParameter [ ] asHttpParameterArray ( ) { } }
ArrayList < HttpParameter > params = new ArrayList < HttpParameter > ( ) ; appendParameter ( "status" , status , params ) ; if ( - 1 != inReplyToStatusId ) { appendParameter ( "in_reply_to_status_id" , inReplyToStatusId , params ) ; } if ( location != null ) { appendParameter ( "lat" , location . getLatitude ( ) , para...
public class JMessageClient { /** * Update friends ' note information . The size is limit to 500. * @ param username Necessary * @ param array FriendNote array * @ return No content * @ throws APIConnectionException connect exception * @ throws APIRequestException request exception */ public ResponseWrapper u...
return _userClient . updateFriendsNote ( username , array ) ;
public class SmartBinder { /** * Cast the return value to the given type . * Example : Our current signature is ( String ) String but the method this * handle will eventually call returns CharSequence . * < code > binder = binder . castReturn ( CharSequence . class ) ; < / code > * Our handle will now successfu...
return new SmartBinder ( this , signature ( ) . changeReturn ( type ) , binder . cast ( type , binder . type ( ) . parameterArray ( ) ) ) ;
public class AbstractHBCICallback { /** * Erzeugt einen Log - Eintrag . Diese Methode wird von den mitgelieferten * Callback - Klassen für die Erzeugung von Log - Einträgen verwendet . Um * ein eigenes Format für die Log - Eintrage zu definieren , kann diese * Methode mit einer eigenen Implementierung übersch...
String [ ] levels = { "NON" , "ERR" , "WRN" , "INF" , "DBG" , "DB2" , "INT" } ; StringBuffer ret = new StringBuffer ( 128 ) ; ret . append ( "<" ) . append ( levels [ level ] ) . append ( "> " ) ; SimpleDateFormat df = new SimpleDateFormat ( "yyyy.MM.dd HH:mm:ss.SSS" ) ; ret . append ( "[" ) . append ( df . format ( da...
public class HadoopLogsAnalyzer { /** * @ param args * Last arg is the input file . That file can be a directory , in which * case you get all the files in sorted order . We will decompress * files whose nmes end in . gz . * switches : - c collect line types . * - d debug mode * - delays print out the delay...
try { HadoopLogsAnalyzer analyzer = new HadoopLogsAnalyzer ( ) ; int result = ToolRunner . run ( analyzer , args ) ; if ( result == 0 ) { return ; } System . exit ( result ) ; } catch ( FileNotFoundException e ) { LOG . error ( "" , e ) ; e . printStackTrace ( staticDebugOutput ) ; System . exit ( 1 ) ; } catch ( IOExc...
public class RouteFeature { /** * { @ inheritDoc } */ @ Override public boolean configure ( final FeatureContext context ) { } }
final String routePath = ( String ) context . getConfiguration ( ) . getProperty ( "resource.helper.route.path" ) ; if ( StringUtils . isNotBlank ( routePath ) ) { context . register ( new ModelProcessor ( ) { @ Override public ResourceModel processResourceModel ( ResourceModel resourceModel , Configuration configurati...
public class RunList { /** * Returns the first streak of the elements that satisfy the given predicate . * For example , { @ code filter ( [ 1,2,3,4 ] , odd ) = = [ 1,3 ] } but { @ code limit ( [ 1,2,3,4 ] , odd ) = = [ 1 ] } . */ private RunList < R > limit ( final CountingPredicate < R > predicate ) { } }
size = null ; first = null ; final Iterable < R > nested = base ; base = new Iterable < R > ( ) { public Iterator < R > iterator ( ) { return hudson . util . Iterators . limit ( nested . iterator ( ) , predicate ) ; } @ Override public String toString ( ) { return Iterables . toString ( this ) ; } } ; return this ;
public class OutputStreamLogSink { public String getDatedFilename ( ) { } }
if ( _filename == null ) return null ; if ( _out == null || ! ( _out instanceof RolloverFileOutputStream ) ) return null ; return ( ( RolloverFileOutputStream ) _out ) . getDatedFilename ( ) ;
public class AmazonIdentityManagementClient { /** * Deletes the specified instance profile . The instance profile must not have an associated role . * < important > * Make sure that you do not have any Amazon EC2 instances running with the instance profile you are about to * delete . Deleting a role or instance p...
request = beforeClientExecution ( request ) ; return executeDeleteInstanceProfile ( request ) ;
public class GenericType { /** * Substitutes a free type variable with an actual type . See { @ link GenericType this class ' s * javadoc } for an example . */ @ NonNull public final < X > GenericType < T > where ( @ NonNull GenericTypeParameter < X > freeVariable , @ NonNull Class < X > actualType ) { } }
return where ( freeVariable , GenericType . of ( actualType ) ) ;
public class AdminToolQuartzServiceImpl { /** * / * ( non - Javadoc ) * @ see de . chandre . admintool . quartz . AdminToolQuartzService # changeTrigger ( de . chandre . admintool . quartz . JobTriggerTO , boolean ) */ @ Override public boolean changeTrigger ( JobTriggerTO triggerTO , boolean add ) throws SchedulerEx...
if ( ! config . isChangeTriggerAllowed ( ) ) { LOGGER . warn ( "not allowed to change any trigger" ) ; return false ; } JobDetail detail = findJob ( triggerTO . getOriginalJobGroup ( ) , triggerTO . getOriginalJobName ( ) ) ; if ( null == detail ) { return false ; } Trigger trigger = findTrigger ( triggerTO . getOrigin...
public class CmsXmlVfsFileValue { /** * Sets the value as a structure id . < p > * @ param cms the current CMS context * @ param id the structure id which should be stored in the file value */ public void setIdValue ( CmsObject cms , CmsUUID id ) { } }
CmsRelationType type = getRelationType ( getPath ( ) ) ; CmsLink link = new CmsLink ( TYPE_VFS_LINK , type , id , "@" , true ) ; // link management check link . checkConsistency ( cms ) ; // update xml node CmsLinkUpdateUtil . updateXmlForVfsFile ( link , m_element . addElement ( CmsXmlPage . NODE_LINK ) ) ;
public class YamlEngine { /** * Unmarshal YAML . * @ param yamlContent YAML content * @ return map from YAML */ public static Map < ? , ? > unmarshal ( final String yamlContent ) { } }
return Strings . isNullOrEmpty ( yamlContent ) ? new LinkedHashMap < > ( ) : ( Map ) new Yaml ( ) . load ( yamlContent ) ;
public class AlertContainer { /** * Perform the specified action on the drop container . Also , notifies the container ' s parent * that an action has occurred . * @ param action An action . */ @ Override public void doAction ( Action action ) { } }
BaseComponent parent = getParent ( ) ; switch ( action ) { case REMOVE : ActionListener . unbindActionListeners ( this , actionListeners ) ; detach ( ) ; break ; case HIDE : case COLLAPSE : setVisible ( false ) ; break ; case SHOW : case EXPAND : setVisible ( true ) ; break ; case TOP : parent . addChild ( this , 0 ) ;...
public class StylesContainer { /** * Add a page style * @ param ps the style * @ return true if the master page style and the style layout where added */ public boolean addPageStyle ( final PageStyle ps ) { } }
boolean ret = this . addMasterPageStyle ( ps . getMasterPageStyle ( ) ) ; ret = this . addPageLayoutStyle ( ps . getPageLayoutStyle ( ) ) && ret ; return ret ;
public class ReloadingPropertyPlaceholderConfigurer { /** * 当配置更新时 , 被调用 * @ param event */ public void propertiesReloaded ( PropertiesReloadedEvent event ) { } }
Properties oldProperties = lastMergedProperties ; try { Properties newProperties = mergeProperties ( ) ; // 获取哪些 dynamic property 被影响 Set < String > placeholders = placeholderToDynamics . keySet ( ) ; Set < DynamicProperty > allDynamics = new HashSet < DynamicProperty > ( ) ; for ( String placeholder : placeholders ) {...
public class BrowserPane { /** * Activates tooltips . * @ param show * if true , shows tooltips . */ public void activateTooltip ( boolean show ) { } }
if ( show ) { ToolTipManager . sharedInstance ( ) . registerComponent ( this ) ; } else { ToolTipManager . sharedInstance ( ) . unregisterComponent ( this ) ; } ToolTipManager . sharedInstance ( ) . setEnabled ( show ) ;
public class HadoopLocationWizard { /** * Create a SWT Checked Button component for the given { @ link ConfProp } * boolean configuration property . * @ param listener * @ param parent * @ param prop * @ return */ private Button createConfCheckButton ( SelectionListener listener , Composite parent , ConfProp ...
Button button = new Button ( parent , SWT . CHECK ) ; button . setText ( text ) ; button . setData ( "hProp" , prop ) ; button . setSelection ( location . getConfProp ( prop ) . equalsIgnoreCase ( "yes" ) ) ; button . addSelectionListener ( listener ) ; return button ;
public class LessParser { /** * Create a rule and parse the content of an block . * @ param selector the selectors * @ param parent the parent in the hierarchy * @ param params the parameters if it is a mixin . * @ param guard an optional guard expression * @ return the rule */ @ Nonnull private Rule rule ( F...
Rule rule = new Rule ( reader , parent , selector , params , guard ) ; parseRule ( rule ) ; return rule ;
public class Instant { /** * Obtains an instance of { @ code Instant } from a temporal object . * A { @ code TemporalAccessor } represents some form of date and time information . * This factory converts the arbitrary temporal object to an instance of { @ code Instant } . * The conversion extracts the { @ link Ch...
try { long instantSecs = temporal . getLong ( INSTANT_SECONDS ) ; int nanoOfSecond = temporal . get ( NANO_OF_SECOND ) ; return Instant . ofEpochSecond ( instantSecs , nanoOfSecond ) ; } catch ( DateTimeException ex ) { throw new DateTimeException ( "Unable to obtain Instant from TemporalAccessor: " + temporal + ", typ...
public class JavaParser { /** * src / main / resources / org / drools / compiler / semantics / java / parser / Java . g : 1296:5 : arguments : ' ( ' ( expressionList ) ? ' ) ' ; */ public final void arguments ( ) throws RecognitionException { } }
int arguments_StartIndex = input . index ( ) ; try { if ( state . backtracking > 0 && alreadyParsedRule ( input , 140 ) ) { return ; } // src / main / resources / org / drools / compiler / semantics / java / parser / Java . g : 1297:5 : ( ' ( ' ( expressionList ) ? ' ) ' ) // src / main / resources / org / drools / com...
public class UnicodeSet { /** * Utility to compare two collections , optionally by size , and then lexicographically . * @ hide unsupported on Android */ public static < T extends Comparable < T > > int compare ( Collection < T > collection1 , Collection < T > collection2 , ComparisonStyle style ) { } }
if ( style != ComparisonStyle . LEXICOGRAPHIC ) { int diff = collection1 . size ( ) - collection2 . size ( ) ; if ( diff != 0 ) { return ( diff < 0 ) == ( style == ComparisonStyle . SHORTER_FIRST ) ? - 1 : 1 ; } } return compare ( collection1 , collection2 ) ;
public class AWSDatabaseMigrationServiceClient { /** * Stops the replication task . * @ param stopReplicationTaskRequest * @ return Result of the StopReplicationTask operation returned by the service . * @ throws ResourceNotFoundException * The resource could not be found . * @ throws InvalidResourceStateExce...
request = beforeClientExecution ( request ) ; return executeStopReplicationTask ( request ) ;
public class EnumConstantWriterImpl { /** * { @ inheritDoc } */ public Content getSignature ( FieldDoc enumConstant ) { } }
Content pre = new HtmlTree ( HtmlTag . PRE ) ; writer . addAnnotationInfo ( enumConstant , pre ) ; addModifiers ( enumConstant , pre ) ; Content enumConstantLink = writer . getLink ( new LinkInfoImpl ( configuration , LinkInfoImpl . Kind . MEMBER , enumConstant . type ( ) ) ) ; pre . addContent ( enumConstantLink ) ; p...
public class UPropertyAliases { /** * Returns a value enum given a property enum and one of its value names . */ public int getPropertyValueEnum ( int property , CharSequence alias ) { } }
int valueMapIndex = findProperty ( property ) ; if ( valueMapIndex == 0 ) { throw new IllegalArgumentException ( "Invalid property enum " + property + " (0x" + Integer . toHexString ( property ) + ")" ) ; } valueMapIndex = valueMaps [ valueMapIndex + 1 ] ; if ( valueMapIndex == 0 ) { throw new IllegalArgumentException ...
public class SignatureAttribute { /** * Reads the signature . */ public void read ( ByteCodeParser in ) throws IOException { } }
int length = in . readInt ( ) ; if ( length != 2 ) throw new IOException ( "expected length of 2 at " + length ) ; int code = in . readShort ( ) ; _signature = in . getUTF8 ( code ) ;
public class Link { /** * Convenience method when chaining an existing { @ link Link } . * @ param name * @ param httpMethod * @ param inputType * @ param queryMethodParameters * @ param outputType * @ return */ public Link andAffordance ( String name , HttpMethod httpMethod , ResolvableType inputType , Lis...
return andAffordance ( new Affordance ( name , this , httpMethod , inputType , queryMethodParameters , outputType ) ) ;
public class Ifc4PackageImpl { /** * < ! - - begin - user - doc - - > * < ! - - end - user - doc - - > * @ generated */ @ Override public EClass getIfcLightSourcePositional ( ) { } }
if ( ifcLightSourcePositionalEClass == null ) { ifcLightSourcePositionalEClass = ( EClass ) EPackage . Registry . INSTANCE . getEPackage ( Ifc4Package . eNS_URI ) . getEClassifiers ( ) . get ( 348 ) ; } return ifcLightSourcePositionalEClass ;
public class PClassLoader { /** * returns matching File Object or null if file not exust * @ param name * @ return matching file */ public Resource _getResource ( String name ) { } }
Resource f = directory . getRealResource ( name ) ; if ( f != null && f . exists ( ) && f . isFile ( ) ) return f ; return null ;
public class QueryPersistor { /** * Give a name to a DomainObjectMatch for better readability in a Java - DSL like string representation * @ param domainObjectMatch * @ param as * @ return */ public QueryPersistor augment ( DomainObjectMatch < ? > domainObjectMatch , String as ) { } }
if ( this . augmentations == null ) this . augmentations = new HashMap < DomainObjectMatch < ? > , String > ( ) ; this . augmentations . put ( domainObjectMatch , as ) ; return this ;
public class HttpDecodingClient { /** * Creates a new { @ link HttpDecodingClient } decorator with the specified { @ link StreamDecoderFactory } s . */ public static Function < Client < HttpRequest , HttpResponse > , HttpDecodingClient > newDecorator ( StreamDecoderFactory ... decoderFactories ) { } }
return newDecorator ( ImmutableList . copyOf ( decoderFactories ) ) ;
public class ScreenDialog { /** * GEN - LAST : event _ fontComboBoxActionPerformed */ private void themeComboBoxActionPerformed ( java . awt . event . ActionEvent evt ) { } }
// GEN - FIRST : event _ themeComboBoxActionPerformed String themeName = ( String ) themeComboBox . getSelectedItem ( ) ; String themeClassName = ( String ) mapThemes . get ( themeName ) ; if ( ( themeClassName != null ) && ( ! ScreenUtil . DEFAULT . equalsIgnoreCase ( themeClassName ) ) ) properties . put ( ScreenUtil...
public class Jinx { /** * Do the actual GET or POST request . * < br > * flickrGet and flickrPost methods delegate work to this method . * @ param params request parameters . * @ param method http method to use . Method . GET and Method . POST are the only valid choices . * @ param tClass the class that will ...
if ( this . oAuthAccessToken == null ) { throw new JinxException ( "Jinx has not been configured with an OAuth Access Token." ) ; } params . put ( "format" , "json" ) ; params . put ( "nojsoncallback" , "1" ) ; params . put ( "api_key" , getApiKey ( ) ) ; org . scribe . model . Response flickrResponse ; if ( method == ...
public class Client { /** * Creates a new transport based on the capabilities of the server . * @ param profile * profile to use for determining if HTTP POST is supported * @ return the new transport . */ private Transport createTransport ( final String profile ) { } }
if ( getCaCapabilities ( profile ) . isPostSupported ( ) ) { return transportFactory . forMethod ( Method . POST , url ) ; } else { return transportFactory . forMethod ( Method . GET , url ) ; }
public class DocletInvoker { /** * Generate documentation here . Return true on success . */ public boolean start ( RootDoc root ) { } }
Object retVal ; String methodName = "start" ; Class < ? > [ ] paramTypes = { RootDoc . class } ; Object [ ] params = { root } ; try { retVal = invoke ( methodName , null , paramTypes , params ) ; } catch ( DocletInvokeException exc ) { return false ; } if ( retVal instanceof Boolean ) { return ( ( Boolean ) retVal ) ; ...
public class Option { /** * 添加数据 * @ param values * @ return */ public Option series ( Series ... values ) { } }
if ( values == null || values . length == 0 ) { return this ; } this . series ( ) . addAll ( Arrays . asList ( values ) ) ; return this ;
public class appflowpolicy { /** * Use this API to fetch filtered set of appflowpolicy resources . * set the filter parameter values in filtervalue object . */ public static appflowpolicy [ ] get_filtered ( nitro_service service , filtervalue [ ] filter ) throws Exception { } }
appflowpolicy obj = new appflowpolicy ( ) ; options option = new options ( ) ; option . set_filter ( filter ) ; appflowpolicy [ ] response = ( appflowpolicy [ ] ) obj . getfiltered ( service , option ) ; return response ;
public class PositionManager { /** * This method scans through the nodes in the ordered list and identifies those that are not in * the passed in compViewParent . For those it then looks in its current parent and checks to see * if there are any down - stream ( higher sibling index ) siblings that have moveAllowed ...
int i = 0 ; while ( i < order . size ( ) ) { NodeInfo ni = order . get ( i ) ; if ( ! ni . getNode ( ) . getParentNode ( ) . equals ( compViewParent ) ) { if ( isNotReparentable ( ni , compViewParent , positionSet ) ) { LOG . info ( "Resetting the following NodeInfo because it is not reparentable: " + ni ) ; // this n...
public class BoxAuthentication { /** * Callback method to be called when authentication process finishes . * @ param infoOriginal the authentication information that successfully authenticated . * @ param context the current application context ( that can be used to launch ui or access resources ) . */ public void ...
BoxAuthenticationInfo info = BoxAuthenticationInfo . unmodifiableObject ( infoOriginal ) ; if ( ! SdkUtils . isBlank ( info . accessToken ( ) ) && ( info . getUser ( ) == null || SdkUtils . isBlank ( info . getUser ( ) . getId ( ) ) ) ) { // insufficient information so we need to fetch the user info first . doUserRefre...
public class FsCrawlerUtil { /** * We check if we can index the file or if we should ignore it * @ param directory true if the current file is a directory , false in other case ( actual file ) * @ param filename The filename to scan * @ param includes include rules , may be empty not null * @ param excludes exc...
logger . debug ( "directory = [{}], filename = [{}], includes = [{}], excludes = [{}]" , directory , filename , includes , excludes ) ; boolean isIndexable = isIndexable ( filename , includes , excludes ) ; // It can happen that we a dir " foo " which does not match the include name like " * . txt " // We need to go in...
public class ResourceGroovyMethods { /** * Helper method to create a new BufferedReader for a URL and then * passes it to the closure . The reader is closed after the closure returns . * @ param url a URL * @ param closure the closure to invoke with the reader * @ return the value returned by the closure * @ ...
return IOGroovyMethods . withReader ( url . openConnection ( ) . getInputStream ( ) , closure ) ;
public class TCPConnLink { /** * @ see * com . ibm . wsspi . channelfw . OutboundConnectionLink # connectAsynch ( java . lang . * Object ) */ public void connectAsynch ( Object context ) { } }
if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) { Tr . entry ( tc , "connectAsynch" ) ; } this . syncObject = null ; // reset proxy response object if ( this . proxy != null ) { this . proxy . setIsProxyResponseValid ( false ) ; } connectCommon ( ( TCPConnectRequestContext ) context ) ; if ( ...
public class RequestHttpBase { /** * Adds a new header . If an old header with that name exists , * both headers are output . * @ param key the header key . * @ param value the header value . */ public void addHeaderOutImpl ( String key , String value ) { } }
if ( headerOutSpecial ( key , value ) ) { return ; } ArrayList < String > keys = _headerKeysOut ; ArrayList < String > values = _headerValuesOut ; int size = keys . size ( ) ; // webapp / 1k32 for ( int i = 0 ; i < size ; i ++ ) { if ( keys . get ( i ) . equals ( key ) && values . get ( i ) . equals ( value ) ) { retur...
public class TypeConformanceComputer { /** * Logic was moved to inner class CommonSuperTypeFinder in the context of bug 495314. * This method is scheduled for deletion in Xtext 2.15 * @ deprecated see { @ link CommonSuperTypeFinder # getCommonParameterSuperType ( List ) } */ @ Deprecated public final LightweightTyp...
CommonSuperTypeFinder typeFinder = newCommonSuperTypeFinder ( owner ) ; typeFinder . requestsInProgress = Lists . newArrayList ( ) ; typeFinder . requestsInProgress . add ( initiallyRequested ) ; return typeFinder . getCommonParameterSuperType ( types ) ;
public class ServerOperationResolver { /** * Get server operations to affect a change to a system property . * @ param operation the domain or host level operation * @ param address address associated with { @ code operation } * @ param domain the domain model , or { @ code null } if { @ code address } isn ' t fo...
Map < Set < ServerIdentity > , ModelNode > result = null ; if ( isServerAffectingSystemPropertyOperation ( operation ) ) { String propName = address . getLastElement ( ) . getValue ( ) ; boolean overridden = false ; Set < String > groups = null ; if ( level == Level . DOMAIN || level == Level . SERVER_GROUP ) { if ( ha...
public class LineNumberReader { /** * Mark the present position in the stream . Subsequent calls to reset ( ) * will attempt to reposition the stream to this point , and will also reset * the line number appropriately . * @ param readAheadLimit * Limit on the number of characters that may be read while still ...
synchronized ( lock ) { super . mark ( readAheadLimit ) ; markedLineNumber = lineNumber ; markedSkipLF = skipLF ; }
public class PatternStreamBuilder { /** * Creates a data stream containing results of { @ link PatternProcessFunction } to fully matching event patterns . * @ param processFunction function to be applied to matching event sequences * @ param outTypeInfo output TypeInformation of * { @ link PatternProcessFunction ...
checkNotNull ( outTypeInfo ) ; checkNotNull ( processFunction ) ; final TypeSerializer < IN > inputSerializer = inputStream . getType ( ) . createSerializer ( inputStream . getExecutionConfig ( ) ) ; final boolean isProcessingTime = inputStream . getExecutionEnvironment ( ) . getStreamTimeCharacteristic ( ) == TimeChar...
public class FilteredJobLifecycleListener { /** * { @ inheritDoc } */ @ Override public void onStatusChange ( JobExecutionState state , RunningState previousStatus , RunningState newStatus ) { } }
if ( this . filter . apply ( state . getJobSpec ( ) ) ) { this . delegate . onStatusChange ( state , previousStatus , newStatus ) ; }
public class VirtualHubsInner { /** * Updates VirtualHub tags . * @ param resourceGroupName The resource group name of the VirtualHub . * @ param virtualHubName The name of the VirtualHub . * @ param tags Resource tags . * @ param serviceCallback the async ServiceCallback to handle successful and failed respons...
return ServiceFuture . fromResponse ( updateTagsWithServiceResponseAsync ( resourceGroupName , virtualHubName , tags ) , serviceCallback ) ;
public class Asn1Utils { /** * Encode an ASN . 1 BIT STRING . * @ param value * the value to be encoded * @ param nbits * the number of bits in the bit string * @ param buf * the buffer with space to the left of current position where the value will be encoded * @ return the length of the encoded data */ ...
if ( value == null || nbits < value . length ( ) ) { throw new IllegalArgumentException ( ) ; } int pos = buf . position ( ) ; int contentLength = ( int ) Math . ceil ( nbits / 8.0d ) ; for ( int i = contentLength ; i > 0 ; i -- ) { byte octet = 0 ; for ( int j = ( i - 1 ) * 8 ; j < i * 8 ; j ++ ) { if ( value . get ( ...
public class TopicTypesInner { /** * List event types . * List event types for a topic type . * @ param topicTypeName Name of the topic type * @ param serviceCallback the async ServiceCallback to handle successful and failed responses . * @ throws IllegalArgumentException thrown if parameters fail the validatio...
return ServiceFuture . fromResponse ( listEventTypesWithServiceResponseAsync ( topicTypeName ) , serviceCallback ) ;
public class DefaultComponentRegistry { /** * Adds a component to the registry . * @ param componentType * @ param component */ protected < T extends IComponent > void addComponent ( Class < T > componentType , T component ) { } }
components . put ( componentType , component ) ;
public class HashCodeBuilder { /** * Uses reflection to build a valid hash code from the fields of { @ code object } . * This constructor uses two hard coded choices for the constants needed to build a hash code . * It uses < code > AccessibleObject . setAccessible < / code > to gain access to private fields . This...
return reflectionHashCode ( DEFAULT_INITIAL_VALUE , DEFAULT_MULTIPLIER_VALUE , object , false , null , excludeFields ) ;
public class LinearSolverChol_ZDRM { /** * Used internally to find the solution to a single column vector . */ private void solveInternalL ( ) { } }
// This takes advantage of the diagonal elements always being real numbers // solve L * y = b storing y in x TriangularSolver_ZDRM . solveL_diagReal ( t , vv , n ) ; // solve L ^ T * x = y TriangularSolver_ZDRM . solveConjTranL_diagReal ( t , vv , n ) ;
public class BaseMatchMethodPermutationBuilder { /** * Returns true if the given { @ link ClassName } is a decomposable match builder ; false otherwise . */ protected boolean isDecomposableBuilder ( ClassName t ) { } }
return t . equals ( ClassName . get ( DecomposableMatchBuilder0 . class ) ) || t . equals ( ClassName . get ( DecomposableMatchBuilder1 . class ) ) || t . equals ( ClassName . get ( DecomposableMatchBuilder2 . class ) ) || t . equals ( ClassName . get ( DecomposableMatchBuilder3 . class ) ) ;
public class DroolsFactoryImpl { /** * < ! - - begin - user - doc - - > * < ! - - end - user - doc - - > * @ generated */ public String convertPackageNameTypeToString ( EDataType eDataType , Object instanceValue ) { } }
return XMLTypeFactory . eINSTANCE . convertToString ( XMLTypePackage . Literals . STRING , instanceValue ) ;
public class ApiTokenClient { /** * Retrieves a user scenario validation . * @ param id its id * @ return { @ link com . loadimpact . resource . UserScenarioValidation } */ public UserScenarioValidation getUserScenarioValidation ( int id ) { } }
return invoke ( USER_SCENARIO_VALIDATIONS , id , new RequestClosure < JsonObject > ( ) { @ Override public JsonObject call ( Invocation . Builder request ) { return request . get ( JsonObject . class ) ; } } , new ResponseClosure < JsonObject , UserScenarioValidation > ( ) { @ Override public UserScenarioValidation cal...
public class ActionsValidator { /** * Validate if an Event should generate an Action based on the constraints defined on a TriggerAction . * @ param triggerAction a TriggerAction where status and time constraints are defined . * @ param event a given Event to validate against a TriggerAction * @ return true if th...
if ( triggerAction == null || event == null ) { return true ; } if ( ( isEmpty ( triggerAction . getStates ( ) ) ) && triggerAction . getCalendar ( ) == null ) { return true ; } if ( event instanceof Alert && triggerAction . getStates ( ) != null && ! triggerAction . getStates ( ) . isEmpty ( ) && ! triggerAction . get...
public class GetCloudFormationTemplateRequestMarshaller { /** * Marshall the given parameter object . */ public void marshall ( GetCloudFormationTemplateRequest getCloudFormationTemplateRequest , ProtocolMarshaller protocolMarshaller ) { } }
if ( getCloudFormationTemplateRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( getCloudFormationTemplateRequest . getApplicationId ( ) , APPLICATIONID_BINDING ) ; protocolMarshaller . marshall ( getCloudFormationTemplateRequest . g...
public class GISCoordinates { /** * This function convert France Lambert IV coordinate to * extended France Lambert II coordinate . * @ param x is the coordinate in France Lambert IV * @ param y is the coordinate in France Lambert IV * @ return the extended France Lambert II coordinate . */ @ Pure public static...
final Point2d ntfLambdaPhi = NTFLambert_NTFLambdaPhi ( x , y , LAMBERT_4_N , LAMBERT_4_C , LAMBERT_4_XS , LAMBERT_4_YS ) ; return NTFLambdaPhi_NTFLambert ( ntfLambdaPhi . getX ( ) , ntfLambdaPhi . getY ( ) , LAMBERT_2E_N , LAMBERT_2E_C , LAMBERT_2E_XS , LAMBERT_2E_YS ) ;
public class J4pRequestHandler { /** * Create the request URI to use */ private URI createRequestURI ( String path , String queryParams ) throws URISyntaxException { } }
return new URI ( j4pServerUrl . getScheme ( ) , j4pServerUrl . getUserInfo ( ) , j4pServerUrl . getHost ( ) , j4pServerUrl . getPort ( ) , path , queryParams , null ) ;
public class EvaluatorWrapper { /** * This method is called when operators are rewritten as function calls . For instance , * x after y * Is rewritten as * after . evaluate ( _ workingMemory _ , x , y ) * @ return */ public boolean evaluate ( InternalWorkingMemory workingMemory , Object left , Object right ) { ...
Object leftValue = leftTimestamp != null ? leftTimestamp : left ; Object rightValue = rightTimestamp != null ? rightTimestamp : right ; return rightLiteral ? evaluator . evaluate ( workingMemory , new ConstantValueReader ( leftValue ) , dummyFactHandleOf ( leftValue ) , new ObjectFieldImpl ( rightValue ) ) : evaluator ...
public class HadoopInputFormatBase { @ Override public void configure ( Configuration parameters ) { } }
// enforce sequential configuration ( ) calls synchronized ( CONFIGURE_MUTEX ) { if ( mapreduceInputFormat instanceof Configurable ) { ( ( Configurable ) mapreduceInputFormat ) . setConf ( configuration ) ; } }
public class FileUtil { /** * pass in a directory path , get the list of statuses of leaf directories * @ param fs file system * @ param path path to scan * @ param acc the collection of file status of leaf directories * @ throws IOException if any error occurs */ public static void listStatusForLeafDir ( FileS...
if ( ! pathStatus . isDir ( ) ) return ; FileStatus [ ] fileStatusResults = fs . listStatus ( pathStatus . getPath ( ) ) ; if ( fileStatusResults == null ) { throw new IOException ( "Path does not exist: " + pathStatus . getPath ( ) ) ; } boolean leafDir = true ; for ( FileStatus f : fileStatusResults ) { if ( f . isDi...
public class Serialized { /** * Returns the deserialized objects from the given { @ link File } as an * { @ link Observable } stream . A buffer size of 8192 bytes is used by * default . * @ param file * the input file containing serialized java objects * @ param < T > * the generic type of the deserialized ...
return read ( file , DEFAULT_BUFFER_SIZE ) ;
public class XMLPropertiesField { /** * Convert these java properties to a string . * @ param properties The java properties . * @ return The properties string . */ public static String propertiesToXML ( Map < String , Object > map ) { } }
String strProperties = null ; ByteArrayOutputStream baOut = new ByteArrayOutputStream ( ) ; try { Properties properties = new Properties ( ) ; properties . putAll ( map ) ; properties . storeToXML ( baOut , PROPERTIES_COMMENT ) ; byte [ ] rgBytes = baOut . toByteArray ( ) ; ByteArrayInputStream baIn = new ByteArrayInpu...
public class ParquetInputFormat { /** * Configures the fields to be read and returned by the ParquetInputFormat . Selected fields must be present * in the configured schema . * @ param fieldNames Names of all selected fields . */ public void selectFields ( String [ ] fieldNames ) { } }
checkNotNull ( fieldNames , "fieldNames" ) ; this . fieldNames = fieldNames ; RowTypeInfo rowTypeInfo = ( RowTypeInfo ) ParquetSchemaConverter . fromParquetType ( expectedFileSchema ) ; TypeInformation [ ] selectFieldTypes = new TypeInformation [ fieldNames . length ] ; for ( int i = 0 ; i < fieldNames . length ; i ++ ...
public class Reflection { /** * Get a Field intance for a given class and property . Iterate over super classes of a class when a < @ link * NoSuchFieldException > occurs until no more super classes are found then re - throw the < @ link NoSuchFieldException > . * @ param targetClass * @ param propertyName * @ ...
Field field = null ; try { field = targetClass . getDeclaredField ( Inflector . getInstance ( ) . lowerCamelCase ( propertyName ) ) ; } catch ( NoSuchFieldException e ) { Class < ? > clazz = targetClass . getSuperclass ( ) ; if ( clazz != null ) { field = getField ( clazz , propertyName ) ; } else { throw e ; } } retur...
public class FileJournalManager { /** * Find the maximum transaction in the journal . * This gets stored in a member variable , as corrupt edit logs * will be moved aside , but we still need to remember their first * tranaction id in the case that it was the maximum transaction in * the journal . */ private lon...
for ( EditLogFile elf : getLogFiles ( 0 ) ) { if ( elf . isInProgress ( ) ) { maxSeenTransaction = Math . max ( elf . getFirstTxId ( ) , maxSeenTransaction ) ; } maxSeenTransaction = Math . max ( elf . getLastTxId ( ) , maxSeenTransaction ) ; } return maxSeenTransaction ;
public class Packer { /** * Specify the insets for the component . * @ param insets * the insets to apply */ public Packer inset ( final Insets insets ) { } }
gc . insets = insets ; setConstraints ( comp , gc ) ; return this ;
public class DatastoreImpl { /** * @ SuppressWarnings ( " unchecked " ) * private < T > Key < T > save ( final MongoCollection collection , final T entity , final InsertOneOptions options ) { * final MappedClass mc = validateSave ( entity ) ; * involvedObjects is used not only as a cache but also as a list of wha...
if ( entity == null ) { throw new UpdateException ( "Can not persist a null entity" ) ; } final MappedClass mc = mapper . getMappedClass ( entity ) ; if ( mc . getAnnotation ( NotSaved . class ) != null ) { throw new MappingException ( format ( "Entity type: %s is marked as NotSaved which means you should not try to sa...
public class RequestSecurityFilter { /** * If { @ code securityEnabled } , passes the request through the chain of { @ link RequestSecurityProcessor } s , * depending if the request URL * matches or not the { @ code urlsToInclude } or the { @ code urlsToExclude } . The last processor of the chain calls * the actu...
HttpServletRequest httpRequest = ( HttpServletRequest ) request ; if ( securityEnabled && ( includeRequest ( httpRequest ) || ! excludeRequest ( httpRequest ) ) ) { doFilterInternal ( ( HttpServletRequest ) request , ( HttpServletResponse ) response , chain ) ; } else { chain . doFilter ( request , response ) ; }
public class SSLTransportParameters { /** * Set the keystore , password , certificate type and the store type * @ param keyStore Location of the Keystore on disk * @ param keyPass Keystore password * @ param keyManagerType The default is X509 * @ param keyStoreType The default is JKS */ public void setKeyStore ...
if ( ( keyStore == null ) || ( keyPass == null ) ) { this . keyStore = System . getProperty ( "javax.net.ssl.keyStore" ) ; this . keyPass = System . getProperty ( "javax.net.ssl.keyStorePassword" ) ; } else { this . keyStore = keyStore ; this . keyPass = keyPass ; } if ( keyManagerType != null ) { this . keyManagerType...
public class MAPServiceLsmImpl { /** * ( non - Javadoc ) * @ see org . restcomm . protocols . ss7 . map . api . MAPServiceBase # isServingService ( org * . mobicents . protocols . ss7 . map . api . MAPApplicationContext ) */ public ServingCheckData isServingService ( MAPApplicationContext dialogApplicationContext )...
int vers = dialogApplicationContext . getApplicationContextVersion ( ) . getVersion ( ) ; switch ( dialogApplicationContext . getApplicationContextName ( ) ) { case locationSvcEnquiryContext : case locationSvcGatewayContext : if ( vers == 3 ) { return new ServingCheckDataImpl ( ServingCheckResult . AC_Serving ) ; } els...
public class SqlDateTimeUtils { /** * NOTE : * ( 1 ) . JDK relies on the operating system clock for time . * Each operating system has its own method of handling date changes such as * leap seconds ( e . g . OS will slow down the clock to accommodate for this ) . * ( 2 ) . DST ( Daylight Saving Time ) is a lega...
ZoneId zoneId = tz . toZoneId ( ) ; LocalDate ld1 = Instant . ofEpochMilli ( t1 ) . atZone ( zoneId ) . toLocalDate ( ) ; LocalDate ld2 = Instant . ofEpochMilli ( t2 ) . atZone ( zoneId ) . toLocalDate ( ) ; return ( int ) ChronoUnit . DAYS . between ( ld2 , ld1 ) ;
public class FileUtilsV2_2 { /** * Copies a file to a directory preserving the file date . * This method copies the contents of the specified source file * to a file of the same name in the specified destination directory . * The destination directory is created if it does not exist . * If the destination file ...
copyFileToDirectory ( srcFile , destDir , true ) ;
public class ElmBaseVisitor { /** * Visit a TupleTypeSpecifier . This method will be called for * every node in the tree that is a TupleTypeSpecifier . * @ param elm the ELM tree * @ param context the context passed to the visitor * @ return the visitor result */ public T visitTupleTypeSpecifier ( TupleTypeSpec...
for ( TupleElementDefinition element : elm . getElement ( ) ) { visitElement ( element , context ) ; } return null ;
public class GeoPtConverter { /** * Converts the specified value to * { @ code com . google . appengine . api . datastore . GeoPt } . * @ see org . apache . commons . beanutils . converters . AbstractConverter # convertToType ( java . lang . Class , java . lang . Object ) */ @ SuppressWarnings ( "rawtypes" ) @ Over...
String [ ] strings = value . toString ( ) . split ( "," ) ; if ( strings . length != 2 ) { throw new ConversionException ( "GeoPt 'value' must be able to be splitted into 2 float values " + "by ',' (latitude,longitude)" ) ; } try { float latitude = new BigDecimal ( strings [ 0 ] . trim ( ) ) . floatValue ( ) ; float lo...
public class DaoMetadata { /** * Populate the project metadata table . * @ param name the project name * @ param description an optional description . * @ param notes optional notes . * @ param creationUser the user creating the project . * @ throws java . io . IOException if something goes wrong . */ public ...
Date creationDate = new Date ( ) ; if ( name == null ) { name = "project-" + ETimeUtilities . INSTANCE . TIME_FORMATTER_LOCAL . format ( creationDate ) ; } if ( description == null ) { description = EMPTY_VALUE ; } if ( notes == null ) { notes = EMPTY_VALUE ; } if ( creationUser == null ) { creationUser = "dummy user" ...
public class EditsVisitor { /** * Convenience shortcut method to parse a specific token type */ public VLongToken visitVLong ( EditsElement e ) throws IOException { } }
return ( VLongToken ) visit ( tokenizer . read ( new VLongToken ( e ) ) ) ;
public class Client { /** * Get a batch of users assigned to privilege . * This is usually the first version of the users assigned to privilege batching methods to call as it requires no after - cursor information . * @ param id Id of the privilege * @ param batchSize Size of the Batch * @ return OneLoginRespon...
return getUsersAssignedToPrivilegesBatch ( id , batchSize , null ) ;
public class ModelDiff { /** * Returns true if one of the differences of this ModelDiff instance is an OpenEngSBForeignKey . Returns false * otherwise . */ public boolean isForeignKeyChanged ( ) { } }
return CollectionUtils . exists ( differences . values ( ) , new Predicate ( ) { @ Override public boolean evaluate ( Object object ) { return ( ( ModelDiffEntry ) object ) . isForeignKey ( ) ; } } ) ;
public class CmsSchedulerThreadPool { /** * Grows the thread pool by one new thread if the maximum pool size * has not been reached . < p > */ private void growThreadPool ( ) { } }
if ( m_currentThreadCount < m_maxThreadCount ) { // if maximum number is not reached grow the thread pool synchronized ( m_nextRunnableLock ) { m_workers [ m_currentThreadCount ] = new CmsSchedulerThread ( this , m_threadGroup , m_threadNamePrefix + m_currentThreadCount , m_threadPriority , m_makeThreadsDaemons ) ; m_w...
public class FnBigInteger { /** * It returns the { @ link String } representation of the target as a currency in the * default { @ link Locale } * @ return the { @ link String } representation of the input as a currency */ public static final Function < BigInteger , String > toCurrencyStr ( ) { } }
return ( Function < BigInteger , String > ) ( ( Function ) FnNumber . toCurrencyStr ( ) ) ;
public class ColorYuv { /** * Convert a 3 - channel { @ link Planar } image from YUV into RGB . If integer then YCbCr and not YUV . * @ param rgb ( Input ) RGB encoded image * @ param yuv ( Output ) YUV encoded image */ public static < T extends ImageGray < T > > void yuvToRgb ( Planar < T > yuv , Planar < T > rgb ...
rgb . reshape ( rgb . width , rgb . height , 3 ) ; if ( rgb . getBandType ( ) == GrayF32 . class ) { if ( BoofConcurrency . USE_CONCURRENT ) { ImplColorYuv_MT . yuvToRgb_F32 ( ( Planar < GrayF32 > ) yuv , ( Planar < GrayF32 > ) rgb ) ; } else { ImplColorYuv . yuvToRgb_F32 ( ( Planar < GrayF32 > ) yuv , ( Planar < GrayF...
public class XmlRpcClientExecutorFactory { /** * < p > newExecutor . < / p > * @ param url a { @ link java . lang . String } object . * @ return a { @ link com . greenpepper . server . rpc . xmlrpc . client . XmlRpcClientExecutor } object . * @ throws com . greenpepper . server . rpc . xmlrpc . client . XmlRpcCli...
try { LOGGER . debug ( "Instanciating new executor for url {} " , url ) ; return new XmlRpcV2ClientImpl ( url ) ; } catch ( Exception ex ) { throw new XmlRpcClientExecutorException ( GreenPepperServerErrorKey . GENERAL_ERROR , ex ) ; }
public class SortModel { /** * Check to see if the SortModel contains a { @ link Sort } whose sort expression matches the given * < code > sortExpression < / code > . * @ param sortExpression the sortExpression used to locate a { @ link Sort } * @ return < code > true < / code > if a { @ link Sort } is found whos...
if ( sortExpression == null ) return false ; Sort term = findSort ( sortExpression ) ; if ( term == null || term . getDirection ( ) == SortDirection . NONE ) return false ; else return true ;
public class NumberUtils { /** * Formats a number as per the given values . * @ param target The number to format . * @ param minIntegerDigits Minimum number digits to return ( 0 padding ) . * @ param thousandsPointType Character to use for separating number groups . * @ param fractionDigits Minimum number of f...
Validate . notNull ( fractionDigits , "Fraction digits cannot be null" ) ; Validate . notNull ( decimalPointType , "Decimal point type cannot be null" ) ; Validate . notNull ( thousandsPointType , "Thousands point type cannot be null" ) ; Validate . notNull ( locale , "Locale cannot be null" ) ; if ( target == null ) {...
public class JSONDocApiMethodDocValidator { /** * This checks that some of the properties are correctly set to produce a meaningful documentation and a working playground . In case this does not happen * an error string is added to the jsondocerrors list in ApiMethodDoc . * It also checks that some properties are b...
final String ERROR_MISSING_METHOD_PATH = "Missing documentation data: path" ; final String ERROR_MISSING_PATH_PARAM_NAME = "Missing documentation data: path parameter name" ; final String ERROR_MISSING_QUERY_PARAM_NAME = "Missing documentation data: query parameter name" ; final String ERROR_MISSING_HEADER_NAME = "Miss...