code
stringlengths
130
281k
code_dependency
stringlengths
182
306k
public class class_name { public Random getNewRandomInstance(long seed) { try { Random t = (Random) randomClass.newInstance(); if (t.getStatePointer() != null) { // TODO: attach this thing to deallocator // if it's stateless random - we just don't care th...
public class class_name { public Random getNewRandomInstance(long seed) { try { Random t = (Random) randomClass.newInstance(); if (t.getStatePointer() != null) { // TODO: attach this thing to deallocator // if it's stateless random - we just don't care th...
public class class_name { public boolean compete(NamespaceSpecification other) { // if no wildcard for other then we check coverage if ("".equals(other.wildcard)) { return covers(other.ns); } // split the namespaces at wildcards String[] otherParts = split(other.ns, other.wildcard); ...
public class class_name { public boolean compete(NamespaceSpecification other) { // if no wildcard for other then we check coverage if ("".equals(other.wildcard)) { return covers(other.ns); // depends on control dependency: [if], data = [none] } // split the namespaces at wildcards Strin...
public class class_name { public String getNormalisedContentTypeValue() { String contentType = getHeader(CONTENT_TYPE); if (contentType != null) { return contentType.toLowerCase(Locale.ROOT); } return null; } }
public class class_name { public String getNormalisedContentTypeValue() { String contentType = getHeader(CONTENT_TYPE); if (contentType != null) { return contentType.toLowerCase(Locale.ROOT); // depends on control dependency: [if], data = [none] } return null; } }
public class class_name { protected Content getPackage(PackageDoc pd, String profileName) { Content packageLinkContent; Content pkgLabel; if (pd.name().length() > 0) { pkgLabel = getPackageLabel(pd.name()); packageLinkContent = getHyperLink(pathString(pd, ...
public class class_name { protected Content getPackage(PackageDoc pd, String profileName) { Content packageLinkContent; Content pkgLabel; if (pd.name().length() > 0) { pkgLabel = getPackageLabel(pd.name()); // depends on control dependency: [if], data = [none] packageLin...
public class class_name { public FileIndexBuilder appendNextRecord(long recordSize) { checkIfDestroyed(); if (recordSize < 0) throw new IllegalArgumentException("Size cannot be negative."); if (currentRecord == step) { index.add(startingByte + currentByte); c...
public class class_name { public FileIndexBuilder appendNextRecord(long recordSize) { checkIfDestroyed(); if (recordSize < 0) throw new IllegalArgumentException("Size cannot be negative."); if (currentRecord == step) { index.add(startingByte + currentByte); // depends on...
public class class_name { public void marshall(DeleteBaiduChannelRequest deleteBaiduChannelRequest, ProtocolMarshaller protocolMarshaller) { if (deleteBaiduChannelRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { proto...
public class class_name { public void marshall(DeleteBaiduChannelRequest deleteBaiduChannelRequest, ProtocolMarshaller protocolMarshaller) { if (deleteBaiduChannelRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { proto...
public class class_name { private RenditionMetadata getVirtualRendition(Set<RenditionMetadata> candidates, long destWidth, long destHeight, double destRatio) { // if ratio is defined get first rendition with matching ratio and same or bigger size if (destRatio > 0) { for (RenditionMetadata candida...
public class class_name { private RenditionMetadata getVirtualRendition(Set<RenditionMetadata> candidates, long destWidth, long destHeight, double destRatio) { // if ratio is defined get first rendition with matching ratio and same or bigger size if (destRatio > 0) { for (RenditionMetadata candida...
public class class_name { public void closeStaleConnections() { logger.debug("closeStaleConnections() count before expiring: {}", getConnectionCount()); Set<ConnectionKey> stale = getStaleConnectionKeys(); for (ConnectionKey connectionKey : stale) { connectionProvider.close(conne...
public class class_name { public void closeStaleConnections() { logger.debug("closeStaleConnections() count before expiring: {}", getConnectionCount()); Set<ConnectionKey> stale = getStaleConnectionKeys(); for (ConnectionKey connectionKey : stale) { connectionProvider.close(conne...
public class class_name { protected void _generate(SarlScript script, IExtraLanguageGeneratorContext context) { if (script != null) { for (final XtendTypeDeclaration content : script.getXtendTypes()) { if (context.getCancelIndicator().isCanceled()) { return; } try { generate(content, context...
public class class_name { protected void _generate(SarlScript script, IExtraLanguageGeneratorContext context) { if (script != null) { for (final XtendTypeDeclaration content : script.getXtendTypes()) { if (context.getCancelIndicator().isCanceled()) { return; // depends on control dependency: [if], data =...
public class class_name { protected final void addPropertyAlias(String alias, Class<?> type, String name) { Map<String, Property> typeMap = properties.get(type); if (typeMap == null) { typeMap = new HashMap<String, Property>(); properties.put(type, typeMap); } ...
public class class_name { protected final void addPropertyAlias(String alias, Class<?> type, String name) { Map<String, Property> typeMap = properties.get(type); if (typeMap == null) { typeMap = new HashMap<String, Property>(); // depends on control dependency: [if], data = [none] ...
public class class_name { private Node createTryCatchFinally(Node tryBlock, Node catchBlocks, Node finallyBlock, int lineno) { boolean hasFinally = (finallyBlock != null) && (finallyBlock.getType() != Token.BLOCK ...
public class class_name { private Node createTryCatchFinally(Node tryBlock, Node catchBlocks, Node finallyBlock, int lineno) { boolean hasFinally = (finallyBlock != null) && (finallyBlock.getType() != Token.BLOCK ...
public class class_name { @SuppressWarnings("unchecked") @Override public V get(Object key) { LinkedHashMapSegment<K, V> seg = segmentFor(key.hashCode()); try { seg.lock.lock(); return mapEventListener.onGetEntry((K) key, seg.get(key)); } finally { se...
public class class_name { @SuppressWarnings("unchecked") @Override public V get(Object key) { LinkedHashMapSegment<K, V> seg = segmentFor(key.hashCode()); try { seg.lock.lock(); // depends on control dependency: [try], data = [none] return mapEventListener.onGetEntry((K)...
public class class_name { @Weight(value = Weight.Unit.VARIABLE, comment = "Depends on the current call stack depth") public static void checkPoint(@Nonnull final String timePointName) { final long time = System.currentTimeMillis(); final int stackDepth = ThreadUtils.stackDepth(); final List<TimeData> li...
public class class_name { @Weight(value = Weight.Unit.VARIABLE, comment = "Depends on the current call stack depth") public static void checkPoint(@Nonnull final String timePointName) { final long time = System.currentTimeMillis(); final int stackDepth = ThreadUtils.stackDepth(); final List<TimeData> li...
public class class_name { private void eatExpression() { List segments = new ArrayList(); eatSplicedRange(segments); list.add(segments); if (tokenizer.hasMoreTokens()) {// ∈ tokenizer.peekToken(0, TokenKind.COMMA); tokenizer.nextToken(); eatExpression...
public class class_name { private void eatExpression() { List segments = new ArrayList(); eatSplicedRange(segments); list.add(segments); if (tokenizer.hasMoreTokens()) {// ∈ tokenizer.peekToken(0, TokenKind.COMMA); // depends on control dependency: [if], data = [none] ...
public class class_name { public static Map<String, Method> getClassWriteMethods(Class<?> clazz) { Map<String, Method> writeMethods = classWriteMethods.get(clazz); if (writeMethods == null) { cacheReadWriteMethodsAndBoxField(clazz); return classWriteMethods.get(clazz); } else return writeMethods; } }
public class class_name { public static Map<String, Method> getClassWriteMethods(Class<?> clazz) { Map<String, Method> writeMethods = classWriteMethods.get(clazz); if (writeMethods == null) { cacheReadWriteMethodsAndBoxField(clazz); // depends on control dependency: [if], data = [none] return classWriteMetho...
public class class_name { @Override protected void doPerform() { if (isSourceDocumentRoot()) { getActions().contextClick().perform(); } else { getActions().contextClick(getFirstElement()).perform(); } } }
public class class_name { @Override protected void doPerform() { if (isSourceDocumentRoot()) { getActions().contextClick().perform(); // depends on control dependency: [if], data = [none] } else { getActions().contextClick(getFirstElement()).perform(); // depends on control ...
public class class_name { public String getTooltip() { final String key = "pm.field." + getEntity().getId() + "." + getId() + ".tooltip"; if (key == null) { return null; } final String message = getPm().message(key); if (key.equals(message)) { return null...
public class class_name { public String getTooltip() { final String key = "pm.field." + getEntity().getId() + "." + getId() + ".tooltip"; if (key == null) { return null; // depends on control dependency: [if], data = [none] } final String message = getPm().message(key); ...
public class class_name { public static void main(String[] args) { try { SAXCLIParameters params = new SAXCLIParameters(); JCommander jct = new JCommander(params, args); if (0 == args.length) { jct.usage(); } else { // get params printed // StringBuf...
public class class_name { public static void main(String[] args) { try { SAXCLIParameters params = new SAXCLIParameters(); JCommander jct = new JCommander(params, args); if (0 == args.length) { jct.usage(); // depends on control dependency: [if], data = [none] } else { ...
public class class_name { public RequestDispatcher getErrorPageDispatcher(ServletRequest req, ServletErrorReport ser) { if (this.getDestroyed().booleanValue()) { // should be a fast boolean check. throw new MajorHandlingRuntimeException("WebContainer can not handle the request"); } ...
public class class_name { public RequestDispatcher getErrorPageDispatcher(ServletRequest req, ServletErrorReport ser) { if (this.getDestroyed().booleanValue()) { // should be a fast boolean check. throw new MajorHandlingRuntimeException("WebContainer can not handle the request"); } ...
public class class_name { public void marshall(DeregisterVolumeRequest deregisterVolumeRequest, ProtocolMarshaller protocolMarshaller) { if (deregisterVolumeRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMar...
public class class_name { public void marshall(DeregisterVolumeRequest deregisterVolumeRequest, ProtocolMarshaller protocolMarshaller) { if (deregisterVolumeRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMar...
public class class_name { public void writeUncommitted(SIMPMessage m) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "writeUncommitted", new Object[] { m }); TickRange tr = null; JsMessage jsMsg...
public class class_name { public void writeUncommitted(SIMPMessage m) throws SIResourceException { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "writeUncommitted", new Object[] { m }); TickRange tr = null; JsMessage jsMsg...
public class class_name { public void addOutgoingFor(String[] varNames, DifferentialFunction function) { if (function.getOwnName() == null) throw new ND4JIllegalStateException("Instance id can not be null. Function not initialized properly"); if (ops.get(function.getOwnName()).getOutputs...
public class class_name { public void addOutgoingFor(String[] varNames, DifferentialFunction function) { if (function.getOwnName() == null) throw new ND4JIllegalStateException("Instance id can not be null. Function not initialized properly"); if (ops.get(function.getOwnName()).getOutputs...
public class class_name { @Unstable public static String serializeType(Type type) { if (type == null) { return null; } StringBuilder sb = new StringBuilder(); if (type instanceof ParameterizedType) { ParameterizedType parameterizedType = (ParameterizedTy...
public class class_name { @Unstable public static String serializeType(Type type) { if (type == null) { return null; // depends on control dependency: [if], data = [none] } StringBuilder sb = new StringBuilder(); if (type instanceof ParameterizedType) { ...
public class class_name { public static List<Integer> listDifferences(BitSet bs1, BitSet bs2) { List<Integer> l = new ArrayList<Integer>(); LOGGER.debug("Listing bit positions set in bs2 but not in bs1"); for (int f = 0; f < bs2.size(); f++) { if (bs2.get(f) && !bs1.get(f)) { ...
public class class_name { public static List<Integer> listDifferences(BitSet bs1, BitSet bs2) { List<Integer> l = new ArrayList<Integer>(); LOGGER.debug("Listing bit positions set in bs2 but not in bs1"); for (int f = 0; f < bs2.size(); f++) { if (bs2.get(f) && !bs1.get(f)) { ...
public class class_name { public long getLastModified(VirtualFile mountPoint, VirtualFile target) { final ZipNode zipNode = getZipNode(mountPoint, target); if (zipNode == null) { return 0L; } final File cachedFile = zipNode.cachedFile; final JarEntry entry = zipNode....
public class class_name { public long getLastModified(VirtualFile mountPoint, VirtualFile target) { final ZipNode zipNode = getZipNode(mountPoint, target); if (zipNode == null) { return 0L; // depends on control dependency: [if], data = [none] } final File cachedFile = zipNo...
public class class_name { public List<File> findAll() { List<File> allFiles = new ArrayList<>(); File file; while ((file = nextFile()) != null) { allFiles.add(file); } return allFiles; } }
public class class_name { public List<File> findAll() { List<File> allFiles = new ArrayList<>(); File file; while ((file = nextFile()) != null) { allFiles.add(file); // depends on control dependency: [while], data = [none] } return allFiles; } }
public class class_name { protected boolean doOrder(Node parentNode, List<OrderMember> members) { boolean success = true; for (int i = 0; i < members.size(); i++) { OrderMember member = members.get(i); int status = HTTPStatus.OK; try { p...
public class class_name { protected boolean doOrder(Node parentNode, List<OrderMember> members) { boolean success = true; for (int i = 0; i < members.size(); i++) { OrderMember member = members.get(i); int status = HTTPStatus.OK; try { p...
public class class_name { public String getType() { String type = getPropertyAsString(FIELD_TYPE); if (type == null){ return getPropertyAsString(FIELD_ITEM_TYPE); } return type; } }
public class class_name { public String getType() { String type = getPropertyAsString(FIELD_TYPE); if (type == null){ return getPropertyAsString(FIELD_ITEM_TYPE); // depends on control dependency: [if], data = [none] } return type; } }
public class class_name { public long getSequenceID() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getSequenceID"); long sequenceID=0; try { SIMPMessage msg = getSIMPMessage(); if(msg!=null) { sequenceID = msg.getMessage().getGuar...
public class class_name { public long getSequenceID() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "getSequenceID"); long sequenceID=0; try { SIMPMessage msg = getSIMPMessage(); if(msg!=null) { sequenceID = msg.getMessage().getGuar...
public class class_name { public JBBPIntegerValueEvaluator make(final String expression, final List<JBBPNamedFieldInfo> namedFields, final byte[] compiledScript) { final JBBPIntegerValueEvaluator result; if (JBBPExpressionEvaluator.hasExpressionOperators(expression)) { // expression result = new J...
public class class_name { public JBBPIntegerValueEvaluator make(final String expression, final List<JBBPNamedFieldInfo> namedFields, final byte[] compiledScript) { final JBBPIntegerValueEvaluator result; if (JBBPExpressionEvaluator.hasExpressionOperators(expression)) { // expression result = new J...
public class class_name { static public int[] randomIntegers(int start, int end, int size){ Preconditions.checkArgument(start < end, "Start must be less than end."); Random random = new Random(); random.setSeed(System.currentTimeMillis()); int[] result = new int[size]; for (int i = 0; i < size; i ++){ ...
public class class_name { static public int[] randomIntegers(int start, int end, int size){ Preconditions.checkArgument(start < end, "Start must be less than end."); Random random = new Random(); random.setSeed(System.currentTimeMillis()); int[] result = new int[size]; for (int i = 0; i < size; i ++){ ...
public class class_name { static FormattingTuple arrayFormat(final String messagePattern, final Object[] argArray) { if (argArray == null || argArray.length == 0) { return new FormattingTuple(messagePattern, null); } int lastArrIdx = argArray....
public class class_name { static FormattingTuple arrayFormat(final String messagePattern, final Object[] argArray) { if (argArray == null || argArray.length == 0) { return new FormattingTuple(messagePattern, null); // depends on control dependency: [if], data ...
public class class_name { protected void addToRelationStack(Map<Object, Object> relationStack, Object entity, EntityMetadata m) { Object obj = entity; if (entity instanceof EnhanceEntity) { obj = ((EnhanceEntity) entity).getEntity(); } relationStack.put(obj.getCl...
public class class_name { protected void addToRelationStack(Map<Object, Object> relationStack, Object entity, EntityMetadata m) { Object obj = entity; if (entity instanceof EnhanceEntity) { obj = ((EnhanceEntity) entity).getEntity(); // depends on control dependency: [if], data ...
public class class_name { public final Flux<T> take(Duration timespan, Scheduler timer) { if (!timespan.isZero()) { return takeUntilOther(Mono.delay(timespan, timer)); } else { return take(0); } } }
public class class_name { public final Flux<T> take(Duration timespan, Scheduler timer) { if (!timespan.isZero()) { return takeUntilOther(Mono.delay(timespan, timer)); // depends on control dependency: [if], data = [none] } else { return take(0); // depends on control dependency: [if], data = [none] } }...
public class class_name { public static void crashVoltDB(String reason, String traces[], String filename, int lineno) { VoltLogger hostLog = new VoltLogger("HOST"); String fn = (filename == null) ? "unknown" : filename; String re = (reason == null) ? "Fatal EE error." : reason; hostLog....
public class class_name { public static void crashVoltDB(String reason, String traces[], String filename, int lineno) { VoltLogger hostLog = new VoltLogger("HOST"); String fn = (filename == null) ? "unknown" : filename; String re = (reason == null) ? "Fatal EE error." : reason; hostLog....
public class class_name { public Action0 getEndAction() { return new Action0() { @Override public void call() { if (endTime == null) { endTime = new Date().getTime(); PerformanceLogger.log(PerformanceMetrics.this); } } }; } }
public class class_name { public Action0 getEndAction() { return new Action0() { @Override public void call() { if (endTime == null) { endTime = new Date().getTime(); // depends on control dependency: [if], data = [none] PerformanceLogger.log(PerformanceMetrics.this); // dep...
public class class_name { public void marshall(BackendConnectionErrors backendConnectionErrors, ProtocolMarshaller protocolMarshaller) { if (backendConnectionErrors == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMar...
public class class_name { public void marshall(BackendConnectionErrors backendConnectionErrors, ProtocolMarshaller protocolMarshaller) { if (backendConnectionErrors == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMar...
public class class_name { @Override public void actionCommit() { List errors = new ArrayList(); try { // get the correct module String moduleName = getParamModule(); CmsModule module = (CmsModule)OpenCms.getModuleManager().getModule(moduleName).clone(); ...
public class class_name { @Override public void actionCommit() { List errors = new ArrayList(); try { // get the correct module String moduleName = getParamModule(); CmsModule module = (CmsModule)OpenCms.getModuleManager().getModule(moduleName).clone(); ...
public class class_name { public static void removeLongLivedPageFlow( String modulePath, HttpServletRequest request, ServletContext servletContext ) { StorageHandler sh = Handlers.get( servletContext ).getStorageHandler(); HttpServletRequest unwrapped...
public class class_name { public static void removeLongLivedPageFlow( String modulePath, HttpServletRequest request, ServletContext servletContext ) { StorageHandler sh = Handlers.get( servletContext ).getStorageHandler(); HttpServletRequest unwrapped...
public class class_name { public IDrawerItem generateMiniDrawerItem(IDrawerItem drawerItem) { if (drawerItem instanceof SecondaryDrawerItem) { return mIncludeSecondaryDrawerItems ? new MiniDrawerItem((SecondaryDrawerItem) drawerItem).withEnableSelectedBackground(mEnableSelectedMiniDrawerItemBackgro...
public class class_name { public IDrawerItem generateMiniDrawerItem(IDrawerItem drawerItem) { if (drawerItem instanceof SecondaryDrawerItem) { return mIncludeSecondaryDrawerItems ? new MiniDrawerItem((SecondaryDrawerItem) drawerItem).withEnableSelectedBackground(mEnableSelectedMiniDrawerItemBackgro...
public class class_name { private List<CmsGalleryFolderBean> buildGalleriesList(Map<String, CmsGalleryTypeInfo> galleryTypes) { List<CmsGalleryFolderBean> list = new ArrayList<CmsGalleryFolderBean>(); if (galleryTypes == null) { return list; } Iterator<Entry<String, CmsGall...
public class class_name { private List<CmsGalleryFolderBean> buildGalleriesList(Map<String, CmsGalleryTypeInfo> galleryTypes) { List<CmsGalleryFolderBean> list = new ArrayList<CmsGalleryFolderBean>(); if (galleryTypes == null) { return list; // depends on control dependency: [if], data = [...
public class class_name { public final AbstractItemLink remove(long key) { AbstractItemLink link = null; synchronized (_getLock(key)) { if(null != _entry) /// 666212 {// 666212 int i = _indexOfKey(key); AbstractItemLink previousEntry = _...
public class class_name { public final AbstractItemLink remove(long key) { AbstractItemLink link = null; synchronized (_getLock(key)) { if(null != _entry) /// 666212 {// 666212 int i = _indexOfKey(key); AbstractItemLink previousEntry = _...
public class class_name { public static <T> T newInstance(final String className) { try { return (T) Thread.currentThread().getContextClassLoader().loadClass(className).newInstance(); } catch (final Exception e) { throw new RuntimeException(e); } } }
public class class_name { public static <T> T newInstance(final String className) { try { return (T) Thread.currentThread().getContextClassLoader().loadClass(className).newInstance(); // depends on control dependency: [try], data = [none] } catch (final Exception e) { throw new RuntimeException(e); } ...
public class class_name { protected static <T> T _execute( final URL from_url, final HttpMethod method, final RequestCallback callback, final ResponseExtractor<T> extractor ) { _LOG_.debug( "HTTP: method = "...
public class class_name { protected static <T> T _execute( final URL from_url, final HttpMethod method, final RequestCallback callback, final ResponseExtractor<T> extractor ) { _LOG_.debug( "HTTP: method = "...
public class class_name { public void askSubscribers( Actor sender, String topic, Object message, Callback cb ) { List<ReceiverActor> subscriber = topic2Subscriber.get(topic); if ( subscriber != null ) { List<IPromise> results = subscriber.stream() .filter(subs -> !subs....
public class class_name { public void askSubscribers( Actor sender, String topic, Object message, Callback cb ) { List<ReceiverActor> subscriber = topic2Subscriber.get(topic); if ( subscriber != null ) { List<IPromise> results = subscriber.stream() .filter(subs -> !subs....
public class class_name { private int getCarbonsCount(IAtomContainer ac, IAtom atom) { List<IAtom> neighbours = ac.getConnectedAtomsList(atom); int ccounter = 0; for (IAtom neighbour : neighbours) { if (neighbour.getSymbol().equals("C")) { if (!neighbour.getFlag(CDKC...
public class class_name { private int getCarbonsCount(IAtomContainer ac, IAtom atom) { List<IAtom> neighbours = ac.getConnectedAtomsList(atom); int ccounter = 0; for (IAtom neighbour : neighbours) { if (neighbour.getSymbol().equals("C")) { if (!neighbour.getFlag(CDKC...
public class class_name { private void copyJnlpFiles() throws MavenReportException { if ( !jnlpSourceDirectory.exists() ) { throw new MavenReportException( "jnlpSourceDirectory does not exist" ); } try { File destinationDirectory = new Fil...
public class class_name { private void copyJnlpFiles() throws MavenReportException { if ( !jnlpSourceDirectory.exists() ) { throw new MavenReportException( "jnlpSourceDirectory does not exist" ); } try { File destinationDirectory = new Fil...
public class class_name { public boolean newPage() { if (!open || close) { return false; } DocListener listener; for (Iterator iterator = listeners.iterator(); iterator.hasNext();) { listener = (DocListener) iterator.next(); listener.newPage(); } ...
public class class_name { public boolean newPage() { if (!open || close) { return false; // depends on control dependency: [if], data = [none] } DocListener listener; for (Iterator iterator = listeners.iterator(); iterator.hasNext();) { listener = (DocListener) iterato...
public class class_name { public static IntIterator mergeAscending(List<IntIterator> iterators) { if (iterators.isEmpty()) { return IntIterators.EMPTY_ITERATOR; } if (iterators.size() == 1) { return iterators.get(0); } return new MergeIntIterator(iterators); } }
public class class_name { public static IntIterator mergeAscending(List<IntIterator> iterators) { if (iterators.isEmpty()) { return IntIterators.EMPTY_ITERATOR; // depends on control dependency: [if], data = [none] } if (iterators.size() == 1) { return iterators.get(0); // depends on control ...
public class class_name { public CreateRobotApplicationResult withSources(Source... sources) { if (this.sources == null) { setSources(new java.util.ArrayList<Source>(sources.length)); } for (Source ele : sources) { this.sources.add(ele); } return this; ...
public class class_name { public CreateRobotApplicationResult withSources(Source... sources) { if (this.sources == null) { setSources(new java.util.ArrayList<Source>(sources.length)); // depends on control dependency: [if], data = [none] } for (Source ele : sources) { th...
public class class_name { @Subscribe public void onLogout(LogoutRequestEvent event) { Subject subject = ThreadContext.getSubject(); if (subject != null) { subject.logout(); } } }
public class class_name { @Subscribe public void onLogout(LogoutRequestEvent event) { Subject subject = ThreadContext.getSubject(); if (subject != null) { subject.logout(); // depends on control dependency: [if], data = [none] } } }
public class class_name { protected void findConfig() { String propLocation = sc.getInitParameter(PROP_LOCATION); if (Strings.isBlank(propLocation)) { propLocation = "nutz.properties"; } PropertiesProxy pp = new PropertiesProxy(); Enumeration<String> params = sc.getI...
public class class_name { protected void findConfig() { String propLocation = sc.getInitParameter(PROP_LOCATION); if (Strings.isBlank(propLocation)) { propLocation = "nutz.properties"; // depends on control dependency: [if], data = [none] } PropertiesProxy pp = new Propertie...
public class class_name { private void addChildren(final UIClassification _parent, final Set<Classification> _children, final Set<UUID> _selectedUUID, final Instance _instance) throws EFapsException { for (final ...
public class class_name { private void addChildren(final UIClassification _parent, final Set<Classification> _children, final Set<UUID> _selectedUUID, final Instance _instance) throws EFapsException { for (final ...
public class class_name { public static void main(String[] args) { if (args.length == EXPECTED_NUMBER_ARGS) { final String encryptValue = new EncryptProperty().encryptValue(args[0], args[1]); System.out.println(ENCRYPTED_VALUE +encryptValue); System.out.println(ENCRYPTED_PROPERTY_VALUE + ENC_CONTENT_PREFIX ...
public class class_name { public static void main(String[] args) { if (args.length == EXPECTED_NUMBER_ARGS) { final String encryptValue = new EncryptProperty().encryptValue(args[0], args[1]); System.out.println(ENCRYPTED_VALUE +encryptValue); // depends on control dependency: [if], data = [none] System.out....
public class class_name { public <E extends Edge> double[] compute(Graph<E> g) { // Perform a quick test for whether the vertices of g are a contiguous // sequence starting at 0, which makes the vertex mapping trivial if (!hasContiguousVertices(g)) throw new IllegalArgumentException...
public class class_name { public <E extends Edge> double[] compute(Graph<E> g) { // Perform a quick test for whether the vertices of g are a contiguous // sequence starting at 0, which makes the vertex mapping trivial if (!hasContiguousVertices(g)) throw new IllegalArgumentException...
public class class_name { private List<Deployment> defaultDeployments(List<Deployment> deployments) { List<Deployment> defaults = new ArrayList<Deployment>(); for (Deployment deployment : deployments) { if (deployment.getDescription().getName().equals(DeploymentTargetDescription.DEFAULT.get...
public class class_name { private List<Deployment> defaultDeployments(List<Deployment> deployments) { List<Deployment> defaults = new ArrayList<Deployment>(); for (Deployment deployment : deployments) { if (deployment.getDescription().getName().equals(DeploymentTargetDescription.DEFAULT.get...
public class class_name { public static String dateOffset(String initial, String offset) { Date date = convertFromAgmipDateString(initial); BigInteger iOffset; if (date == null) { // Invalid date return null; } GregorianCalendar cal = new GregorianCalenda...
public class class_name { public static String dateOffset(String initial, String offset) { Date date = convertFromAgmipDateString(initial); BigInteger iOffset; if (date == null) { // Invalid date return null; // depends on control dependency: [if], data = [none] ...
public class class_name { public final EObject ruleParameterReference() throws RecognitionException { EObject current = null; Token otherlv_0=null; enterRule(); try { // InternalXtext.g:2029:2: ( ( (otherlv_0= RULE_ID ) ) ) // InternalXtext.g:2030:2: ( (othe...
public class class_name { public final EObject ruleParameterReference() throws RecognitionException { EObject current = null; Token otherlv_0=null; enterRule(); try { // InternalXtext.g:2029:2: ( ( (otherlv_0= RULE_ID ) ) ) // InternalXtext.g:2030:2: ( (othe...
public class class_name { static void setSingleParam(String key, String value, DbConn cnx) { QueryResult r = cnx.runUpdate("globalprm_update_value_by_key", value, key); if (r.nbUpdated == 0) { cnx.runUpdate("globalprm_insert", key, value); } cnx.commit(); } }
public class class_name { static void setSingleParam(String key, String value, DbConn cnx) { QueryResult r = cnx.runUpdate("globalprm_update_value_by_key", value, key); if (r.nbUpdated == 0) { cnx.runUpdate("globalprm_insert", key, value); // depends on control dependency: [if],...
public class class_name { protected static boolean locateMatchingAttributeValue(final String attrName, final String attrValue, final Map<String, List<Object>> attributes, final boolean matchIfNoValueProv...
public class class_name { protected static boolean locateMatchingAttributeValue(final String attrName, final String attrValue, final Map<String, List<Object>> attributes, final boolean matchIfNoValueProv...
public class class_name { private Integer remove(String name, Integer defaultValue, int min, TimeUnit units, int... range) throws Exception { Object value = null; for (int diff; value == null && entry != null && (diff = entry.getKey().compareTo(name)) <= 0; entry = entries.pollFirstEntry()) { ...
public class class_name { private Integer remove(String name, Integer defaultValue, int min, TimeUnit units, int... range) throws Exception { Object value = null; for (int diff; value == null && entry != null && (diff = entry.getKey().compareTo(name)) <= 0; entry = entries.pollFirstEntry()) { ...
public class class_name { private static Border createTableHeaderEmptyColumnPainter(final JTable table) { return new AbstractBorder() { @Override public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { // if this JTableHeader is parented i...
public class class_name { private static Border createTableHeaderEmptyColumnPainter(final JTable table) { return new AbstractBorder() { @Override public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { // if this JTableHeader is parented i...
public class class_name { public static UUID from128(byte[] data, int offset, boolean littleEndian) { if (data == null || offset < 0 || data.length <= (offset + 15) || (Integer.MAX_VALUE - 15) < offset) { return null; } String uuid; if (littleEndian) { ...
public class class_name { public static UUID from128(byte[] data, int offset, boolean littleEndian) { if (data == null || offset < 0 || data.length <= (offset + 15) || (Integer.MAX_VALUE - 15) < offset) { return null; // depends on control dependency: [if], data = [none] } ...
public class class_name { public long checkPause() { if (pauseOnLongQueue && (getNumOfPendingMessages() > queue4Sink.remainingCapacity() || getNumOfPendingMessages() > MAX_PENDING_MESSAGES_TO_PAUSE)) { double throughputRate = Math.max(throughput.meanRate(), 1.0); ...
public class class_name { public long checkPause() { if (pauseOnLongQueue && (getNumOfPendingMessages() > queue4Sink.remainingCapacity() || getNumOfPendingMessages() > MAX_PENDING_MESSAGES_TO_PAUSE)) { double throughputRate = Math.max(throughput.meanRate(), 1.0); ...
public class class_name { private boolean validateResourceIsValid(final Resource externalResource) { boolean isValid = true; try { URL url = externalResource.getURL(); if (url.getPath() != null && url.getPath().contains(".jar") && !url.getPath().contains("dummyConfig")) { ...
public class class_name { private boolean validateResourceIsValid(final Resource externalResource) { boolean isValid = true; try { URL url = externalResource.getURL(); if (url.getPath() != null && url.getPath().contains(".jar") && !url.getPath().contains("dummyConfig")) { ...
public class class_name { public char[] toCharArray() { if (size == 0) { return ArrayUtils.EMPTY_CHAR_ARRAY; } final char chars[] = new char[size]; System.arraycopy(buffer, 0, chars, 0, size); return chars; } }
public class class_name { public char[] toCharArray() { if (size == 0) { return ArrayUtils.EMPTY_CHAR_ARRAY; // depends on control dependency: [if], data = [none] } final char chars[] = new char[size]; System.arraycopy(buffer, 0, chars, 0, size); return chars; } ...
public class class_name { protected RestAdapter getRestAdapterApiFour() { if (restAdapterApiFour == null) { RestAdapter.Builder builder = newRestAdapterBuilder(); builder.setEndpoint(API_V4_URL); if (isDebug) { builder.setLogLevel(RestAdapter.LogLevel.FULL);...
public class class_name { protected RestAdapter getRestAdapterApiFour() { if (restAdapterApiFour == null) { RestAdapter.Builder builder = newRestAdapterBuilder(); builder.setEndpoint(API_V4_URL); // depends on control dependency: [if], data = [none] if (isDebug) { ...
public class class_name { synchronized public static void restart() { if (null != crontabSetting) { //重新读取配置文件 crontabSetting.load(); } if (scheduler.isStarted()) { //关闭并清除已有任务 scheduler.stop(true); } //重新加载任务 schedule(crontabSetting); //重新启动 scheduler.start(); } }
public class class_name { synchronized public static void restart() { if (null != crontabSetting) { //重新读取配置文件 crontabSetting.load(); // depends on control dependency: [if], data = [none] } if (scheduler.isStarted()) { //关闭并清除已有任务 scheduler.stop(true); // depends on control dependency: [if], data = [...
public class class_name { public final void selector() throws RecognitionException { int selector_StartIndex = input.index(); try { if ( state.backtracking>0 && alreadyParsedRule(input, 138) ) { return; } // src/main/resources/org/drools/compiler/semantics/java/parser/Java.g:1284:5: ( '.' methodName ( argu...
public class class_name { public final void selector() throws RecognitionException { int selector_StartIndex = input.index(); try { if ( state.backtracking>0 && alreadyParsedRule(input, 138) ) { return; } // depends on control dependency: [if], data = [none] // src/main/resources/org/drools/compiler/semant...
public class class_name { public int compareTo(Object o) { if (o instanceof ChartLongValue) { return ((ChartLongValue)o).value.compareTo(value); } else if (o instanceof String) { return ((String)o).compareTo(value); } return 1; } }
public class class_name { public int compareTo(Object o) { if (o instanceof ChartLongValue) { return ((ChartLongValue)o).value.compareTo(value); // depends on control dependency: [if], data = [none] } else if (o instanceof String) { return ((String)o).compareTo(value); // depends on control dependency...
public class class_name { public void marshall(IpAddressResponse ipAddressResponse, ProtocolMarshaller protocolMarshaller) { if (ipAddressResponse == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(i...
public class class_name { public void marshall(IpAddressResponse ipAddressResponse, ProtocolMarshaller protocolMarshaller) { if (ipAddressResponse == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(i...
public class class_name { private void ack() { // Send a message to the other side of the connection indicating the // last message that we received in order. This will allow it to // purge messages we've already received from its queue. if (open && connected) { if (log.isDebugEnabled()) { ...
public class class_name { private void ack() { // Send a message to the other side of the connection indicating the // last message that we received in order. This will allow it to // purge messages we've already received from its queue. if (open && connected) { if (log.isDebugEnabled()) { ...
public class class_name { public Object start(IApplicationContext context) { Display display = PlatformUI.createDisplay(); try { /* FIXME: the static Sisu.lookup utility is currently being reworked... int returnCode = PlatformUI.createAndRunWorkbench(display, Sisu.lookup(WorkbenchAdvisor.class)); if (returnC...
public class class_name { public Object start(IApplicationContext context) { Display display = PlatformUI.createDisplay(); try { /* FIXME: the static Sisu.lookup utility is currently being reworked... int returnCode = PlatformUI.createAndRunWorkbench(display, Sisu.lookup(WorkbenchAdvisor.class)); if (returnC...
public class class_name { @Override protected void processConditions(final BuildData buildData, final SpecTopic specTopic, final Document doc) { if (buildData.getContentSpec().getPublicanCfg() == null || !buildData.getContentSpec().getPublicanCfg().contains("condition:")) { super.processConditi...
public class class_name { @Override protected void processConditions(final BuildData buildData, final SpecTopic specTopic, final Document doc) { if (buildData.getContentSpec().getPublicanCfg() == null || !buildData.getContentSpec().getPublicanCfg().contains("condition:")) { super.processConditi...
public class class_name { @SuppressWarnings("UnnecessaryLocalVariable") public static boolean isJsonApiRequest(HttpRequestContext requestContext, boolean acceptPlainJson) { String method = requestContext.getMethod().toUpperCase(); boolean isPatch = method.equals(HttpMethod.PATCH.toString()); boolean isPost = me...
public class class_name { @SuppressWarnings("UnnecessaryLocalVariable") public static boolean isJsonApiRequest(HttpRequestContext requestContext, boolean acceptPlainJson) { String method = requestContext.getMethod().toUpperCase(); boolean isPatch = method.equals(HttpMethod.PATCH.toString()); boolean isPost = me...
public class class_name { @Override public int[] getPartitionKey() { if (tasks.size() == 1) // ONE TASK, USE THE INNER TASK'S PARTITION KEY return tasks.get(0).getPartitionKey(); // MULTIPLE PARTITIONS final int[] partitions = new int[tasks.size()]; for (int i = 0; i < tasks.size(); ++i)...
public class class_name { @Override public int[] getPartitionKey() { if (tasks.size() == 1) // ONE TASK, USE THE INNER TASK'S PARTITION KEY return tasks.get(0).getPartitionKey(); // MULTIPLE PARTITIONS final int[] partitions = new int[tasks.size()]; for (int i = 0; i < tasks.size(); ++i)...
public class class_name { public Observable<ServiceResponse<Page<ResourceMetricInner>>> listMultiRoleMetricsNextWithServiceResponseAsync(final String nextPageLink) { return listMultiRoleMetricsNextSinglePageAsync(nextPageLink) .concatMap(new Func1<ServiceResponse<Page<ResourceMetricInner>>, Observa...
public class class_name { public Observable<ServiceResponse<Page<ResourceMetricInner>>> listMultiRoleMetricsNextWithServiceResponseAsync(final String nextPageLink) { return listMultiRoleMetricsNextSinglePageAsync(nextPageLink) .concatMap(new Func1<ServiceResponse<Page<ResourceMetricInner>>, Observa...
public class class_name { public static void saveKeyStore(File targetStoreFile, KeyStore store, String password) { File folder = targetStoreFile.getAbsoluteFile().getParentFile(); if (!folder.exists()) { folder.mkdirs(); } File tmpFile = new File(folder, Long.toHexString(Sys...
public class class_name { public static void saveKeyStore(File targetStoreFile, KeyStore store, String password) { File folder = targetStoreFile.getAbsoluteFile().getParentFile(); if (!folder.exists()) { folder.mkdirs(); // depends on control dependency: [if], data = [none] } ...
public class class_name { public void visit( final int version, final int access, final String name, final String signature, final String superName, final String[] interfaces) { this.version = version; this.access = access; this.name = newClas...
public class class_name { public void visit( final int version, final int access, final String name, final String signature, final String superName, final String[] interfaces) { this.version = version; this.access = access; this.name = newClas...
public class class_name { protected Collection<Method> sortMethods(Collection<Method> methods) { List<Method> list = new ArrayList<>(methods); Collections.sort(list, (m1, m2) -> { int o1 = Integer.MAX_VALUE; Order order1 = ClassUtil.getAnnotation(m1, Order.class); if...
public class class_name { protected Collection<Method> sortMethods(Collection<Method> methods) { List<Method> list = new ArrayList<>(methods); Collections.sort(list, (m1, m2) -> { int o1 = Integer.MAX_VALUE; Order order1 = ClassUtil.getAnnotation(m1, Order.class); if...
public class class_name { private static int getSortPriority(JTable table, int column) { List<? extends SortKey> sortKeys = table.getRowSorter().getSortKeys(); for (int i=0; i<sortKeys.size(); i++) { SortKey sortKey = sortKeys.get(i); if (sortKey.getColumn() ==...
public class class_name { private static int getSortPriority(JTable table, int column) { List<? extends SortKey> sortKeys = table.getRowSorter().getSortKeys(); for (int i=0; i<sortKeys.size(); i++) { SortKey sortKey = sortKeys.get(i); if (sortKey.getColumn() ==...
public class class_name { public static <K> double estimatePenalty(double l2, Map<K, Double> weights) { double penalty = 0.0; if(l2 > 0.0) { double sumWeightsSquared = 0.0; for(double w : weights.values()) { sumWeightsSquared += w*w; } pen...
public class class_name { public static <K> double estimatePenalty(double l2, Map<K, Double> weights) { double penalty = 0.0; if(l2 > 0.0) { double sumWeightsSquared = 0.0; for(double w : weights.values()) { sumWeightsSquared += w*w; // depends on control depende...
public class class_name { private static List<Field> getServiceFields(Object object) { final List<Field> toInject = new ArrayList<>(); Class<?> clazz = object.getClass(); while (clazz != null) { final Field[] fields = clazz.getDeclaredFields(); final i...
public class class_name { private static List<Field> getServiceFields(Object object) { final List<Field> toInject = new ArrayList<>(); Class<?> clazz = object.getClass(); while (clazz != null) { final Field[] fields = clazz.getDeclaredFields(); final i...
public class class_name { public String getPcType() { String result = m_loginForm.getPcType(); if (result == null) { result = CmsLoginForm.PC_TYPE_PUBLIC; } return result; } }
public class class_name { public String getPcType() { String result = m_loginForm.getPcType(); if (result == null) { result = CmsLoginForm.PC_TYPE_PUBLIC; // depends on control dependency: [if], data = [none] } return result; } }
public class class_name { private void checkOptimisticLockingState(Serializable id, EntityKey key, Object object, Object[] loadedState, Object version, SharedSessionContractImplementor session, Tuple resultset) { int tableSpan = getTableSpan(); EntityMetamodel entityMetamodel = getEntityMetamodel(); boolean ...
public class class_name { private void checkOptimisticLockingState(Serializable id, EntityKey key, Object object, Object[] loadedState, Object version, SharedSessionContractImplementor session, Tuple resultset) { int tableSpan = getTableSpan(); EntityMetamodel entityMetamodel = getEntityMetamodel(); boolean ...
public class class_name { @Override protected String createDialogHtml(String dialog) { StringBuffer result = new StringBuffer(512); result.append(createWidgetTableStart()); // show error header once if there were validation errors result.append(createWidgetErrorHeader()); ...
public class class_name { @Override protected String createDialogHtml(String dialog) { StringBuffer result = new StringBuffer(512); result.append(createWidgetTableStart()); // show error header once if there were validation errors result.append(createWidgetErrorHeader()); ...
public class class_name { public void put(final K key, final V newValue) { if (newValue == null || !newValue.isCurrent(key)) { if (LOG.isWarnEnabled()) { LOG.warn("Ignoring new cache entry for '{}' because it is {}", key, (newValue == null ? "null" : "not current")); } ret...
public class class_name { public void put(final K key, final V newValue) { if (newValue == null || !newValue.isCurrent(key)) { if (LOG.isWarnEnabled()) { LOG.warn("Ignoring new cache entry for '{}' because it is {}", key, (newValue == null ? "null" : "not current")); // depends on con...
public class class_name { private File getDefaultOutputDirectory() { //The default output directory is the configuration name String childOutputDirectory = getConfiguration(); //However, for platforms others than Win32, the default output directory becomes platform/configuration ...
public class class_name { private File getDefaultOutputDirectory() { //The default output directory is the configuration name String childOutputDirectory = getConfiguration(); //However, for platforms others than Win32, the default output directory becomes platform/configuration ...
public class class_name { public W addWindow(W newWindow, MergeFunction<W> mergeFunction) throws Exception { List<W> windows = new ArrayList<>(); windows.addAll(this.mapping.keySet()); windows.add(newWindow); final Map<W, Collection<W>> mergeResults = new HashMap<>(); windowAssigner.mergeWindows(windows, ...
public class class_name { public W addWindow(W newWindow, MergeFunction<W> mergeFunction) throws Exception { List<W> windows = new ArrayList<>(); windows.addAll(this.mapping.keySet()); windows.add(newWindow); final Map<W, Collection<W>> mergeResults = new HashMap<>(); windowAssigner.mergeWindows(windows, ...
public class class_name { public int getPort() { String hostAndPort = hostAndPort(); int indexOfMaohao = hostAndPort.indexOf(":"); if (indexOfMaohao == -1) { return 3306; } else { return Integer.parseInt(hostAndPort.substring(indexOfMaohao + 1)); } } ...
public class class_name { public int getPort() { String hostAndPort = hostAndPort(); int indexOfMaohao = hostAndPort.indexOf(":"); if (indexOfMaohao == -1) { return 3306; // depends on control dependency: [if], data = [none] } else { return Integer.parseInt(hostA...
public class class_name { public Config setExecutorConfigs(Map<String, ExecutorConfig> executorConfigs) { this.executorConfigs.clear(); this.executorConfigs.putAll(executorConfigs); for (Entry<String, ExecutorConfig> entry : executorConfigs.entrySet()) { entry.getValue().setName(ent...
public class class_name { public Config setExecutorConfigs(Map<String, ExecutorConfig> executorConfigs) { this.executorConfigs.clear(); this.executorConfigs.putAll(executorConfigs); for (Entry<String, ExecutorConfig> entry : executorConfigs.entrySet()) { entry.getValue().setName(ent...
public class class_name { public String getProperty(String pKey, String pDefaultValue) { // Had to override this because Properties uses super.get()... String value = (String) get(pKey); // Safe cast, see get(Object) if (value != null) { return value; } return ((defaults != null) ...
public class class_name { public String getProperty(String pKey, String pDefaultValue) { // Had to override this because Properties uses super.get()... String value = (String) get(pKey); // Safe cast, see get(Object) if (value != null) { return value; // depends on control dependency: [if],...
public class class_name { public TemplateCallable[] addDefaults(TemplateCallable[] userCallables) { TemplateCallable strFunctionality = new TemplateCallable(String.class.getSimpleName(), String.class); for (TemplateCallable u : userCallables) { if (u.equals(strFunctionality)) { return userCallables; ...
public class class_name { public TemplateCallable[] addDefaults(TemplateCallable[] userCallables) { TemplateCallable strFunctionality = new TemplateCallable(String.class.getSimpleName(), String.class); for (TemplateCallable u : userCallables) { if (u.equals(strFunctionality)) { return userCallables; ...
public class class_name { public int getRemainingDays(String startDate, String endDate, Date currentDate) throws java.text.ParseException { DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd"); Calendar iterationEndDate = Calendar.getInstance(); iterationEndDate.setTime(dateFormat.parse(endDate)); Cale...
public class class_name { public int getRemainingDays(String startDate, String endDate, Date currentDate) throws java.text.ParseException { DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd"); Calendar iterationEndDate = Calendar.getInstance(); iterationEndDate.setTime(dateFormat.parse(endDate)); Cale...
public class class_name { @SuppressWarnings("all") public static void setField(Object target, Field field, Object value) { try { Assert.isFalse(Modifier.isFinal(field.getModifiers()), new FieldAccessException(String.format( "Cannot set the value of a final field (%1$s) on %2$s type (%3$s)!", field....
public class class_name { @SuppressWarnings("all") public static void setField(Object target, Field field, Object value) { try { Assert.isFalse(Modifier.isFinal(field.getModifiers()), new FieldAccessException(String.format( "Cannot set the value of a final field (%1$s) on %2$s type (%3$s)!", field....
public class class_name { public List<YokeCookie> getAllCookies(@NotNull final String name) { List<YokeCookie> foundCookies = new ArrayList<>(); if (cookies != null) { for (YokeCookie c : cookies) { if (name.equals(c.name())) { foundCookies.add(c); ...
public class class_name { public List<YokeCookie> getAllCookies(@NotNull final String name) { List<YokeCookie> foundCookies = new ArrayList<>(); if (cookies != null) { for (YokeCookie c : cookies) { if (name.equals(c.name())) { foundCookies.add(c); // dep...
public class class_name { @Override public String getContributorId() { final String sourceMethod = "getContributorId"; //$NON-NLS-1$ boolean isTraceLogging = log.isLoggable(Level.FINER); if (isTraceLogging) { log.entering(AggregatorExtension.class.getName(), sourceMethod); log.exiting(AggregatorExte...
public class class_name { @Override public String getContributorId() { final String sourceMethod = "getContributorId"; //$NON-NLS-1$ boolean isTraceLogging = log.isLoggable(Level.FINER); if (isTraceLogging) { log.entering(AggregatorExtension.class.getName(), sourceMethod); // depends on control depende...
public class class_name { private void checkType(String className) { if (_tc.isEntryEnabled()) { SibTr.entry(_tc, "checkType", new Object[]{this, className}); } // Of the classname supplied is not one of // com.ibm.wsspi.sib.core.selector.FactoryType or // com.ibm.wsspi.sib.core.se...
public class class_name { private void checkType(String className) { if (_tc.isEntryEnabled()) { SibTr.entry(_tc, "checkType", new Object[]{this, className}); // depends on control dependency: [if], data = [none] } // Of the classname supplied is not one of // com.ibm.wsspi.sib.core.se...
public class class_name { @Override public V putIfAbsentFailure(K key, V value, StoreAccessException e) { // FIXME: Should I care about useLoaderInAtomics? try { try { V loaded = loaderWriter.load(key); if (loaded != null) { return loaded; } } catch (Exception e1...
public class class_name { @Override public V putIfAbsentFailure(K key, V value, StoreAccessException e) { // FIXME: Should I care about useLoaderInAtomics? try { try { V loaded = loaderWriter.load(key); if (loaded != null) { return loaded; // depends on control dependency: [if...
public class class_name { public void setDirectConnectGatewayAssociationProposals( java.util.Collection<DirectConnectGatewayAssociationProposal> directConnectGatewayAssociationProposals) { if (directConnectGatewayAssociationProposals == null) { this.directConnectGatewayAssociationPropos...
public class class_name { public void setDirectConnectGatewayAssociationProposals( java.util.Collection<DirectConnectGatewayAssociationProposal> directConnectGatewayAssociationProposals) { if (directConnectGatewayAssociationProposals == null) { this.directConnectGatewayAssociationPropos...