auphong2707/dl4se-code-review-dataset huggingface dataset:
Source:
<code>public int refresh(IProgressMonitor monitor) { int status = -1; List<? extends ServiceMessage> messages = null; try { HttpURLConnection connection = (HttpURLConnection) new URL(url).openConnection(); if (lastModified != null && lastModified.length() > 0) { try { connection.setIfModifiedSince(Long.parseLong(lastModified)); } catch (NumberFormatException e) { } } if (eTag != null && eTag.length() > 0) { connection.setRequestProperty("If-None-Match", eTag); } try { connection.connect(); status = connection.getResponseCode(); if (status == HttpURLConnection.HTTP_OK && !monitor.isCanceled()) { lastModified = connection.getHeaderField("Last-Modified"); eTag = connection.getHeaderField("ETag"); <START> InputStream in = connection.getInputStream(); <END> try { messages = readMessages(in, monitor); } finally { in.close(); } } else if (status == HttpURLConnection.HTTP_NOT_FOUND) { } else if (status == HttpURLConnection.HTTP_NOT_MODIFIED) { } else { logStatus(new Status(IStatus.WARNING, INotificationsFeed.ID_PLUGIN, "Http error retrieving service message: " + connection.getResponseMessage())); } } finally { connection.disconnect(); } } catch (Exception e) { logStatus(new Status(IStatus.WARNING, INotificationsFeed.ID_PLUGIN, "Http error retrieving service message.", e)); } if (messages != null && messages.size() > 0) { notifyListeners(messages); } return status; }</code><technical_language>a BufferedInputStream here</technical_language>

Target:
public int refresh(IProgressMonitor monitor) { int status = -1; List<? extends ServiceMessage> messages = null; try { HttpURLConnection connection = (HttpURLConnection) new URL(url).openConnection(); if (lastModified != null && lastModified.length() > 0) { try { connection.setIfModifiedSince(Long.parseLong(lastModified)); } catch (NumberFormatException e) { } } if (eTag != null && eTag.length() > 0) { connection.setRequestProperty("If-None-Match", eTag); } try { connection.connect(); status = connection.getResponseCode(); if (status == HttpURLConnection.HTTP_OK && !monitor.isCanceled()) { lastModified = connection.getHeaderField("Last-Modified"); eTag = connection.getHeaderField("ETag"); InputStream in = new BufferedInputStream(connection.getInputStream()); try { messages = readMessages(in, monitor); } finally { in.close(); } } else if (status == HttpURLConnection.HTTP_NOT_FOUND) { } else if (status == HttpURLConnection.HTTP_NOT_MODIFIED) { } else { logStatus(new Status(IStatus.WARNING, INotificationsFeed.ID_PLUGIN, "Http error retrieving service message: " + connection.getResponseMessage())); } } finally { connection.disconnect(); } } catch (Exception e) { logStatus(new Status(IStatus.WARNING, INotificationsFeed.ID_PLUGIN, "Http error retrieving service message.", e)); } if (messages != null && messages.size() > 0) { notifyListeners(messages); } return status; }
Source:
<code>public void testSshProtoWithEmailUserPassAndPort() throws Exception { <START> final String str = "ssh://user.name@example.com:pass@example.com:33/some/p ath"; <END> URIish u = new URIish(str); assertEquals("ssh", u.getScheme()); assertTrue(u.isRemote()); assertEquals("/some/p ath", u.getRawPath()); assertEquals("/some/p ath", u.getPath()); assertEquals("example.com", u.getHost()); assertEquals("user.name@example.com", u.getUser()); assertEquals("pass", u.getPass()); assertEquals(33, u.getPort()); assertEquals("ssh://user.name%40example.com:pass@example.com:33/some/p ath", u.toPrivateString()); assertEquals("ssh://user.name%40example.com:pass@example.com:33/some/p%20ath", u.toPrivateASCIIString()); assertEquals(u.setPass(null).toPrivateString(), u.toString()); assertEquals(u.setPass(null).toPrivateASCIIString(), u.toASCIIString()); assertEquals(u, new URIish(str)); }</code><technical_language>I test pass '@' work. I tested "ssh://user.name@example:lima.com@gondo:lowe:grillo@example.com:33/some/p ath" works great</technical_language>

Target:
public void testSshProtoWithEmailUserPassAndPort() throws Exception { final String str = "ssh://user.name@example.com:pass@word@example.com:33/some/p ath"; URIish u = new URIish(str); assertEquals("ssh", u.getScheme()); assertTrue(u.isRemote()); assertEquals("/some/p ath", u.getRawPath()); assertEquals("/some/p ath", u.getPath()); assertEquals("example.com", u.getHost()); assertEquals("user.name@example.com", u.getUser()); assertEquals("pass@word", u.getPass()); assertEquals(33, u.getPort()); assertEquals("ssh://user.name%40example.com:pass%40word@example.com:33/some/p ath", u.toPrivateString()); assertEquals("ssh://user.name%40example.com:pass%40word@example.com:33/some/p%20ath", u.toPrivateASCIIString()); assertEquals(u.setPass(null).toPrivateString(), u.toString()); assertEquals(u.setPass(null).toPrivateASCIIString(), u.toASCIIString()); assertEquals(u, new URIish(str)); }
Source:
<code>public <T> T trace(String component, String operation, Callable<T> callable) throws RuntimeException { try { startNewSpan(component, operation); return callable.call(); } catch (Exception e) { <START> throw new RuntimeException(e.getMessage(), e); <END> } finally { finishSpan(); } }</code><technical_language>if throws exception, propagate wrap</technical_language>

Target:
public <T> T trace(String component, String operation, Callable<T> callable) { try { startNewSpan(component, operation); return callable.call(); } catch (RuntimeException e) { throw e; } catch (Exception e) { throw new RuntimeException(e.getMessage(), e); } finally { finishSpan(); } }
Source:
<code>public void fetchAllExternalIdsWithNonUniformPageSizes() throws Exception { final Function<List<Category>, List<String>> externalIdCallBack = categories -> categories.stream() .map(Category::getExternalId) .collect(toList()); final CompletionStage<List<List<String>>> categoryPagesStage = QueryExecutionUtils .queryAll(client(), CategoryQuery.of(), externalIdCallBack, 4); final List<List<String>> categoryPages = SphereClientUtils .blockingWait(categoryPagesStage, Duration.ofMinutes(5)); assertThat(categoryPages).hasSize(4); final List<String> externalIds = categoryPages.stream() .flatMap(List::stream) .collect(toList()); assertThat(externalIds).hasSize(15); <START> IntStream.range(0, externalIds.size()).forEach(index -> assertThat(externalIds).contains(index + "")); <END> }</code><technical_language>@katmatt right person ask, refer else. question is: want update assertJ dependency currently _3.3.0_ latest _3.8.0_, is 1.5 years version a lot of handy tools, arrays comparing (including ordered unordered)</technical_language>

