code
stringlengths
130
281k
code_dependency
stringlengths
182
306k
public class class_name { @Override public synchronized void disconnect() { try { // If there is an error with the handler, dont bother logging out. if (!mailClientHandler.isHalted()) { if (mailClientHandler.idleRequested.get()) { log.warn("Disconnect called while IDLE, leaving idle...
public class class_name { @Override public synchronized void disconnect() { try { // If there is an error with the handler, dont bother logging out. if (!mailClientHandler.isHalted()) { if (mailClientHandler.idleRequested.get()) { log.warn("Disconnect called while IDLE, leaving idle...
public class class_name { private Double getRangeCostWholeDay(ProjectCalendar projectCalendar, TimescaleUnits rangeUnits, DateRange range, List<TimephasedCost> assignments, int startIndex) { int totalDays = 0; double totalCost = 0; TimephasedCost assignment = assignments.get(startIndex); boo...
public class class_name { private Double getRangeCostWholeDay(ProjectCalendar projectCalendar, TimescaleUnits rangeUnits, DateRange range, List<TimephasedCost> assignments, int startIndex) { int totalDays = 0; double totalCost = 0; TimephasedCost assignment = assignments.get(startIndex); boo...
public class class_name { public static Slice wrappedBooleanArray(boolean[] array, int offset, int length) { if (length == 0) { return EMPTY_SLICE; } return new Slice(array, offset, length); } }
public class class_name { public static Slice wrappedBooleanArray(boolean[] array, int offset, int length) { if (length == 0) { return EMPTY_SLICE; // depends on control dependency: [if], data = [none] } return new Slice(array, offset, length); } }
public class class_name { protected boolean remove(Object child, boolean setChildBC) { if (child == null) { throw new IllegalArgumentException(Messages.getString("beans.67")); } Object peer = null; synchronized (globalHierarchyLock) { // check existence if (!contains(child)) { return fal...
public class class_name { protected boolean remove(Object child, boolean setChildBC) { if (child == null) { throw new IllegalArgumentException(Messages.getString("beans.67")); } Object peer = null; synchronized (globalHierarchyLock) { // check existence if (!contains(child)) { return fal...
public class class_name { public void setOutgoingCertificates(java.util.Collection<OutgoingCertificate> outgoingCertificates) { if (outgoingCertificates == null) { this.outgoingCertificates = null; return; } this.outgoingCertificates = new java.util.ArrayList<OutgoingCe...
public class class_name { public void setOutgoingCertificates(java.util.Collection<OutgoingCertificate> outgoingCertificates) { if (outgoingCertificates == null) { this.outgoingCertificates = null; // depends on control dependency: [if], data = [none] return; // depends on control depen...
public class class_name { @Generated(value = "com.sun.tools.xjc.Driver", date = "2018-10-12T02:52:47+02:00", comments = "JAXB RI v2.2.11") public StatusTyp getStatusIS24() { if (statusIS24 == null) { return StatusTyp.AKTIV; } else { return statusIS24; } } }
public class class_name { @Generated(value = "com.sun.tools.xjc.Driver", date = "2018-10-12T02:52:47+02:00", comments = "JAXB RI v2.2.11") public StatusTyp getStatusIS24() { if (statusIS24 == null) { return StatusTyp.AKTIV; // depends on control dependency: [if], data = [none] } else { ...
public class class_name { public String[] getRegisteredListeners(RESTRequest request, int clientID, String source_objName) { //Get the client area ClientNotificationArea clientArea = getInboxIfAvailable(clientID, null...
public class class_name { public String[] getRegisteredListeners(RESTRequest request, int clientID, String source_objName) { //Get the client area ClientNotificationArea clientArea = getInboxIfAvailable(clientID, null...
public class class_name { public static String getGroupId(final String gavc) { final int splitter = gavc.indexOf(':'); if(splitter == -1){ return gavc; } return gavc.substring(0, splitter); } }
public class class_name { public static String getGroupId(final String gavc) { final int splitter = gavc.indexOf(':'); if(splitter == -1){ return gavc; // depends on control dependency: [if], data = [none] } return gavc.substring(0, splitter); } }
public class class_name { public void onMainExecutionComplete(Throwable t) { try { // May be called twice, don't do anything the second time if (mainExecutionComplete) { return; } mainExecutionComplete = true; this.failure = t; ...
public class class_name { public void onMainExecutionComplete(Throwable t) { try { // May be called twice, don't do anything the second time if (mainExecutionComplete) { return; // depends on control dependency: [if], data = [none] } mainExecution...
public class class_name { private PopupExcludeFromProxyMenu getPopupExcludeFromProxyMenu(int menuIndex) { if (popupExcludeFromProxyMenu == null) { popupExcludeFromProxyMenu = new PopupExcludeFromProxyMenu(); popupExcludeFromProxyMenu.setMenuIndex(menuIndex); } return popupExcludeFromProxyMenu; } }
public class class_name { private PopupExcludeFromProxyMenu getPopupExcludeFromProxyMenu(int menuIndex) { if (popupExcludeFromProxyMenu == null) { popupExcludeFromProxyMenu = new PopupExcludeFromProxyMenu(); // depends on control dependency: [if], data = [none] popupExcludeFromProxyMenu.setMenuIndex(menuInd...
public class class_name { public void closeAllConsumersForDelete(DestinationHandler destinationBeingDeleted) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "closeAllConsumersForDelete", destinationBeingDeleted); Iterator<DispatchableKey> itr = null; ...
public class class_name { public void closeAllConsumersForDelete(DestinationHandler destinationBeingDeleted) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(tc, "closeAllConsumersForDelete", destinationBeingDeleted); Iterator<DispatchableKey> itr = null; ...
public class class_name { public Extension getExtension(ObjectIdentifier oid) { if (info == null) { return null; } try { CertificateExtensions extensions; try { extensions = (CertificateExtensions)info.get(CertificateExtensions.NAME); ...
public class class_name { public Extension getExtension(ObjectIdentifier oid) { if (info == null) { return null; // depends on control dependency: [if], data = [none] } try { CertificateExtensions extensions; try { extensions = (CertificateExt...
public class class_name { private void initializeToolbar() { Condition.INSTANCE.ensureTrue(getSupportActionBar() == null, "An action bar is already attached to the activity. Use the theme " + "\"@style/Theme.MaterialComponents.NoActionBar\" or " + ...
public class class_name { private void initializeToolbar() { Condition.INSTANCE.ensureTrue(getSupportActionBar() == null, "An action bar is already attached to the activity. Use the theme " + "\"@style/Theme.MaterialComponents.NoActionBar\" or " + ...
public class class_name { public void marshall(UpdateEndpointRequest updateEndpointRequest, ProtocolMarshaller protocolMarshaller) { if (updateEndpointRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshalle...
public class class_name { public void marshall(UpdateEndpointRequest updateEndpointRequest, ProtocolMarshaller protocolMarshaller) { if (updateEndpointRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshalle...
public class class_name { public void update(Versionable target, Versionable source) { target.setDirty(source.getDirty()); target.setMajorVersion(source.getMajorVersion()); target.setMidVersion(source.getMidVersion()); target.setMinorVersion(source.getMinorVersion()); targe...
public class class_name { public void update(Versionable target, Versionable source) { target.setDirty(source.getDirty()); target.setMajorVersion(source.getMajorVersion()); target.setMidVersion(source.getMidVersion()); target.setMinorVersion(source.getMinorVersion()); targe...
public class class_name { public int execSelectCount(String preparedSql, Object[] searchKeys) { log("#execSelectCount preparedSql=" + preparedSql + " searchKeys=" + searchKeys); int retVal = 0; PreparedStatement preparedStmt = null; ResultSet rs = null; final Connection conn = createConnection();...
public class class_name { public int execSelectCount(String preparedSql, Object[] searchKeys) { log("#execSelectCount preparedSql=" + preparedSql + " searchKeys=" + searchKeys); int retVal = 0; PreparedStatement preparedStmt = null; ResultSet rs = null; final Connection conn = createConnection();...
public class class_name { public Object find(Class clazz, Object identifier) { try { return persistenceManager.findById(clazz, identifier); } catch (InitializationException ignore){} catch (Exception e) { e.printStackTrace(); } return null; } }
public class class_name { public Object find(Class clazz, Object identifier) { try { return persistenceManager.findById(clazz, identifier); // depends on control dependency: [try], data = [none] } catch (InitializationException ignore){} // depends on control dependency: [catch], data = [no...
public class class_name { @Override public List<CommerceUserSegmentEntry> filterFindByG_A(long groupId, boolean active, int start, int end, OrderByComparator<CommerceUserSegmentEntry> orderByComparator) { if (!InlineSQLHelperUtil.isEnabled(groupId)) { return findByG_A(groupId, active, start, end, orderByComp...
public class class_name { @Override public List<CommerceUserSegmentEntry> filterFindByG_A(long groupId, boolean active, int start, int end, OrderByComparator<CommerceUserSegmentEntry> orderByComparator) { if (!InlineSQLHelperUtil.isEnabled(groupId)) { return findByG_A(groupId, active, start, end, orderByComp...
public class class_name { int findNextMainLine(LiveFileChunk chunk, int startIdx) { List<FileLine> lines = chunk.getLines(); int found = -1; for (int i = startIdx; found == -1 && i < lines.size(); i++) { if (pattern.matcher(lines.get(i).getText().trim()).matches()) { found = i; } } ...
public class class_name { int findNextMainLine(LiveFileChunk chunk, int startIdx) { List<FileLine> lines = chunk.getLines(); int found = -1; for (int i = startIdx; found == -1 && i < lines.size(); i++) { if (pattern.matcher(lines.get(i).getText().trim()).matches()) { found = i; // depends on ...
public class class_name { static void shutDown() { if (prefHelper_ != null) { prefHelper_.prefsEditor_ = null; } // Reset all of the statics. enableLogging_ = false; Branch_Key = null; savedAnalyticsData_ = null; prefHelper_ = null; } }
public class class_name { static void shutDown() { if (prefHelper_ != null) { prefHelper_.prefsEditor_ = null; // depends on control dependency: [if], data = [none] } // Reset all of the statics. enableLogging_ = false; Branch_Key = null; savedAnalyticsData_...
public class class_name { public void marshall(LaunchConfig launchConfig, ProtocolMarshaller protocolMarshaller) { if (launchConfig == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(launchConfig.get...
public class class_name { public void marshall(LaunchConfig launchConfig, ProtocolMarshaller protocolMarshaller) { if (launchConfig == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(launchConfig.get...
public class class_name { public final void mIDENT_LIST() throws RecognitionException { try { int _type = IDENT_LIST; int _channel = DEFAULT_TOKEN_CHANNEL; // BELScript.g:269:11: ( '{' OBJECT_IDENT ( COMMA OBJECT_IDENT )* '}' ) // BELScript.g:270:5: '{' OBJECT_ID...
public class class_name { public final void mIDENT_LIST() throws RecognitionException { try { int _type = IDENT_LIST; int _channel = DEFAULT_TOKEN_CHANNEL; // BELScript.g:269:11: ( '{' OBJECT_IDENT ( COMMA OBJECT_IDENT )* '}' ) // BELScript.g:270:5: '{' OBJECT_ID...
public class class_name { @Override public byte[] serialize(Object theObject) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "serialize = " + theObject.getClass()); } byte[] idBytes = null; if (theObject instanceof Wrapper...
public class class_name { @Override public byte[] serialize(Object theObject) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { Tr.entry(tc, "serialize = " + theObject.getClass()); // depends on control dependency: [if], data = [none] } byte[] idB...
public class class_name { public boolean isKieContainerUpdateDuringRolloutAllowed(ConfigMap cm, KieServerState newState) { KieServerState state = (KieServerState) xs.fromXML(cm.getData().get(CFG_MAP_DATA_KEY)); for (KieContainerResource container : state.getContainers()) { if (container.get...
public class class_name { public boolean isKieContainerUpdateDuringRolloutAllowed(ConfigMap cm, KieServerState newState) { KieServerState state = (KieServerState) xs.fromXML(cm.getData().get(CFG_MAP_DATA_KEY)); for (KieContainerResource container : state.getContainers()) { if (container.get...
public class class_name { protected String convertToHex(int i) { String hexString = Integer.toHexString(i); while (hexString.length() < 2) { hexString = "0" + hexString; } return hexString; } }
public class class_name { protected String convertToHex(int i) { String hexString = Integer.toHexString(i); while (hexString.length() < 2) { hexString = "0" + hexString; // depends on control dependency: [while], data = [none] } return hexString; } }
public class class_name { @SuppressWarnings("unchecked") private CompletionStage<List<V>> invokeMapBatchLoader(List<K> keys, BatchLoaderEnvironment environment) { CompletionStage<Map<K, V>> loadResult; Set<K> setOfKeys = new LinkedHashSet<>(keys); if (batchLoadFunction instanceof MappedBatc...
public class class_name { @SuppressWarnings("unchecked") private CompletionStage<List<V>> invokeMapBatchLoader(List<K> keys, BatchLoaderEnvironment environment) { CompletionStage<Map<K, V>> loadResult; Set<K> setOfKeys = new LinkedHashSet<>(keys); if (batchLoadFunction instanceof MappedBatc...
public class class_name { protected Object[] getBatch() { Object[] objectArray = new Object[batchSize]; int index = 1; synchronized (this) { objectArray[0] = get(); // always get at least 1 while (getCurrentNumElements() > minPoolSize / 2 && index < batchSize) { ...
public class class_name { protected Object[] getBatch() { Object[] objectArray = new Object[batchSize]; int index = 1; synchronized (this) { objectArray[0] = get(); // always get at least 1 while (getCurrentNumElements() > minPoolSize / 2 && index < batchSize) { ...
public class class_name { String mappedTypeName(String internalName) { String remappedInternalName = classesToRemap.get(internalName); if (remappedInternalName != null) { return remappedInternalName; } else { return internalName; } } }
public class class_name { String mappedTypeName(String internalName) { String remappedInternalName = classesToRemap.get(internalName); if (remappedInternalName != null) { return remappedInternalName; // depends on control dependency: [if], data = [none] } else { return internalName; // depends ...
public class class_name { public ListAuditTasksResult withTasks(AuditTaskMetadata... tasks) { if (this.tasks == null) { setTasks(new java.util.ArrayList<AuditTaskMetadata>(tasks.length)); } for (AuditTaskMetadata ele : tasks) { this.tasks.add(ele); } retu...
public class class_name { public ListAuditTasksResult withTasks(AuditTaskMetadata... tasks) { if (this.tasks == null) { setTasks(new java.util.ArrayList<AuditTaskMetadata>(tasks.length)); // depends on control dependency: [if], data = [none] } for (AuditTaskMetadata ele : tasks) { ...
public class class_name { private Type getRequiredType(Class<?> clazz) { TypeVariable<?>[] typeParameters = clazz.getTypeParameters(); if (typeParameters.length > 0) { Type[] actualTypeParameters = new Type[typeParameters.length]; for (int i = 0; i < typeParameters.length; i++) { ...
public class class_name { private Type getRequiredType(Class<?> clazz) { TypeVariable<?>[] typeParameters = clazz.getTypeParameters(); if (typeParameters.length > 0) { Type[] actualTypeParameters = new Type[typeParameters.length]; for (int i = 0; i < typeParameters.length; i++) { ...
public class class_name { @Override public int read(ByteBuffer buffer) throws IOException { throwIfNotOpen(); // Don't try to read if the buffer has no space. if (buffer.remaining() == 0) { return 0; } logger.atFine().log( "Reading %s bytes at %s position from '%s'", buffe...
public class class_name { @Override public int read(ByteBuffer buffer) throws IOException { throwIfNotOpen(); // Don't try to read if the buffer has no space. if (buffer.remaining() == 0) { return 0; } logger.atFine().log( "Reading %s bytes at %s position from '%s'", buffe...
public class class_name { final SIBUuid12 getTopicSpaceUuid() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getTopicSpaceUuid"); SibTr.exit(tc, "getTopicSpaceUuid", _topicSpaceUuid); } return _topicSpaceUuid; } }
public class class_name { final SIBUuid12 getTopicSpaceUuid() { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) { SibTr.entry(tc, "getTopicSpaceUuid"); // depends on control dependency: [if], data = [none] SibTr.exit(tc, "getTopicSpaceUuid", _topicSpaceUuid); // depends on contro...
public class class_name { public void startReading() { logcat.setListener(new Logcat.Listener() { @Override public void onTraceRead(String logcatTrace) { try { addTraceToTheBuffer(logcatTrace); } catch (IllegalTraceException e) { return; } notifyNewTraces()...
public class class_name { public void startReading() { logcat.setListener(new Logcat.Listener() { @Override public void onTraceRead(String logcatTrace) { try { addTraceToTheBuffer(logcatTrace); // depends on control dependency: [try], data = [none] } catch (IllegalTraceException e) ...
public class class_name { public String toRFC2253String(boolean canonical) { if (canonical == false) { return toRFC2253StringInternal (false, Collections.<String, String>emptyMap()); } String c = canonicalString; if (c == null) { c = toRFC2253Stri...
public class class_name { public String toRFC2253String(boolean canonical) { if (canonical == false) { return toRFC2253StringInternal (false, Collections.<String, String>emptyMap()); // depends on control dependency: [if], data = [none] } String c = canonicalString; ...
public class class_name { private List<String> filterMonadics(String[] args) {// name-value for monads List<String> filteredArgs = new ArrayList<>(); // Y <- return List for (String arg : args) { // iterate over args filteredArgs.add(arg); Parameter ...
public class class_name { private List<String> filterMonadics(String[] args) {// name-value for monads List<String> filteredArgs = new ArrayList<>(); // Y <- return List for (String arg : args) { // iterate over args filteredArgs.add(arg); // depends on control ...
public class class_name { public static Integer getS3StreamBufferSize() { String s = System.getProperty(SDKGlobalConfiguration.DEFAULT_S3_STREAM_BUFFER_SIZE); if (s == null) return null; try { return Integer.valueOf(s); } catch (Exception e) { ...
public class class_name { public static Integer getS3StreamBufferSize() { String s = System.getProperty(SDKGlobalConfiguration.DEFAULT_S3_STREAM_BUFFER_SIZE); if (s == null) return null; try { return Integer.valueOf(s); // depends on control dependency: [try]...
public class class_name { public <C extends RpcGateway> C getSelfGateway(Class<C> selfGatewayType) { if (selfGatewayType.isInstance(rpcServer)) { @SuppressWarnings("unchecked") C selfGateway = ((C) rpcServer); return selfGateway; } else { throw new RuntimeException("RpcEndpoint does not implement the ...
public class class_name { public <C extends RpcGateway> C getSelfGateway(Class<C> selfGatewayType) { if (selfGatewayType.isInstance(rpcServer)) { @SuppressWarnings("unchecked") C selfGateway = ((C) rpcServer); return selfGateway; // depends on control dependency: [if], data = [none] } else { throw new...
public class class_name { public void add(byte b, Collection c) { if ((c != null) && (c.size() > 0)) { String s2 = get(b); for (Object aC : c) { String s = (String) aC; if (s2 == null) s2 = s; else s2 += li...
public class class_name { public void add(byte b, Collection c) { if ((c != null) && (c.size() > 0)) { String s2 = get(b); for (Object aC : c) { String s = (String) aC; if (s2 == null) s2 = s; else s2 += li...
public class class_name { protected Map<String,RDFNode> readNext() throws SparqlException { try { // read <result> or </results> int eventType = reader.nextTag(); // if a closing element, then it should be </results> if (eventType == END_ELEMENT) { // already read the final result, ...
public class class_name { protected Map<String,RDFNode> readNext() throws SparqlException { try { // read <result> or </results> int eventType = reader.nextTag(); // if a closing element, then it should be </results> if (eventType == END_ELEMENT) { // already read the final result, ...
public class class_name { @Override public InputStream getInputStream(String fileName) throws IOException { InputStream inputStream = null; if (fileExists(fileName)) { String extension = getExtension(fileName); if (isExternalSupported(extension)) { inputStream = startExternal(fileName); } else if (i...
public class class_name { @Override public InputStream getInputStream(String fileName) throws IOException { InputStream inputStream = null; if (fileExists(fileName)) { String extension = getExtension(fileName); if (isExternalSupported(extension)) { inputStream = startExternal(fileName); // depends on c...
public class class_name { public Matrix getMatrix(int i0, int i1, int j0, int j1) { Matrix X = new Matrix(i1 - i0 + 1, j1 - j0 + 1); double[][] B = X.getArray(); try { for (int i = i0; i <= i1; i++) { for (int j = j0; j <= j1; j++) ...
public class class_name { public Matrix getMatrix(int i0, int i1, int j0, int j1) { Matrix X = new Matrix(i1 - i0 + 1, j1 - j0 + 1); double[][] B = X.getArray(); try { for (int i = i0; i <= i1; i++) { for (int j = j0; j <= j1; j++) ...
public class class_name { static Statement ifElseChain(final List<IfBlock> ifs, final Optional<Statement> elseBlock) { checkArgument(!ifs.isEmpty()); return new Statement() { @Override protected void doGen(CodeBuilder adapter) { Label end = new Label(); Label next; for (int ...
public class class_name { static Statement ifElseChain(final List<IfBlock> ifs, final Optional<Statement> elseBlock) { checkArgument(!ifs.isEmpty()); return new Statement() { @Override protected void doGen(CodeBuilder adapter) { Label end = new Label(); Label next; for (int ...
public class class_name { String showDetail() { if (isDefault() || isEmpty()) { return ""; } else { return entries.stream() .map(sue -> "---- " + sue.name + (sue.timeStamp.isEmpty() ? "" ...
public class class_name { String showDetail() { if (isDefault() || isEmpty()) { return ""; // depends on control dependency: [if], data = [none] } else { return entries.stream() .map(sue -> "---- " + sue.name + (sue.timeStamp.isEmp...
public class class_name { public static base_responses add(nitro_service client, route6 resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { route6 addresources[] = new route6[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i...
public class class_name { public static base_responses add(nitro_service client, route6 resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { route6 addresources[] = new route6[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i...
public class class_name { public static void transmit(TracingSetter tracingSetter) { if (TracingContext.tracing().hasGroup()) { log.debug("tracing transmit group:{}", TracingContext.tracing().groupId()); tracingSetter.set(TracingConstants.HEADER_KEY_GROUP_ID, TracingContext.tracing().gr...
public class class_name { public static void transmit(TracingSetter tracingSetter) { if (TracingContext.tracing().hasGroup()) { log.debug("tracing transmit group:{}", TracingContext.tracing().groupId()); // depends on control dependency: [if], data = [none] tracingSetter.set(TracingCons...
public class class_name { private void processMessage(CommsByteBuffer buffer, boolean asyncMessage, boolean enableReadAhead, Conversation conversation, boolean chunk) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "processMessage", ...
public class class_name { private void processMessage(CommsByteBuffer buffer, boolean asyncMessage, boolean enableReadAhead, Conversation conversation, boolean chunk) { if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "processMessage", ...
public class class_name { public static GrayU8 yu12ToGray(byte[] data , int width , int height , GrayU8 output ) { if( output != null ) { if( output.width != width || output.height != height ) throw new IllegalArgumentException("output width and height must be "+width+" "+height); ...
public class class_name { public static GrayU8 yu12ToGray(byte[] data , int width , int height , GrayU8 output ) { if( output != null ) { if( output.width != width || output.height != height ) throw new IllegalArgumentException("output width and height must be "+width+" "+height); ...
public class class_name { public synchronized static void install() { if (!isInstalled()) { InputStream is = BMPCLocalLauncher.class.getResourceAsStream(BMP_LOCAL_ZIP_RES); try { // Unzip BrowserMob Proxy contained in the project "/resources" unzip(is, BM...
public class class_name { public synchronized static void install() { if (!isInstalled()) { InputStream is = BMPCLocalLauncher.class.getResourceAsStream(BMP_LOCAL_ZIP_RES); try { // Unzip BrowserMob Proxy contained in the project "/resources" unzip(is, BM...
public class class_name { public void purge(Instant limit) { Instant firstKeeper = values.floorKey(limit); if (firstKeeper == null) return; Set<Instant> purgables = values.headMap(firstKeeper).keySet(); if (purgables == null) return; for (Instant purgable : purgables) { values.remove(purgable); } } }
public class class_name { public void purge(Instant limit) { Instant firstKeeper = values.floorKey(limit); if (firstKeeper == null) return; Set<Instant> purgables = values.headMap(firstKeeper).keySet(); if (purgables == null) return; for (Instant purgable : purgables) { values.remove(purgable); // depends...
public class class_name { private EntryEventType getCQCEventTypeOrNull(EntryEventType eventType, EventFilter eventFilter, Data dataKey, Data dataNewValue, Data dataOldValue, String mapName) { boolean newValueMatching = filteringStrategy.doFilter(eventFilter, dat...
public class class_name { private EntryEventType getCQCEventTypeOrNull(EntryEventType eventType, EventFilter eventFilter, Data dataKey, Data dataNewValue, Data dataOldValue, String mapName) { boolean newValueMatching = filteringStrategy.doFilter(eventFilter, dat...
public class class_name { public String getName() { GVRSceneObject owner = getOwnerObject(); String name = ""; if (owner != null) { name = owner.getName(); if (name == null) return ""; } return name; } }
public class class_name { public String getName() { GVRSceneObject owner = getOwnerObject(); String name = ""; if (owner != null) { name = owner.getName(); // depends on control dependency: [if], data = [none] if (name == null) return ""; ...
public class class_name { private RouteImpl createRouteImpl(String path, String acceptType, Route route) { if (defaultResponseTransformer != null) { return ResponseTransformerRouteImpl.create(path, acceptType, route, defaultResponseTransformer); } return RouteImpl.create(path, accep...
public class class_name { private RouteImpl createRouteImpl(String path, String acceptType, Route route) { if (defaultResponseTransformer != null) { return ResponseTransformerRouteImpl.create(path, acceptType, route, defaultResponseTransformer); // depends on control dependency: [if], data = [none]...
public class class_name { public static int equal(int b, int c) { int result = 0; int xor = b ^ c; for (int i = 0; i < 8; i++) { result |= xor >> i; } return (result ^ 0x01) & 0x01; } }
public class class_name { public static int equal(int b, int c) { int result = 0; int xor = b ^ c; for (int i = 0; i < 8; i++) { result |= xor >> i; // depends on control dependency: [for], data = [i] } return (result ^ 0x01) & 0x01; } }
public class class_name { public void setBuildWorkspaceReader(List<Artifact> artifacts) { BuildWorkspaceReader reader = new BuildWorkspaceReader(); for ( Artifact artifact : artifacts ) { reader.addArtifact( artifact ); } systemSession = (MavenRepositorySys...
public class class_name { public void setBuildWorkspaceReader(List<Artifact> artifacts) { BuildWorkspaceReader reader = new BuildWorkspaceReader(); for ( Artifact artifact : artifacts ) { reader.addArtifact( artifact ); // depends on control dependency: [for], data = [artifact] ...
public class class_name { public NodeIterator merge(String srcWorkspace, boolean bestEffort) throws UnsupportedRepositoryOperationException, NoSuchWorkspaceException, AccessDeniedException, MergeException, RepositoryException, InvalidItemStateException { checkValid(); if (!session.getAccessManage...
public class class_name { public NodeIterator merge(String srcWorkspace, boolean bestEffort) throws UnsupportedRepositoryOperationException, NoSuchWorkspaceException, AccessDeniedException, MergeException, RepositoryException, InvalidItemStateException { checkValid(); if (!session.getAccessManage...
public class class_name { private static boolean matchesPrototypeInstanceVar(Node node, NodeMetadata metadata, String name) { String[] parts = name.split(".prototype."); String className = parts[0]; String propertyName = parts[1]; JSType providedJsType = getJsType(metadata, className); if (pr...
public class class_name { private static boolean matchesPrototypeInstanceVar(Node node, NodeMetadata metadata, String name) { String[] parts = name.split(".prototype."); String className = parts[0]; String propertyName = parts[1]; JSType providedJsType = getJsType(metadata, className); if (pr...
public class class_name { @Override public Iterator<Map.Entry<String, MaintenanceOp>> listMaintenanceOps() { final Iterator<Map<String, Object>> tableIter = _backingStore.scan(_systemTable, null, LimitCounter.max(), ReadConsistency.STRONG); return new AbstractIterator<Map.Entry<Stri...
public class class_name { @Override public Iterator<Map.Entry<String, MaintenanceOp>> listMaintenanceOps() { final Iterator<Map<String, Object>> tableIter = _backingStore.scan(_systemTable, null, LimitCounter.max(), ReadConsistency.STRONG); return new AbstractIterator<Map.Entry<Stri...
public class class_name { protected void ensureProcessDefinitionInitialized() { if ((processDefinition == null) && (processDefinitionId != null)) { ProcessDefinitionEntity deployedProcessDefinition = Context.getProcessEngineConfiguration().getDeploymentCache() .findDeployedProcessDefinitionById(pro...
public class class_name { protected void ensureProcessDefinitionInitialized() { if ((processDefinition == null) && (processDefinitionId != null)) { ProcessDefinitionEntity deployedProcessDefinition = Context.getProcessEngineConfiguration().getDeploymentCache() .findDeployedProcessDefinitionById(pro...
public class class_name { ModuleMarshal marshal(Class<?> sourceType) { ModuleMarshal marshal = _marshalSourceMap.get(sourceType); if (marshal == null) { marshal = marshalImpl(sourceType); _marshalSourceMap.put(sourceType, marshal); } return marshal; } }
public class class_name { ModuleMarshal marshal(Class<?> sourceType) { ModuleMarshal marshal = _marshalSourceMap.get(sourceType); if (marshal == null) { marshal = marshalImpl(sourceType); // depends on control dependency: [if], data = [none] _marshalSourceMap.put(sourceType, marshal); // dep...
public class class_name { @Override public ConfigObject include(final ConfigIncludeContext context, String name) { ConfigObject obj = includeWithoutFallback(context, name); // now use the fallback includer if any and merge // its result. if (fallback != null) { return o...
public class class_name { @Override public ConfigObject include(final ConfigIncludeContext context, String name) { ConfigObject obj = includeWithoutFallback(context, name); // now use the fallback includer if any and merge // its result. if (fallback != null) { return o...
public class class_name { public BaseVertex getOpposite(BaseVertex vertex) { // If null or not part of this connection if ( vertex == null || (!vertex.equals( getSource() ) && !vertex.equals( getTarget() )) ) { return null; } if ( vertex.equals( getSource() ) ) { ...
public class class_name { public BaseVertex getOpposite(BaseVertex vertex) { // If null or not part of this connection if ( vertex == null || (!vertex.equals( getSource() ) && !vertex.equals( getTarget() )) ) { return null; // depends on control dependency: [if], data = [none] } ...
public class class_name { public void printHtmlSeeAlso(PrintWriter out, String strTag, String strParams, String strData) { String strSeeAlso = m_recDetail.getSeeAlso(); if ((strSeeAlso != null) && (strSeeAlso.length() > 0) && (strSeeAlso.indexOf('<') == -1)) { // List of classes to referenc...
public class class_name { public void printHtmlSeeAlso(PrintWriter out, String strTag, String strParams, String strData) { String strSeeAlso = m_recDetail.getSeeAlso(); if ((strSeeAlso != null) && (strSeeAlso.length() > 0) && (strSeeAlso.indexOf('<') == -1)) { // List of classes to referenc...
public class class_name { public void registerListener(IPluginEvent listener) { if (pluginEventListeners1 == null) { pluginEventListeners1 = new ArrayList<>(); } if (!pluginEventListeners1.contains(listener)) { pluginEventListeners1.add(listener); } } }
public class class_name { public void registerListener(IPluginEvent listener) { if (pluginEventListeners1 == null) { pluginEventListeners1 = new ArrayList<>(); // depends on control dependency: [if], data = [none] } if (!pluginEventListeners1.contains(listener)) { plugi...
public class class_name { public static Axis generateAxisFromRange(float start, float stop, float step) { List<AxisValue> values = new ArrayList<AxisValue>(); for (float value = start; value <= stop; value += step) { AxisValue axisValue = new AxisValue(value); values.add(axisVa...
public class class_name { public static Axis generateAxisFromRange(float start, float stop, float step) { List<AxisValue> values = new ArrayList<AxisValue>(); for (float value = start; value <= stop; value += step) { AxisValue axisValue = new AxisValue(value); values.add(axisVa...
public class class_name { @Override public Mappings matchAll(final IAtomContainer target) { final EdgeToBondMap bonds2; final int[][] g2; AdjListCache cached = target.getProperty(AdjListCache.class.getName()); if (cached == null || !cached.validate(target)) { cac...
public class class_name { @Override public Mappings matchAll(final IAtomContainer target) { final EdgeToBondMap bonds2; final int[][] g2; AdjListCache cached = target.getProperty(AdjListCache.class.getName()); if (cached == null || !cached.validate(target)) { cac...
public class class_name { @Override public void configurationChanged() { HashSet<Param> changedParams = new HashSet(); // read dynamic parameters for (Param param : parameters) { if (! param.isStatic()) { // preserve current value Object oldVa...
public class class_name { @Override public void configurationChanged() { HashSet<Param> changedParams = new HashSet(); // read dynamic parameters for (Param param : parameters) { if (! param.isStatic()) { // preserve current value Object oldVa...
public class class_name { protected void fadeInCurrentTheme() { if (currentTheme != null) { currentTheme.setLooping(false); currentTheme.setVolume(0f); currentTheme.setOnCompletionListener(listener); stage.addAction( VolumeAction.setVolume(cur...
public class class_name { protected void fadeInCurrentTheme() { if (currentTheme != null) { currentTheme.setLooping(false); // depends on control dependency: [if], data = [none] currentTheme.setVolume(0f); // depends on control dependency: [if], data = [none] currentTheme.se...
public class class_name { @Override public String describe(Session session, int blanks) { StringBuffer sb = new StringBuffer(); sb.append('\n'); for (int i = 0; i < blanks; i++) { sb.append(' '); } sb.append("FUNCTION ").append("=[\n"); sb.append(name...
public class class_name { @Override public String describe(Session session, int blanks) { StringBuffer sb = new StringBuffer(); sb.append('\n'); for (int i = 0; i < blanks; i++) { sb.append(' '); // depends on control dependency: [for], data = [none] } sb.app...
public class class_name { public HumanNameDataType getHumanNameDataType(RolodexContract rolodex) { HumanNameDataType humanName = HumanNameDataType.Factory.newInstance(); if (rolodex != null) { humanName.setFirstName(rolodex.getFirstName()); humanName.setLastName(rolodex.getLastName()); String middleName ...
public class class_name { public HumanNameDataType getHumanNameDataType(RolodexContract rolodex) { HumanNameDataType humanName = HumanNameDataType.Factory.newInstance(); if (rolodex != null) { humanName.setFirstName(rolodex.getFirstName()); // depends on control dependency: [if], data = [(rolodex] humanName...
public class class_name { static StructureMembers computemembers(DapVariable var) { DapStructure ds = (DapStructure)var.getBaseType(); StructureMembers sm = new StructureMembers(ds.getShortName()); List<DapVariable> fields = ds.getFields(); for(int i = 0; i < fie...
public class class_name { static StructureMembers computemembers(DapVariable var) { DapStructure ds = (DapStructure)var.getBaseType(); StructureMembers sm = new StructureMembers(ds.getShortName()); List<DapVariable> fields = ds.getFields(); for(int i = 0; i < fie...
public class class_name { public synchronized Object[] getIds() { String[] keys = getAllKeys(); int size = keys.length + indexedProps.size(); Object[] res = new Object[size]; System.arraycopy(keys, 0, res, 0, keys.length); int i = keys.length; // now add all indexed prop...
public class class_name { public synchronized Object[] getIds() { String[] keys = getAllKeys(); int size = keys.length + indexedProps.size(); Object[] res = new Object[size]; System.arraycopy(keys, 0, res, 0, keys.length); int i = keys.length; // now add all indexed prop...
public class class_name { public static DOTComponent createDOTComponent(Reader r) { try { return new DOTComponent(r); } catch (IOException e) { JOptionPane.showMessageDialog(null, "Could not run DOT: " + e.getMessage(), ...
public class class_name { public static DOTComponent createDOTComponent(Reader r) { try { return new DOTComponent(r); // depends on control dependency: [try], data = [none] } catch (IOException e) { JOptionPane.showMessageDialog(null, "C...
public class class_name { @SuppressWarnings("unchecked") @Override @FFDCIgnore({ EntryNotFoundException.class, RegistryException.class }) public Root search(Root root) throws WIMException { final String METHODNAME = "search"; String uniqueName = null; Root returnRoot = new Root(); ...
public class class_name { @SuppressWarnings("unchecked") @Override @FFDCIgnore({ EntryNotFoundException.class, RegistryException.class }) public Root search(Root root) throws WIMException { final String METHODNAME = "search"; String uniqueName = null; Root returnRoot = new Root(); ...
public class class_name { public OptionalLong maxByDouble(LongToDoubleFunction keyExtractor) { return collect(PrimitiveBox::new, (box, l) -> { double key = keyExtractor.applyAsDouble(l); if (!box.b || Double.compare(box.d, key) < 0) { box.b = true; b...
public class class_name { public OptionalLong maxByDouble(LongToDoubleFunction keyExtractor) { return collect(PrimitiveBox::new, (box, l) -> { double key = keyExtractor.applyAsDouble(l); if (!box.b || Double.compare(box.d, key) < 0) { box.b = true; // depends on con...
public class class_name { private void store() { Object parent = stack.peek(); if (isObject(parent)) o(parent).put((String) missingKey, current); else if (isArray(parent)) { int index = ((Number) missingKey).intValue(); List<Object> lst = a(parent); while (lst.size() <= index) lst.add(null); l...
public class class_name { private void store() { Object parent = stack.peek(); if (isObject(parent)) o(parent).put((String) missingKey, current); else if (isArray(parent)) { int index = ((Number) missingKey).intValue(); List<Object> lst = a(parent); while (lst.size() <= index) lst.add(null); l...
public class class_name { public List<Double> parse(String values) { List<Double> inputValues = new ArrayList<Double>(); if (!(values.isEmpty() || values.charAt(0) == '#')) { StringTokenizer tokenizer = new StringTokenizer(values); while (tokenizer.hasMoreTokens()) { ...
public class class_name { public List<Double> parse(String values) { List<Double> inputValues = new ArrayList<Double>(); if (!(values.isEmpty() || values.charAt(0) == '#')) { StringTokenizer tokenizer = new StringTokenizer(values); while (tokenizer.hasMoreTokens()) { ...
public class class_name { public static boolean isServiceSpecified(String command, Configuration conf, String[] argv) { if (conf.get(FSConstants.DFS_FEDERATION_NAMESERVICES) != null) { for (int i = 0; i < argv.length; i++) { if (argv[i].equals("-service")) { // found service specs ...
public class class_name { public static boolean isServiceSpecified(String command, Configuration conf, String[] argv) { if (conf.get(FSConstants.DFS_FEDERATION_NAMESERVICES) != null) { for (int i = 0; i < argv.length; i++) { if (argv[i].equals("-service")) { // found service specs ...
public class class_name { @Override public String parameter(String name) { String s = request.params().get(name); if (s == null) { // Check form parameter if (formData != null) { List<String> l = formData.get(name); if (l != null && !l.isEmpty...
public class class_name { @Override public String parameter(String name) { String s = request.params().get(name); if (s == null) { // Check form parameter if (formData != null) { List<String> l = formData.get(name); if (l != null && !l.isEmpty...
public class class_name { public URLNormalizer addDomainTrailingSlash() { String urlRoot = HttpURL.getRoot(url); String path = toURL().getPath(); if (StringUtils.isNotBlank(path)) { // there is a path so do nothing return this; } String urlRootAndPath = u...
public class class_name { public URLNormalizer addDomainTrailingSlash() { String urlRoot = HttpURL.getRoot(url); String path = toURL().getPath(); if (StringUtils.isNotBlank(path)) { // there is a path so do nothing return this; // depends on control dependency: [if], dat...
public class class_name { @Override public String readString() { log.trace("readString - amf3_mode: {}", amf3_mode); String string; // check current type to ensure reading the string as AMF3 is intended if (currentDataType == AMF3.TYPE_STRING || amf3_mode > 0) { in...
public class class_name { @Override public String readString() { log.trace("readString - amf3_mode: {}", amf3_mode); String string; // check current type to ensure reading the string as AMF3 is intended if (currentDataType == AMF3.TYPE_STRING || amf3_mode > 0) { in...
public class class_name { public boolean runOnMainThread(final Runnable r) { assert handler != null; if (!sanityCheck("runOnMainThread " + r)) { return false; } Runnable wrapper = new Runnable() { public void run() { FPSCounter.timeCheck("runOnM...
public class class_name { public boolean runOnMainThread(final Runnable r) { assert handler != null; if (!sanityCheck("runOnMainThread " + r)) { return false; // depends on control dependency: [if], data = [none] } Runnable wrapper = new Runnable() { public voi...
public class class_name { public List<Artifact> getArtifacts(final Boolean hasLicense) throws GrapesCommunicationException { final Client client = getClient(); final WebResource resource = client.resource(serverURL).path(RequestUtils.getArtifactsPath()); final ClientResponse response = resource...
public class class_name { public List<Artifact> getArtifacts(final Boolean hasLicense) throws GrapesCommunicationException { final Client client = getClient(); final WebResource resource = client.resource(serverURL).path(RequestUtils.getArtifactsPath()); final ClientResponse response = resource...
public class class_name { public static void close(final Source input) throws IOException { if (input != null && input instanceof StreamSource) { final StreamSource s = (StreamSource) input; final InputStream i = s.getInputStream(); if (i != null) { i.close()...
public class class_name { public static void close(final Source input) throws IOException { if (input != null && input instanceof StreamSource) { final StreamSource s = (StreamSource) input; final InputStream i = s.getInputStream(); if (i != null) { i.close()...
public class class_name { public void setCenterX(float centerX) { if ((points == null) || (center == null)) { checkPoints(); } float xDiff = centerX - getCenterX(); setX(x + xDiff); } }
public class class_name { public void setCenterX(float centerX) { if ((points == null) || (center == null)) { checkPoints(); // depends on control dependency: [if], data = [none] } float xDiff = centerX - getCenterX(); setX(x + xDiff); } }
public class class_name { void mirror() { for (int x = 0; x < bitMatrix.getWidth(); x++) { for (int y = x + 1; y < bitMatrix.getHeight(); y++) { if (bitMatrix.get(x, y) != bitMatrix.get(y, x)) { bitMatrix.flip(y, x); bitMatrix.flip(x, y); } } } } }
public class class_name { void mirror() { for (int x = 0; x < bitMatrix.getWidth(); x++) { for (int y = x + 1; y < bitMatrix.getHeight(); y++) { if (bitMatrix.get(x, y) != bitMatrix.get(y, x)) { bitMatrix.flip(y, x); // depends on control dependency: [if], data = [none] bitMatrix....
public class class_name { private JSONObject getJsonFormattedSpellcheckResult(CmsSpellcheckingRequest request) { final JSONObject response = new JSONObject(); try { if (null != request.m_id) { response.put(JSON_ID, request.m_id); } response.put(JSO...
public class class_name { private JSONObject getJsonFormattedSpellcheckResult(CmsSpellcheckingRequest request) { final JSONObject response = new JSONObject(); try { if (null != request.m_id) { response.put(JSON_ID, request.m_id); // depends on control dependency: [if], dat...
public class class_name { @Override public boolean checkUserLoginable(LoginCredential credential) { final CredentialChecker checker = new CredentialChecker(credential); checkCredential(checker); if (!checker.isChecked()) { handleUnknownLoginCredential(credential); } ...
public class class_name { @Override public boolean checkUserLoginable(LoginCredential credential) { final CredentialChecker checker = new CredentialChecker(credential); checkCredential(checker); if (!checker.isChecked()) { handleUnknownLoginCredential(credential); // depends on ...
public class class_name { public IntervalConverter getIntervalConverter(Object object) { IntervalConverter converter = (IntervalConverter)iIntervalConverters.select(object == null ? null : object.getClass()); if (converter != null) { return converter; } throw new...
public class class_name { public IntervalConverter getIntervalConverter(Object object) { IntervalConverter converter = (IntervalConverter)iIntervalConverters.select(object == null ? null : object.getClass()); if (converter != null) { return converter; // depends on control depen...
public class class_name { public Object invokeMethod(String name, Object args) { try { return getMetaClass().invokeMethod(this, name, args); } catch (MissingMethodException e) { // lets apply the method to each item in the collection List answer = new ArrayList(s...
public class class_name { public Object invokeMethod(String name, Object args) { try { return getMetaClass().invokeMethod(this, name, args); // depends on control dependency: [try], data = [none] } catch (MissingMethodException e) { // lets apply the method to each item in t...
public class class_name { private void initMappings() throws Exception { checkClient(); // We extract indexes and mappings to manage from mappings definition if (mappings != null && mappings.length > 0) { Map<String, Collection<String>> indices = getIndexMappings(mappings); ...
public class class_name { private void initMappings() throws Exception { checkClient(); // We extract indexes and mappings to manage from mappings definition if (mappings != null && mappings.length > 0) { Map<String, Collection<String>> indices = getIndexMappings(mappings); ...
public class class_name { @Deprecated public void generateErrorAndRequiredClassForLabels(UIInput input, ResponseWriter rw, String clientId, String additionalClass) throws IOException { String styleClass = getErrorAndRequiredClass(input, clientId); if (null != additionalClass) { additionalClass = additi...
public class class_name { @Deprecated public void generateErrorAndRequiredClassForLabels(UIInput input, ResponseWriter rw, String clientId, String additionalClass) throws IOException { String styleClass = getErrorAndRequiredClass(input, clientId); if (null != additionalClass) { additionalClass = additi...
public class class_name { public File[] listFiles(FileFilter filter) { List ret = new LinkedList(); Iterator it = this.childs.iterator(); File next; while (it.hasNext()) { next = (File)it.next(); if (filter.accept(next)) { ret.add(next); ...
public class class_name { public File[] listFiles(FileFilter filter) { List ret = new LinkedList(); Iterator it = this.childs.iterator(); File next; while (it.hasNext()) { next = (File)it.next(); // depends on control dependency: [while], data = [none] if (filte...
public class class_name { public CmsClientSitemapEntry getParentEntry(CmsClientSitemapEntry entry) { String path = entry.getSitePath(); String parentPath = CmsResource.getParentFolder(path); if (parentPath == null) { return null; } return getEntry(parentPath); }...
public class class_name { public CmsClientSitemapEntry getParentEntry(CmsClientSitemapEntry entry) { String path = entry.getSitePath(); String parentPath = CmsResource.getParentFolder(path); if (parentPath == null) { return null; // depends on control dependency: [if], data = [none...
public class class_name { private String findMessage(final String messageKey) { String message = null; try { if (!this.resourceBundles.isEmpty()) { for (int i = this.resourceBundles.size() - 1; i >= 0 && message == null; i--) { if (this.resourceB...
public class class_name { private String findMessage(final String messageKey) { String message = null; try { if (!this.resourceBundles.isEmpty()) { for (int i = this.resourceBundles.size() - 1; i >= 0 && message == null; i--) { if (this.resourceB...
public class class_name { private void mergePages() throws CmsException { int size = m_foldersEqualnames.size(); if (size > 0) { m_report.println( Messages.get().container(Messages.RPT_MERGE_PAGES_BEGIN_1, String.valueOf(size)), I_CmsReport.FORMAT_HEADLINE)...
public class class_name { private void mergePages() throws CmsException { int size = m_foldersEqualnames.size(); if (size > 0) { m_report.println( Messages.get().container(Messages.RPT_MERGE_PAGES_BEGIN_1, String.valueOf(size)), I_CmsReport.FORMAT_HEADLINE)...
public class class_name { @SuppressWarnings("unchecked") public static <T, K> Join<T, K> findJoinedType(Root<T> root, Class<T> rootClass, Class<K> joinClass) { Join<T, K> join = null; for (Join<T, ?> j : root.getJoins()) { if (j.getJavaType().equals(joinClass)) { join = ...
public class class_name { @SuppressWarnings("unchecked") public static <T, K> Join<T, K> findJoinedType(Root<T> root, Class<T> rootClass, Class<K> joinClass) { Join<T, K> join = null; for (Join<T, ?> j : root.getJoins()) { if (j.getJavaType().equals(joinClass)) { join = ...
public class class_name { public EClass getFNN() { if (fnnEClass == null) { fnnEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(AfplibPackage.eNS_URI).getEClassifiers().get(266); } return fnnEClass; } }
public class class_name { public EClass getFNN() { if (fnnEClass == null) { fnnEClass = (EClass)EPackage.Registry.INSTANCE.getEPackage(AfplibPackage.eNS_URI).getEClassifiers().get(266); // depends on control dependency: [if], data = [none] } return fnnEClass; } }
public class class_name { public ItemImpl getItemByIdentifier(String identifier, boolean pool, boolean apiRead) throws RepositoryException { long start = 0; if (LOG.isDebugEnabled()) { start = System.currentTimeMillis(); LOG.debug("getItemByIdentifier(" + identifier + " ) >>>>>")...
public class class_name { public ItemImpl getItemByIdentifier(String identifier, boolean pool, boolean apiRead) throws RepositoryException { long start = 0; if (LOG.isDebugEnabled()) { start = System.currentTimeMillis(); LOG.debug("getItemByIdentifier(" + identifier + " ) >>>>>")...
public class class_name { @Override public void connectionReleased(IManagedConnectionEvent<C> event) { // physical connection is already set free if (!event.getManagedConnection().hasCoreConnection()) { return; } C con = event.getManagedConnection().getCoreConnection(); if (con == null || !(con instanc...
public class class_name { @Override public void connectionReleased(IManagedConnectionEvent<C> event) { // physical connection is already set free if (!event.getManagedConnection().hasCoreConnection()) { return; // depends on control dependency: [if], data = [none] } C con = event.getManagedConnection().g...
public class class_name { public void marshall(UpdateLagRequest updateLagRequest, ProtocolMarshaller protocolMarshaller) { if (updateLagRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(upda...
public class class_name { public void marshall(UpdateLagRequest updateLagRequest, ProtocolMarshaller protocolMarshaller) { if (updateLagRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(upda...