Target:
public void fetchAllExternalIdsWithNonUniformPageSizes() throws Exception { final CompletionStage<List<String>> categoriesStage = QueryExecutionUtils .queryAll(client(), CategoryQuery.of(), Category::getExternalId, 4); final List<String> externalIds = SphereClientUtils .blockingWait(categoriesStage, Duration.ofMinutes(1)); assertThat(externalIds).hasSize(15); IntStream.range(0, externalIds.size()).forEach(index -> assertThat(externalIds).contains(index + "")); }
Source:
<code>private <T> T getJNDIObject(String jndiName, boolean noCaching) { <START> if (noCaching || noCaching) { <END> return this.lookup(jndiName); } else { return (T) jndiObjectCache.get().computeIfAbsent(jndiName, this::lookup); } }</code><technical_language>this.noCaching</technical_language>

Target:
private <T> T getJNDIObject(String jndiName, boolean noCaching) { if (noCaching || this.noCaching) { return this.lookup(jndiName); } else { return (T) jndiObjectCache.get().computeIfAbsent(jndiName, this::lookup); } }
Source:
<code>protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_group_settings); Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); setSupportActionBar(toolbar); getSupportActionBar().setDisplayHomeAsUpEnabled(true); getSupportActionBar().setTitle("Group Settings"); getSupportActionBar().setDisplayShowTitleEnabled(true); List<String> itemList = new ArrayList<>(Settings.values().length); itemList.add(Settings.NAME.ordinal(), getResources().getString(R.string.changeGroupName)); itemList.add(Settings.TYPE.ordinal(), getResources().getString(R.string.changeGroupType)); itemList.add(Settings.IMAGE.ordinal(), getResources().getString(R.string.changeGroupImage)); itemList.add(Settings.USERS.ordinal(), getResources().getString(R.string.addUsers)); ListView listView = (ListView) findViewById(R.id.listViewSettings); ListAdapterSettings arrayAdapter = new ListAdapterSettings(getApplicationContext(), R.layout.group_settings_layout, itemList); listView.setAdapter(arrayAdapter); listView.setOnItemClickListener(new CustomListener()); listView.setItemsCanFocus(true); mGroup = YieldsApplication.getGroup(); mUser = YieldsApplication.getUser(); <START> Objects.requireNonNull(mGroup, <END> "The group in YieldsApplication cannot be null when this activity is created"); Objects.requireNonNull(mUser, "The user in YieldsApplication cannot be null when this activity is created"); }</code><technical_language>assert here? below</technical_language>

Target:
protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_group_settings); Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); setSupportActionBar(toolbar); getSupportActionBar().setDisplayHomeAsUpEnabled(true); getSupportActionBar().setTitle("Group Settings"); getSupportActionBar().setDisplayShowTitleEnabled(true); List<String> itemList = new ArrayList<>(Settings.values().length); itemList.add(Settings.NAME.ordinal(), getResources().getString(R.string.changeGroupName)); itemList.add(Settings.TYPE.ordinal(), getResources().getString(R.string.changeGroupType)); itemList.add(Settings.IMAGE.ordinal(), getResources().getString(R.string.changeGroupImage)); itemList.add(Settings.USERS.ordinal(), getResources().getString(R.string.addUsers)); ListView listView = (ListView) findViewById(R.id.listViewSettings); ListAdapterSettings arrayAdapter = new ListAdapterSettings(getApplicationContext(), R.layout.group_settings_layout, itemList); listView.setAdapter(arrayAdapter); listView.setOnItemClickListener(new CustomListener()); listView.setItemsCanFocus(true); mGroup = YieldsApplication.getGroup(); mUser = YieldsApplication.getUser(); assert mGroup != null : "The group in YieldsApplication cannot be null when this activity is created" ; assert mUser != null : "The user in YieldsApplication cannot be null when this activity is created" ; }
Source:
<code>public void listen(EntriesAddedEvent entriesAddedEvent) { List<BibEntry> entries = entriesAddedEvent.getBibEntries(); <START> for (BibEntry entry : entries) { <END> Optional<String> citekey = entry.getCiteKeyOptional(); if (citekey.isPresent()) { addKeyToSet(citekey.get()); } } }</code><technical_language>entries.stream().map(BibEntry::getCiteKeyOptional).forEach(citekey -> addKeyToSet(citkey); work (instead of lines of code</technical_language>

Target:
public void listen(EntriesAddedEvent entriesAddedEvent) { List<BibEntry> entries = entriesAddedEvent.getBibEntries(); entries.stream().map(BibEntry::getCiteKeyOptional).flatMap(Optional::stream).forEach(citeKey -> addKeyToSet(citeKey)); }
Source:
<code>public void testTimeFieldSpecConstructor() { String incomingName = "incoming"; TimeUnit incomingTimeUnit = TimeUnit.HOURS; int incomingTimeUnitSize = 1; TimeGranularitySpec incomingTimeGranularitySpec = new TimeGranularitySpec(LONG, incomingTimeUnitSize, incomingTimeUnit, incomingName); String outgoingName = "outgoing"; TimeUnit outgoingTimeUnit = TimeUnit.DAYS; int outgoingTimeUnitSize = 1; TimeGranularitySpec outgoingTimeGranularitySpec = new TimeGranularitySpec(INT, outgoingTimeUnitSize, outgoingTimeUnit, outgoingName); int defaultNullValue = 17050; <START> TimeFieldSpec timeFieldSpec9 = new TimeFieldSpec(incomingTimeGranularitySpec); <END> TimeFieldSpec timeFieldSpec10 = new TimeFieldSpec(incomingTimeGranularitySpec, defaultNullValue); TimeFieldSpec timeFieldSpec11 = new TimeFieldSpec(incomingTimeGranularitySpec, outgoingTimeGranularitySpec); TimeFieldSpec timeFieldSpec12 = new TimeFieldSpec(incomingTimeGranularitySpec, outgoingTimeGranularitySpec, defaultNullValue); Assert.assertNotEquals(timeFieldSpec10, timeFieldSpec9); Assert.assertNotEquals(timeFieldSpec12, timeFieldSpec11); timeFieldSpec9.setDefaultNullValue(defaultNullValue); timeFieldSpec11.setDefaultNullValue(defaultNullValue); Assert.assertEquals(timeFieldSpec9, timeFieldSpec10); Assert.assertEquals(timeFieldSpec11, timeFieldSpec12); }</code><technical_language>rename variables</technical_language>

Target:
public void testTimeFieldSpecConstructor() { String incomingName = "incoming"; TimeUnit incomingTimeUnit = TimeUnit.HOURS; int incomingTimeUnitSize = 1; TimeGranularitySpec incomingTimeGranularitySpec = new TimeGranularitySpec(LONG, incomingTimeUnitSize, incomingTimeUnit, incomingName); String outgoingName = "outgoing"; TimeUnit outgoingTimeUnit = TimeUnit.DAYS; int outgoingTimeUnitSize = 1; TimeGranularitySpec outgoingTimeGranularitySpec = new TimeGranularitySpec(INT, outgoingTimeUnitSize, outgoingTimeUnit, outgoingName); TimeFieldSpec timeFieldSpec1 = new TimeFieldSpec(incomingTimeGranularitySpec); TimeFieldSpec timeFieldSpec2 = new TimeFieldSpec(incomingTimeGranularitySpec, outgoingTimeGranularitySpec); Assert.assertNotEquals(timeFieldSpec1, timeFieldSpec2); timeFieldSpec1.setOutgoingGranularitySpec(outgoingTimeGranularitySpec); Assert.assertEquals(timeFieldSpec1, timeFieldSpec2); }
Source:
<code><START> public static String getSpatialPartitioningTableName(Session session) <END> { return session.getSystemProperty(SPATIAL_PARTITIONING_TABLE_NAME, String.class); }</code><technical_language>return null. Optional<String>, return Optional.fromNullable(...)</technical_language>

Target:
public static Optional<String> getSpatialPartitioningTableName(Session session) { return Optional.ofNullable(session.getSystemProperty(SPATIAL_PARTITIONING_TABLE_NAME, String.class)); }
Source:
<code>@Override protected void onActivityResult(int requestCode, int resultCode, Intent i) { try { trace(this, "onActivityResult() :: requestCode=%s, resultCode=%s", requestCode, resultCode); if((requestCode & NON_SIMPRINTS_FLAGS) == NON_SIMPRINTS_FLAGS) { switch(requestCode) { case GRAB_PHOTO: photoGrabber.process(requestCode, resultCode, i); return; case GRAB_MRDT_PHOTO: String js = mrdt.process(requestCode, resultCode, i); trace(this, "Execing JS: %s", js); evaluateJavascript(js); return; default: trace(this, "onActivityResult() :: no handling for requestCode=%s", requestCode); } } else if(requestCode == DISCLOSURE_LOCATION_PERMISSION_REQUEST) { if (resultCode == RESULT_OK) { ActivityCompat.requestPermissions( this, LOCATION_PERMISSIONS, ACCESS_FINE_LOCATION_PERMISSION_REQUEST); } else if (resultCode == RESULT_CANCELED) { try { this.locationRequestResolved(); settings.setUserDeniedGeolocation(); } catch (SettingsException e) { error(e, "Error recording negative to access location"); <START> } catch (Exception e) { <END> error(e, "Unknown Error recording negative to access location"); } } } else { String js = simprints.process(requestCode, i); trace(this, "Execing JS: %s", js); evaluateJavascript(js); } } catch(Exception ex) { String action = i == null ? null : i.getAction(); warn(ex, "Problem handling intent %s (%s) with requestCode=%s & resultCode=%s", i, action, requestCode, resultCode); } }</code><technical_language>bad form catch Exceptions I required here. remove this block</technical_language>

Target:
@Override protected void onActivityResult(int requestCode, int resultCode, Intent i) { try { trace(this, "onActivityResult() :: requestCode=%s, resultCode=%s", requestCodeToString(requestCode), resultCode); if((requestCode & NON_SIMPRINTS_FLAGS) == NON_SIMPRINTS_FLAGS) { switch(requestCode) { case GRAB_PHOTO: photoGrabber.process(requestCode, resultCode, i); return; case GRAB_MRDT_PHOTO: String js = mrdt.process(requestCode, resultCode, i); trace(this, "Execing JS: %s", js); evaluateJavascript(js); return; default: trace(this, "onActivityResult() :: no handling for requestCode=%s", requestCodeToString(requestCode)); } } else if(requestCode == DISCLOSURE_LOCATION_PERMISSION_REQUEST) { if (resultCode == RESULT_OK) { ActivityCompat.requestPermissions( this, LOCATION_PERMISSIONS, ACCESS_FINE_LOCATION_PERMISSION_REQUEST); } else if (resultCode == RESULT_CANCELED) { try { this.locationRequestResolved(); settings.setUserDeniedGeolocation(); } catch (SettingsException e) { error(e, "Error recording negative to access location"); } } } else { String js = simprints.process(requestCode, i); trace(this, "Execing JS: %s", js); evaluateJavascript(js); } } catch(Exception ex) { String action = i == null ? null : i.getAction(); warn(ex, "Problem handling intent %s (%s) with requestCode=%s & resultCode=%s", i, action, requestCodeToString(requestCode), resultCode); } }
Source:
<code>public List<SelectableData> getBagItems() { final Stream<SelectableData> defaultItemStream = Stream.of(bagItemDefaultItem()); <START> final Stream<SelectableData> bla = IntStream.range(2, numItems).mapToObj(this::bagItemToSelectableItem); <END> return Stream.concat(defaultItemStream, bla).collect(toList()); }</code><technical_language>bla? :)</technical_language>

Target:
public List<SelectableData> getBagItems() { return bagItems; }
Source:
<code>protected Long getNextBackoff() { if (exponentialRetryAlgorithm == null) { <START> exponentialRetryAlgorithm = createRetryAlgorithm(); <END> } if (currentBackoff == null) { currentBackoff = exponentialRetryAlgorithm.createFirstAttempt(); } else { currentBackoff = exponentialRetryAlgorithm.createNextAttempt(currentBackoff); } if (!exponentialRetryAlgorithm.shouldRetry(currentBackoff)) { return null; } else { return currentBackoff.getRetryDelay().toMillis(); } }</code><technical_language>This instantiated in constructor for rpc, retry attempt (2nd rpc). timeout incorrectly count 2nd rpc. simplify code</technical_language>

Target:
protected Long getNextBackoff() { if (currentBackoff == null) { currentBackoff = exponentialRetryAlgorithm.createFirstAttempt(); } currentBackoff = exponentialRetryAlgorithm.createNextAttempt(currentBackoff); if (!exponentialRetryAlgorithm.shouldRetry(currentBackoff)) { long timeLeftNs = currentBackoff.getGlobalSettings().getTotalTimeout().toNanos() - (clock.nanoTime() - currentBackoff.getFirstAttemptStartTimeNanos()); long timeLeftMs = TimeUnit.NANOSECONDS.toMillis(timeLeftNs); if (timeLeftMs > currentBackoff.getGlobalSettings().getInitialRetryDelay().toMillis()) { return timeLeftMs; } else { return null; } } else { return currentBackoff.getRetryDelay().toMillis(); } }
Source:
<code><START> private Ehcache<String, String> getEhcache(final CacheLoaderWriter<String, String> cacheLoaderWriter) { <END> ExecutorService orderedExecutor = Executors.newSingleThreadExecutor(); ExecutorService unorderedExecutor = Executors.newCachedThreadPool(); cacheEventNotificationService = new CacheEventNotificationServiceImpl<String, String>(orderedExecutor, unorderedExecutor); final Ehcache<String, String> ehcache = new Ehcache<String, String>(CACHE_CONFIGURATION, this.store, cacheLoaderWriter,cacheEventNotificationService,null, LoggerFactory.getLogger(Ehcache.class + "-" + "EhcacheBasicPutEventsTest")); ehcache.init(); assertThat("cache not initialized", ehcache.getStatus(), is(Status.AVAILABLE)); this.spiedResilienceStrategy = this.setResilienceStrategySpy(ehcache); EhcacheBasicTestUtil.registerCacheEventListener(ehcache, testCacheEventListener); return ehcache; }</code><technical_language>code duplication</technical_language>

Target:
private Ehcache<String, String> getEhcache(final CacheLoaderWriter<String, String> cacheLoaderWriter) { ExecutorService orderedExecutor = Executors.newSingleThreadExecutor(); ExecutorService unorderedExecutor = Executors.newCachedThreadPool(); cacheEventNotificationService = new CacheEventNotificationServiceImpl<String, String>(orderedExecutor, unorderedExecutor); final Ehcache<String, String> ehcache = new Ehcache<String, String>(CACHE_CONFIGURATION, this.store, cacheLoaderWriter,cacheEventNotificationService,null, LoggerFactory.getLogger(Ehcache.class + "-" + "EhcacheBasicPutEventsTest")); ehcache.init(); assertThat("cache not initialized", ehcache.getStatus(), is(Status.AVAILABLE)); registerCacheEventListener(ehcache, cacheEventListener); return ehcache; }
Source:
<code><START> public RefUpdate.Result createEdit(Change change, PatchSet ps) <END> throws AuthException, IOException, ResourceConflictException { if (!currentUser.get().isIdentifiedUser()) { throw new AuthException("Authentication required"); } IdentifiedUser me = (IdentifiedUser) currentUser.get(); Repository repo = gitManager.openRepository(change.getProject()); String refName = editRefName(me.getAccountId(), change.getId()); if (repo.getRefDatabase().getRef(refName) != null) { throw new ResourceConflictException("edit already exists"); } try { RevWalk rw = new RevWalk(repo); ObjectInserter inserter = repo.newObjectInserter(); try { RevCommit base = rw.parseCommit(ObjectId.fromString( ps.getRevision().get())); return update(repo, me, refName, rw, base, base, ObjectId.zeroId(), createCommit(me, inserter, base, base, base.getTree())); } finally { rw.release(); inserter.release(); } } finally { repo.close(); } }</code><technical_language>do need create edit ref changes? create ref modification</technical_language>

Target:
public RefUpdate.Result createEdit(Change change, PatchSet ps) throws AuthException, IOException, ResourceConflictException { if (!currentUser.get().isIdentifiedUser()) { throw new AuthException("Authentication required"); } IdentifiedUser me = (IdentifiedUser) currentUser.get(); Repository repo = gitManager.openRepository(change.getProject()); String refName = editRefName(me.getAccountId(), change.getId()); try { if (repo.getRefDatabase().getRef(refName) != null) { throw new ResourceConflictException("edit already exists"); } RevWalk rw = new RevWalk(repo); ObjectInserter inserter = repo.newObjectInserter(); try { RevCommit base = rw.parseCommit(ObjectId.fromString( ps.getRevision().get())); ObjectId commit = createCommit(me, inserter, base, base, base.getTree()); inserter.flush(); return update(repo, me, refName, rw, base, ObjectId.zeroId(), commit); } finally { rw.release(); inserter.release(); } } finally { repo.close(); } }
Source:
<code>public void login(final Credentials credentials, final IAuthenticationManager.Callback<UserAccount> callback) { <START> if (credentials == null || credentials.isDemoCredentials()) { <END> localLogin(credentials, callback); } else { remoteLogin(credentials, callback); } }</code><technical_language>if credentials is null login throw IllegalArgumentException null credentials demo credentials is case</technical_language>

Target:
public void login(final Credentials credentials, final IAuthenticationManager.Callback<UserAccount> callback) { if (credentials.isDemoCredentials()) { localLogin(credentials, callback); } else { remoteLogin(credentials, callback); } }
Source:
<code>void run() { if (fused) { return; } Observer<? super Long> actual = this.actual; long e = end; for (long i = index; i != e && get() == 0; i++) { <START> actual.onNext((long)i); <END> } if (get() == 0) { lazySet(1); actual.onComplete(); } }</code><technical_language>unnecessary cast long</technical_language>

Target:
void run() { if (fused) { return; } Observer<? super Long> actual = this.actual; long e = end; for (long i = index; i != e && get() == 0; i++) { actual.onNext(i); } if (get() == 0) { lazySet(1); actual.onComplete(); } }
Source:
<code>public List<EngineMessage> validate(VmInit vmInit) { if (vmInit != null) { if <START> (vmInit.getCloudInitNetworkProtocol() == null) { <END> vmInit.setCloudInitNetworkProtocol(OPENSTACK_METADATA); } switch (vmInit.getCloudInitNetworkProtocol()) { case OPENSTACK_METADATA: return new VmInitToOpenStackMetadataAdapter().validate(vmInit); case ENI: } } return Collections.emptyList(); }</code><technical_language>In other places isOpenstackMetadataProtocol() used. modify isOpenstackMetadataProtocol() isOpenstackMetadataProtocol() in places</technical_language>

Target:
public List<EngineMessage> validate(VmInit vmInit) { if (vmInit != null) { setDefaultNetworkProtocolIfNeeded(vmInit); switch (vmInit.getCloudInitNetworkProtocol()) { case OPENSTACK_METADATA: return new VmInitToOpenStackMetadataAdapter().validate(vmInit); case ENI: } } return Collections.emptyList(); }
Source:
<code>private void addMetaToOutputJackLib(Meta meta, OutputJackLibrary ojl) { InputVFile inputFile = meta.getVFile(); VPath path = meta.getPath(); OutputVFile outputFile = ojl.createFile(FileType.JPP, path); InputStream is = inputFile.openRead(); OutputStream os = outputFile.openWrite(); try { <START> ByteStreamSucker sucker = new ByteStreamSucker(is, os); <END> sucker.suck(); } finally { if (is != null) { is.close(); } if (os != null) { os.close(); } } }</code><technical_language>Is this? try { new ByteStreamSucker(is, os, true).suck(); } finally { is.close(); }</technical_language>

Target:
private void addMetaToOutputJackLib(Meta meta, OutputJackLibrary ojl) { InputVFile inputFile = meta.getVFile(); VPath path = meta.getPath(); OutputVFile outputFile = ojl.createFile(FileType.JPP, path); InputStream is; OutputStream os; try { is = inputFile.openRead(); os = outputFile.openWrite(); ByteStreamSucker sucker = new ByteStreamSucker(is, os, true ); sucker.suck(); } finally { if (is != null) { is.close(); } } }
Source:
<code>private ProxyProfileConfig getProxyProfileForTargetHost(String targetHost) { if (knownProxyConfigMap.containsKey(targetHost)) { return knownProxyConfigMap.get(targetHost); } if (knownDirectHosts.contains(targetHost)) { return null; } boolean defaultProfile = false; for (String key : proxyProfileMap.keySet()) { <START> if (key.equals("*")) { <END> log.debug("Default proxy profile found"); defaultProfile = true; continue; } if (targetHost.matches(key)) { return getProxyProfileConfig(targetHost, key); } } if (defaultProfile) { return getProxyProfileConfig(targetHost, "*"); } return null; }</code><technical_language>NPE</technical_language>

Target:
private ProxyProfileConfig getProxyProfileForTargetHost(String targetHost) { if (knownProxyConfigMap.containsKey(targetHost)) { return knownProxyConfigMap.get(targetHost); } if (knownDirectHosts.contains(targetHost)) { return null; } boolean defaultProfile = false; for (String key : proxyProfileMap.keySet()) { if ("*".equals(key)) { log.debug("Default proxy profile found"); defaultProfile = true; continue; } if (targetHost.matches(key)) { return getProxyProfileConfig(targetHost, key); } } if (defaultProfile) { return getProxyProfileConfig(targetHost, "*"); } return null; }
Source:
<code>public void controller(FragmentModel model, @FragmentParam(required = true, value = "uuid") String uuid) throws Exception { PersonAttributeType personAttributeType = Context.getPersonService().getPersonAttributeTypeByUuid(uuid); <START> if(personAttributeType.getFormat().contentEquals(Concept.class.getCanonicalName())){ <END> int foreignKey = personAttributeType.getForeignKey(); model.put("foreignKey", foreignKey); model.put("codedPersonAttribute", true); } else{ model.put("codedPersonAttribute", false); } }</code><technical_language>I this personAttributeType.getFormat().equals(Concept.class.getName())</technical_language>

Target:
public void controller(FragmentModel model, @FragmentParam(required = true, value = "uuid") String uuid) throws Exception { PersonAttributeType personAttributeType = Context.getPersonService().getPersonAttributeTypeByUuid(uuid); if(personAttributeType.getFormat().equals(Concept.class.getName())){ int foreignKey = personAttributeType.getForeignKey(); model.put("foreignKey", foreignKey); model.put("codedPersonAttribute", true); } else{ model.put("codedPersonAttribute", false); } }
Source:
<code>protected double weight(IntVar v) { double w = 0.; int nbp = v.getNbProps(); for (int i = 0; i < nbp; i++) { Propagator prop = v.getPropagator(i); <START> int pid = prop.getId(); int futVars = pid2arity.get(pid); if (futVars == -1) { futVars = prop.arity(); pid2arity.put(pid, futVars); } <END> if (futVars > 1) { w += q.get(prop) + D; } } return w / v.getDomainSize(); }</code><technical_language>I do get idea pid2arity. In paper, weight is increased q.get(prop) + D if number of uninstantiated variables is strictly greater one. do behaviour a method this ? private static boolean hasStrictlyMoreThanOneUninstantiatedVariables(Propagator prop) { int nbUninstantiatedVariables = 0; for(int i = 0; i<prop.getNbVars(); i++) { if(!prop.getVar(i).isInstantiated()) { nbUninstantiatedVariables++; if(nbUninstantiatedVariables > 1) { return true; } } } return false; } is costful long run</technical_language>

Target:
protected double weight(IntVar v) { double w = 0.; int nbp = v.getNbProps(); for (int i = 0; i < nbp; i++) { Propagator prop = v.getPropagator(i); if (futVars(prop) > 1) { w += q.get(prop) + D; } } return w / v.getDomainSize(); }
Source:
<code>private List<String> createList(Class[] classArray) { List<Class> fileNameList = Arrays.asList(classArray); <START> List<String> foo = new ArrayList<>(); <END> for (Class c : fileNameList) { if (c.getName().contains("AST")) { foo.add(c.getName()); } } for (String s1 : foo) { xPathSuggestions.add(s1.replace("AST", "").replace("net.sourceforge.pmd" + ".lang." + language + ".ast" + ".", "")); } return xPathSuggestions; }</code><technical_language>"foo"</technical_language>

Target:
private List<String> createList(Class[] classArray) { return Arrays.asList(classArray).stream() .filter(files -> files.getSimpleName().startsWith("AST")) .map(m -> m.getSimpleName().substring("AST".length())) .collect(Collectors.toList()); }
Source:
<code>public Summary[] getSummaryImpl() throws DDFException { DataFrame df = (DataFrame) this.getDDF().getRepresentationHandler().get(DataFrame.class); DataFrame summaryDF = df.describe(); Row[] rows = summaryDF.collect(); Summary[] summaries = new Summary[df.columns().length]; List<Column> columns = this.getDDF().getSchema().getColumns(); int colIndex = 0; int i = 1; for(Column column: columns) { if(column.isNumeric()) { long count = Long.valueOf(rows[0].getString(i)); double mean = Double.valueOf(rows[1].getString(i)); double stddev = Double.valueOf(rows[2].getString(i)); double sqdeviation = Math.pow(stddev, 2)*(count - 1); double min = Double.valueOf(rows[3].getString(i)); double max = Double.valueOf(rows[4].getString(i)); <START> String sqlCmd = String.format("select count(*) from %s where `%s` is null", <END> this.getDDF().getTableName(), column.getName()); long naCount = df.sqlContext().sql(sqlCmd).collect()[0].getLong(0); Summary summary = new Summary(count, mean, sqdeviation, naCount, min, max); summaries[colIndex] = summary; i += 1; } else { summaries[colIndex] = null; } colIndex += 1; } return summaries; }</code><technical_language>faster if sum(if(...)) in a single query</technical_language>

Target:
public Summary[] getSummaryImpl() throws DDFException { DataFrame df = (DataFrame) this.getDDF().getRepresentationHandler().get(DataFrame.class); DataFrame summaryDF = df.describe(); Row[] rows = summaryDF.collect(); Summary[] summaries = new Summary[df.columns().length]; List<Column> columns = this.getDDF().getSchema().getColumns(); int colIndex = 0; int i = 1; for(Column column: columns) { if(column.isNumeric()) { long count = 0L; if(rows[0].isNullAt(i)) { count = 0L; } else { count = Long.valueOf(rows[0].getString(i)); } Double mean = Double.NaN; if(!rows[1].isNullAt(i)) { mean = Double.valueOf(rows[1].getString(i)); } Double sqdeviation = Double.NaN; if(!rows[2].isNullAt(i)) { Double stddev = Double.valueOf(rows[2].getString(i)); sqdeviation = Math.pow(stddev, 2)*(count - 1); } Double min = Double.NaN; if(!rows[3].isNullAt(i)) { min = Double.valueOf(rows[3].getString(i)); } Double max = Double.NaN; if(!rows[4].isNullAt(i)) { max = Double.valueOf(rows[4].getString(i)); } String sqlCmd = String.format("select count(*) from %s where `%s` is null", this.getDDF().getTableName(), column.getName()); long naCount = df.sqlContext().sql(sqlCmd).collect()[0].getLong(0); Summary summary = new Summary(count, mean, sqdeviation, naCount, min, max); summaries[colIndex] = summary; i += 1; } else { summaries[colIndex] = null; } colIndex += 1; } return summaries; }
Source:
<code>public void deriveAccountOne() throws Exception { long secs = 1389353062L; <START> DeterministicKeyChain chain1 = new DeterministicKeyChain(ENTROPY, "", secs) { <END> @Override protected ImmutableList<ChildNumber> getAccountPath() { return ImmutableList.of(ChildNumber.ONE); } }; ECKey key1 = chain1.getKey(KeyChain.KeyPurpose.RECEIVE_FUNDS); ECKey key2 = chain1.getKey(KeyChain.KeyPurpose.RECEIVE_FUNDS); final Address address = new Address(UnitTestParams.get(), "n2nHHRHs7TiZScTuVhZUkzZfTfVgGYwy6X"); assertEquals(address, key1.toAddress(UnitTestParams.get())); assertEquals("mnp2j9za5zMuz44vNxrJCXXhZsCdh89QXn", key2.toAddress(UnitTestParams.get()).toString()); assertEquals(key1, chain1.findKeyFromPubHash(address.getHash160())); assertEquals(key2, chain1.findKeyFromPubKey(key2.getPubKey())); key1.sign(Sha256Hash.ZERO_HASH); ECKey key3 = chain1.getKey(KeyChain.KeyPurpose.CHANGE); assertEquals("mpjRhk13rvV7vmnszcUQVYVQzy4HLTPTQU", key3.toAddress(UnitTestParams.get()).toString()); key3.sign(Sha256Hash.ZERO_HASH); }</code><technical_language>AccountOneChain here, no</technical_language>

Target:
public void deriveAccountOne() throws Exception { long secs = 1389353062L; DeterministicKeyChain chain1 = new AccountOneChain(ENTROPY, "", secs); ECKey key1 = chain1.getKey(KeyChain.KeyPurpose.RECEIVE_FUNDS); ECKey key2 = chain1.getKey(KeyChain.KeyPurpose.RECEIVE_FUNDS); final Address address = new Address(UnitTestParams.get(), "n2nHHRHs7TiZScTuVhZUkzZfTfVgGYwy6X"); assertEquals(address, key1.toAddress(UnitTestParams.get())); assertEquals("mnp2j9za5zMuz44vNxrJCXXhZsCdh89QXn", key2.toAddress(UnitTestParams.get()).toString()); assertEquals(key1, chain1.findKeyFromPubHash(address.getHash160())); assertEquals(key2, chain1.findKeyFromPubKey(key2.getPubKey())); key1.sign(Sha256Hash.ZERO_HASH); ECKey key3 = chain1.getKey(KeyChain.KeyPurpose.CHANGE); assertEquals("mpjRhk13rvV7vmnszcUQVYVQzy4HLTPTQU", key3.toAddress(UnitTestParams.get()).toString()); key3.sign(Sha256Hash.ZERO_HASH); }
Source:
<code>public void testLateRegisterSuccess() throws Exception { DefaultEventLoopGroup group = new DefaultEventLoopGroup(1); try { LateRegisterHandler registerHandler = new LateRegisterHandler(); ServerBootstrap bootstrap = new ServerBootstrap(); bootstrap.group(group); bootstrap.handler(registerHandler); bootstrap.channel(LocalServerChannel.class); bootstrap.childHandler(new DummyHandler()); bootstrap.localAddress(new LocalAddress("1")); ChannelFuture future = bootstrap.bind(); assertFalse(future.isDone()); <START> Thread.sleep(1000); <END> registerHandler.registerPromise().setSuccess(); final BlockingQueue<Boolean> queue = new LinkedBlockingQueue<Boolean>(); future.addListener(new ChannelFutureListener() { @Override public void operationComplete(ChannelFuture future) throws Exception { queue.add(future.channel().eventLoop().inEventLoop(Thread.currentThread())); queue.add(future.isSuccess()); } }); assertTrue(queue.take()); assertTrue(queue.take()); } finally { group.shutdownGracefully(); group.terminationFuture().sync(); } }</code><technical_language>Residue debugging</technical_language>

Target:
public void testLateRegisterSuccess() throws Exception { DefaultEventLoopGroup group = new DefaultEventLoopGroup(1); try { LateRegisterHandler registerHandler = new LateRegisterHandler(); ServerBootstrap bootstrap = new ServerBootstrap(); bootstrap.group(group); bootstrap.handler(registerHandler); bootstrap.channel(LocalServerChannel.class); bootstrap.childHandler(new DummyHandler()); bootstrap.localAddress(new LocalAddress("1")); ChannelFuture future = bootstrap.bind(); assertFalse(future.isDone()); registerHandler.registerPromise().setSuccess(); final BlockingQueue<Boolean> queue = new LinkedBlockingQueue<Boolean>(); future.addListener(new ChannelFutureListener() { @Override public void operationComplete(ChannelFuture future) throws Exception { queue.add(future.channel().eventLoop().inEventLoop(Thread.currentThread())); queue.add(future.isSuccess()); } }); assertTrue(queue.take()); assertTrue(queue.take()); } finally { group.shutdownGracefully(); group.terminationFuture().sync(); } }
Source:
<code>void updateDescriptors( Collection<DynamicRouteDescriptor> dynamicDescriptors) { mMemberRoutes.clear(); mUnselectableRoutes.clear(); mGroupableRoutes.clear(); mTransferableRoutes.clear(); boolean changed = false; for (DynamicRouteDescriptor dynamicDescriptor : dynamicDescriptors) { RouteInfo route = findRouteByDynamicRouteDescriptor(dynamicDescriptor); if (route == null) { continue; } int previousState = route.getSelectionState(); if (dynamicDescriptor.getSelectionState() != previousState) { route.mSelectionState = dynamicDescriptor.getSelectionState(); changed |= true; } if (dynamicDescriptor.isGroupable()) { <START> mGroupableRoutes.add(route.getId()); <END> } if (dynamicDescriptor.isTransferable()) { mTransferableRoutes.add(route.getId()); } if ((dynamicDescriptor.getSelectionState() == DynamicRouteDescriptor.SELECTING) || (dynamicDescriptor.getSelectionState() == DynamicRouteDescriptor.SELECTED)) { mMemberRoutes.add(route); if (dynamicDescriptor.isUnselectable()) { mUnselectableRoutes.add(route); } } if (changed) { sGlobal.mCallbackHandler.post( GlobalMediaRouter.CallbackHandler.MSG_ROUTE_CHANGED, route); } } sGlobal.mCallbackHandler.post( GlobalMediaRouter.CallbackHandler.MSG_ROUTE_CHANGED, this); }</code><technical_language>mGroupableRoutes is a Collection of RouteInfo, route.getId() route</technical_language>

Target:
void updateDescriptors( Collection<DynamicRouteDescriptor> dynamicDescriptors) { mMemberRoutes.clear(); mUnselectableRoutes.clear(); mGroupableRoutes.clear(); mTransferableRoutes.clear(); boolean changed = false; for (DynamicRouteDescriptor dynamicDescriptor : dynamicDescriptors) { RouteInfo route = findRouteByDynamicRouteDescriptor(dynamicDescriptor); if (route == null) { continue; } int previousState = route.getSelectionState(); if (dynamicDescriptor.getSelectionState() != previousState) { route.mSelectionState = dynamicDescriptor.getSelectionState(); changed |= true; } if (dynamicDescriptor.isGroupable()) { mGroupableRoutes.add(route); } if (dynamicDescriptor.isTransferable()) { mTransferableRoutes.add(route); } if ((dynamicDescriptor.getSelectionState() == DynamicRouteDescriptor.SELECTING) || (dynamicDescriptor.getSelectionState() == DynamicRouteDescriptor.SELECTED)) { mMemberRoutes.add(route); if (dynamicDescriptor.isUnselectable()) { mUnselectableRoutes.add(route); } } } sGlobal.mCallbackHandler.post( GlobalMediaRouter.CallbackHandler.MSG_ROUTE_CHANGED, this); }
Source:
<code>public void setContentType(String contentType) { ObjectUtil.checkNotNull(contentType, "contentType"); <START> this.contentType = contentType; <END> }</code><technical_language>consider merging lines</technical_language>

Target:
public void setContentType(String contentType) { this.contentType = ObjectUtil.checkNotNull(contentType, "contentType"); }
Source:
<code><START> public void log(Set<SubscriptionName> assigned, <END> Set<SubscriptionName> running, Set<SubscriptionName> missing, Set<SubscriptionName> oversubscribed) { for (SubscriptionName subscriptionName : missing) { logger.warn("Missing consumer process for subscription: {}", subscriptionName); } for (SubscriptionName subscriptionName : oversubscribed) { logger.warn("Unwanted consumer process for subscription: {}", subscriptionName); } logger.info( "Subscriptions assigned: {}, existing subscriptions: {}, missing: {}, oversubscribed: {}", assigned.size(), running.size(), missing.size(), oversubscribed.size() ); }</code><technical_language>public? ordering of methods is a bit off, run() easier read</technical_language>

Target:
private void log(Set<SubscriptionName> assigned, Set<SubscriptionName> running, Set<SubscriptionName> missing, Set<SubscriptionName> oversubscribed) { for (SubscriptionName subscriptionName : missing) { logger.warn("Missing consumer process for subscription: {}", subscriptionName); } for (SubscriptionName subscriptionName : oversubscribed) { logger.warn("Unwanted consumer process for subscription: {}", subscriptionName); } logger.info( "Subscriptions assigned: {}, existing subscriptions: {}, missing: {}, oversubscribed: {}", assigned.size(), running.size(), missing.size(), oversubscribed.size() ); }
Source:
<code>public void clearMinRankOptions(int questionNumber) { WebElement minRecipientsToBeRankedInput = getMinOptionsToBeRankedInputElement(questionNumber); <START> minRecipientsToBeRankedInput.click(); <END> minRecipientsToBeRankedInput.clear(); }</code><technical_language>click in this method</technical_language>

Target:
public void clearMinRankOptions(int questionNumber) { WebElement minRecipientsToBeRankedInput = getMinOptionsToBeRankedInputElement(questionNumber); minRecipientsToBeRankedInput.clear(); }
Source:
<code>private void processOptions(RepositoryState state) throws JGitInternalException { if (author == null) author = new PersonIdent(repo); if (name == null || !Repository.isValidRefName(Constants.R_TAGS + name)) throw new JGitInternalException(MessageFormat .format(JGitText.get().tagNameInvalid, name == null ? "<null>" : name)); <START> if (signed == true) <END> throw new UnsupportedOperationException(JGitText.get().signingNotSupportedOnTag); }</code><technical_language>if (signed) is enough. try compare boolean variables boolean constants</technical_language>

Target:
private void processOptions(RepositoryState state) throws JGitInternalException { if (tagger == null) tagger = new PersonIdent(repo); if (name == null || !Repository.isValidRefName(Constants.R_TAGS + name)) throw new JGitInternalException(MessageFormat.format( JGitText.get().tagNameInvalid, name == null ? "<null>" : name)); if (signed) throw new UnsupportedOperationException( JGitText.get().signingNotSupportedOnTag); }
Source:
<code>static synchronized void updateSchemaCache(Realm realm) { final RealmCache cache = cachesMap.get(realm.getPath()); if (cache == null) { return; } final RefAndCount refAndCount = cache.refAndCountMap.get(RealmCacheType.TYPED_REALM); if (refAndCount.localRealm.get() == null) { return; } final ColumnIndices[] globalCacheArray = cache.typedColumnIndicesArray; final ColumnIndices createdCacheEntry = realm.updateSchemaCache( <START> globalCacheArray); <END> if (createdCacheEntry != null) { RealmCache.store(globalCacheArray, createdCacheEntry); } }</code><technical_language>Wrong wrap</technical_language>

Target:
static synchronized void updateSchemaCache(Realm realm) { final RealmCache cache = cachesMap.get(realm.getPath()); if (cache == null) { return; } final RefAndCount refAndCount = cache.refAndCountMap.get(RealmCacheType.TYPED_REALM); if (refAndCount.localRealm.get() == null) { return; } final ColumnIndices[] globalCacheArray = cache.typedColumnIndicesArray; final ColumnIndices createdCacheEntry = realm.updateSchemaCache(globalCacheArray); if (createdCacheEntry != null) { RealmCache.storeColumnIndices(globalCacheArray, createdCacheEntry); } }
Source:
<code>public InteractiveBrowserCredential build() { ValidationUtil.validate(getClass().getSimpleName(), new HashMap<String, Object>() {{ put("clientId", clientId); }}); <START> return new InteractiveBrowserCredential(clientId, tenantId, port, redirectURL, automaticAuthentication, <END> identityClientOptions); }</code><technical_language>if redirectUrl contains a port already? throw is port redirectUrl specified</technical_language>

Target:
public InteractiveBrowserCredential build() { ValidationUtil.validateInteractiveBrowserRedirectUrlSetup(getClass().getSimpleName(), port, redirectUrl); ValidationUtil.validate(getClass().getSimpleName(), new HashMap<String, Object>() {{ put("clientId", clientId); }}); return new InteractiveBrowserCredential(clientId, tenantId, port, redirectUrl, automaticAuthentication, identityClientOptions); }
Source:
<code>public static MongoInstitution getInstance(final Authenticator authenticator) { MongoInstitution result = instance; if (result == null) { synchronized (MongoInstitution.class) { if (result == null) { <START> result = instance; <END> instance = result = new MongoInstitution(); result.auth = authenticator; } } } return result; }</code><technical_language>is this defined changed next line</technical_language>

Target:
public static MongoInstitution getInstance(final Authenticator authenticator) { MongoInstitution result = instance; if (result == null) { synchronized (MongoInstitution.class) { if (result == null) { instance = result = new MongoInstitution(); result.auth = authenticator; } } } return result; }
Source:
<code><START> public boolean equals(Object that) { <END> if (this == that) { return true; } if (that instanceof Rating) { Rating other = (Rating) that; return type.equals(other.type) && value.equals(other.value) && numberOfVotes.equals(other.numberOfVotes); } return false; }</code><technical_language>Hash code</technical_language>

Target:
public boolean equals(Object that) { if (this == that) { return true; } if (that instanceof Rating) { Rating other = (Rating) that; return type.equals(other.type) && value.equals(other.value) && Objects.equals(numberOfVotes, other.numberOfVotes); } return false; }
Source:
<code>protected final <T> void waitUntil(Supplier<T> callable, Matcher<T> matcher) { <START> waitUntil(callable, matcher, OPERATION_TIMEOUT); <END> }</code><technical_language>a constant: needs a variable (like timeout) changed test / class eventually adapted for EE</technical_language>

Target:
protected final <T> void waitUntil(Supplier<T> callable, Matcher<T> matcher) { waitUntil(callable, matcher, getAssertTimeout()); }
Source:
<code>public void truncateTable(TableName tableName, boolean preserveSplits) throws IOException { bigtableTableAdminClient.deleteRowRange(BulkDeleteRowsRequest.newBuilder() .setTableName(options.getClusterName().toTableNameStr(tableName.getNameAsString())) .setDeleteAllDataFromTable(true) <START> .build()); <END> }</code><technical_language>} catch (Throwable throwable) { throw new IOException( String.format( "Failed truncate table '%s'", tableName.getNameAsString()), throwable); }</technical_language>

Target:
public void truncateTable(TableName tableName, boolean preserveSplits) throws IOException { if (!preserveSplits) { LOG.info("truncate will preserveSplits. The passed in variable is ignored."); } issueBulkDelete(tableName, BulkDeleteRowsRequest.newBuilder().setDeleteAllDataFromTable(true)); disabledTables.remove(tableName); }