id int64 1 49k | buggy stringlengths 34 37.5k | fixed stringlengths 2 37k |
|---|---|---|
36,401 | public void deveGerarXMLDeAcordoComOPadraoEstabelecido() {
final NFLoteConsultaRetorno retorno = new NFLoteConsultaRetorno();
retorno.setAmbiente(NFAmbiente.HOMOLOGACAO);
retorno.setMotivo("8CwtnC5gWwUncMBYAZl9p4fvVx8RkCH2EKx2mtUNVA5tLoJsjNWL5CJ6DXNUHTWKpPl6fMKKxA0aXBu6IfmJLIHlPxtF0oZkKrNsGyGpwKqWxvDZ9HQGqscmhtTrp5NbNz... | retorno.setProtocolos(Collections.singletonList(FabricaDeObjetosFake.getNFProtocolo()));
|
36,402 | import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.security.DigestOutputStream;
import java.security.MessageDigest;
<BUG>import java.security.NoSuchAlgorithmException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;</BUG>
public final class ... | import java.text.DateFormat;
import java.util.Date;
import java.util.List;
|
36,403 | package org.jboss.as.patching.runner;
<BUG>import org.jboss.as.boot.DirectoryStructure;
import org.jboss.as.patching.LocalPatchInfo;</BUG>
import org.jboss.as.patching.PatchInfo;
import org.jboss.as.patching.PatchLogger;
import org.jboss.as.patching.PatchMessages;
| import static org.jboss.as.patching.runner.PatchUtils.generateTimestamp;
import org.jboss.as.patching.CommonAttributes;
import org.jboss.as.patching.LocalPatchInfo;
|
36,404 | private static final String PATH_DELIMITER = "/";
public static final byte[] NO_CONTENT = PatchingTask.NO_CONTENT;
enum Element {
ADDED_BUNDLE("added-bundle"),
ADDED_MISC_CONTENT("added-misc-content"),
<BUG>ADDED_MODULE("added-module"),
BUNDLES("bundles"),</BUG>
CUMULATIVE("cumulative"),
DESCRIPTION("description"),
MIS... | APPLIES_TO_VERSION("applies-to-version"),
BUNDLES("bundles"),
|
36,405 | final int count = reader.getAttributeCount();
for (int i = 0; i < count; i++) {
final String value = reader.getAttributeValue(i);
final Attribute attribute = Attribute.forName(reader.getAttributeLocalName(i));
switch (attribute) {
<BUG>case APPLIES_TO_VERSION:
builder.addAppliesTo(value);
break;</BUG>
case RESULTING_VE... | [DELETED] |
36,406 | final StringBuilder path = new StringBuilder();
for(final String p : item.getPath()) {
path.append(p).append(PATH_DELIMITER);
}
path.append(item.getName());
<BUG>writer.writeAttribute(Attribute.PATH.name, path.toString());
if(type != ModificationType.REMOVE) {</BUG>
writer.writeAttribute(Attribute.HASH.name, bytesToHex... | if (item.isDirectory()) {
writer.writeAttribute(Attribute.DIRECTORY.name, "true");
if(type != ModificationType.REMOVE) {
|
36,407 | package org.jboss.as.patching;
import org.jboss.as.controller.OperationFailedException;
import org.jboss.as.patching.runner.PatchingException;
import org.jboss.logging.Messages;
import org.jboss.logging.annotations.Message;
<BUG>import org.jboss.logging.annotations.MessageBundle;
import java.io.IOException;</BUG>
impor... | import org.jboss.logging.annotations.Cause;
import java.io.IOException;
|
36,408 | package com.projecttango.examples.java.augmentedreality;
import com.google.atap.tangoservice.Tango;
import com.google.atap.tangoservice.Tango.OnTangoUpdateListener;
import com.google.atap.tangoservice.TangoCameraIntrinsics;
import com.google.atap.tangoservice.TangoConfig;
<BUG>import com.google.atap.tangoservice.TangoC... | import com.google.atap.tangoservice.TangoErrorException;
import com.google.atap.tangoservice.TangoEvent;
|
36,409 | super.onResume();
if (!mIsConnected) {
mTango = new Tango(AugmentedRealityActivity.this, new Runnable() {
@Override
public void run() {
<BUG>try {
connectTango();</BUG>
setupRenderer();
mIsConnected = true;
} catch (TangoOutOfDateException e) {
| TangoSupport.initialize();
connectTango();
|
36,410 | if (lastFramePose.statusCode == TangoPoseData.POSE_VALID) {
mRenderer.updateRenderCameraPose(lastFramePose, mExtrinsics);
mCameraPoseTimestamp = lastFramePose.timestamp;</BUG>
} else {
<BUG>Log.w(TAG, "Can't get device pose at time: " + mRgbTimestampGlThread);
}</BUG>
}
}
}
@Override
| mRenderer.updateRenderCameraPose(lastFramePose);
mCameraPoseTimestamp = lastFramePose.timestamp;
Log.w(TAG, "Can't get device pose at time: " +
|
36,411 | import org.rajawali3d.materials.Material;
import org.rajawali3d.materials.methods.DiffuseMethod;
import org.rajawali3d.materials.textures.ATexture;
import org.rajawali3d.materials.textures.StreamingTexture;
import org.rajawali3d.materials.textures.Texture;
<BUG>import org.rajawali3d.math.Matrix4;
import org.rajawali3d.... | import org.rajawali3d.math.Quaternion;
import org.rajawali3d.math.vector.Vector3;
|
36,412 | translationMoon.setRepeatMode(Animation.RepeatMode.INFINITE);
translationMoon.setTransformable3D(moon);
getCurrentScene().registerAnimation(translationMoon);
translationMoon.play();
}
<BUG>public void updateRenderCameraPose(TangoPoseData devicePose, DeviceExtrinsics extrinsics) {
Pose cameraPose = ScenePoseCalculator.t... | public void updateRenderCameraPose(TangoPoseData cameraPose) {
float[] rotation = cameraPose.getRotationAsFloats();
float[] translation = cameraPose.getTranslationAsFloats();
Quaternion quaternion = new Quaternion(rotation[3], rotation[0], rotation[1], rotation[2]);
getCurrentCamera().setRotation(quaternion.conjugate()... |
36,413 | package com.projecttango.examples.java.helloareadescription;
import com.google.atap.tangoservice.Tango;
<BUG>import com.google.atap.tangoservice.Tango.OnTangoUpdateListener;
import com.google.atap.tangoservice.TangoConfig;</BUG>
import com.google.atap.tangoservice.TangoCoordinateFramePair;
import com.google.atap.tangos... | import com.google.atap.tangoservice.TangoAreaDescriptionMetaData;
import com.google.atap.tangoservice.TangoConfig;
|
36,414 | context.setAuthCache(authCache);
ApacheHttpClient4Engine engine = new ApacheHttpClient4Engine(httpclient, context);
ResteasyClient client = new ResteasyClientBuilder().httpEngine(engine).build();
client.register(JacksonJaxbJsonProvider.class);
client.register(JacksonObjectMapperProvider.class);
<BUG>client.register(Req... | client.register(RestRequestFilter.class);
client.register(RestResponseFilter.class);
|
36,415 | import org.hawkular.alerts.api.model.condition.Condition;
import org.hawkular.inventory.api.model.CanonicalPath;
import org.hawkular.inventory.api.model.Tenant;
import org.hawkular.inventory.json.DetypedPathDeserializer;
import org.hawkular.inventory.json.InventoryJacksonConfig;
<BUG>import org.hawkular.inventory.json.... | import org.hawkular.inventory.json.mixins.model.CanonicalPathMixin;
|
36,416 | package org.opendaylight.openflowplugin.impl.connection;
import com.google.common.base.Preconditions;
import java.math.BigInteger;
import java.net.InetSocketAddress;
import java.util.Objects;
<BUG>import java.util.concurrent.Callable;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Executors... | [DELETED] |
36,417 | import org.slf4j.LoggerFactory;
public class OpenFlowPluginProviderImpl implements OpenFlowPluginProvider, OpenFlowPluginExtensionRegistratorProvider {
private static final Logger LOG = LoggerFactory.getLogger(OpenFlowPluginProviderImpl.class);
private static final MessageIntelligenceAgency messageIntelligenceAgency = ... | private static final long TICK_DURATION = 10;
private final HashedWheelTimer hashedWheelTimer = new HashedWheelTimer(TICK_DURATION, TimeUnit.MILLISECONDS, TICKS_PER_WHEEL);
|
36,418 | import java.math.BigInteger;
import java.net.InetSocketAddress;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
<BUG>import java.util.List;
import java.util.concurrent.ExecutionException;</BUG>
import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
import org... | import java.util.Objects;
import java.util.concurrent.ExecutionException;
|
36,419 | LOG.info("Static node {} info: {} collected", deviceContext.getDeviceInfo().getNodeId(), type);
translateAndWriteReply(type, deviceContext, nodeII, result, convertorExecutor);
} else {
for (RpcError rpcError : rpcResult.getErrors()) {
LOG.info("Failed to retrieve static node {} info: {}", type, rpcError.getMessage());
... | if (LOG.isTraceEnabled() && Objects.nonNull(rpcError.getCause())) {
LOG.trace("Detailed error:", rpcError.getCause());
|
36,420 | LOG.info("Request of type {} for static info of node {} failed.", type, nodeII);
}
});
}
private static ListenableFuture<RpcResult<List<MultipartReply>>> getNodeStaticInfo(final MultipartType type,
<BUG>final DeviceContext deviceContext, final InstanceIdentifier<Node> nodeII, final short version) {
final OutboundQueue ... | final DeviceContext deviceContext,
final InstanceIdentifier<Node> nodeII,
final OutboundQueue queue = deviceContext.getPrimaryConnectionContext().getOutboundQueueProvider();
|
36,421 | context.setAuthCache(authCache);
ApacheHttpClient4Engine engine = new ApacheHttpClient4Engine(httpclient, context);
ResteasyClient client = new ResteasyClientBuilder().httpEngine(engine).build();
client.register(JacksonJaxbJsonProvider.class);
client.register(JacksonObjectMapperProvider.class);
<BUG>client.register(Req... | client.register(RestRequestFilter.class);
client.register(RestResponseFilter.class);
|
36,422 | import org.hawkular.alerts.api.model.condition.Condition;
import org.hawkular.inventory.api.model.CanonicalPath;
import org.hawkular.inventory.api.model.Tenant;
import org.hawkular.inventory.json.DetypedPathDeserializer;
import org.hawkular.inventory.json.InventoryJacksonConfig;
<BUG>import org.hawkular.inventory.json.... | import org.hawkular.inventory.json.mixins.model.CanonicalPathMixin;
|
36,423 | private Text promptText;
private ParallelTransition transition;
private Timeline hideErrorAnimation;
private CachedTransition promptTextUpTransition;
private CachedTransition promptTextDownTransition;
<BUG>private CachedTransition promptTextColorTransition;
private Scale scale = new Scale(initScale,1);</BUG>
private Ti... | private Scale promptTextScale = new Scale(1,1,0,0);
private Scale scale = new Scale(initScale,1);
|
36,424 | protected void starting() {super.starting(); oldPromptTextFill = promptTextFill.get();};
};
promptTextDownTransition = new CachedTransition(textPane, new Timeline(
new KeyFrame(Duration.millis(1300),
new KeyValue(promptText.translateYProperty(), 0, Interpolator.EASE_BOTH),
<BUG>new KeyValue(promptText.translateXPropert... | new KeyValue(promptTextScale.xProperty(), 1 , Interpolator.EASE_BOTH),
new KeyValue(promptTextScale.yProperty(), 1 , Interpolator.EASE_BOTH))))
|
36,425 | private LocalBroadcastManager mLocalBroadcastManager;
private String mActiveDownloadUrlString;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
<BUG>setContentView(R.layout.activity_app_details2);
Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);</BUG>
toolbar.set... | setContentView(R.layout.app_details2);
Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
|
36,426 | .inflate(R.layout.app_details2_screenshots, parent, false);
return new ScreenShotsViewHolder(view);
} else if (viewType == VIEWTYPE_WHATS_NEW) {
View view = LayoutInflater.from(parent.getContext())
.inflate(R.layout.app_details2_whatsnew, parent, false);
<BUG>return new WhatsNewViewHolder(view);
} else if (viewType == ... | } else if (viewType == VIEWTYPE_DONATE) {
.inflate(R.layout.app_details2_donate, parent, false);
return new DonateViewHolder(view);
} else if (viewType == VIEWTYPE_LINKS) {
|
36,427 | }
else {
myVirtualFile = child;
}
}
<BUG>}
private static File fileFromVirtual(VirtualFile virtualParent, final VirtualFile child, String name) {
</BUG>
assert virtualParent != null || child != null;
if (virtualParent != null) {
| @NotNull
private static File fileFromVirtual(VirtualFile virtualParent, final VirtualFile child, @NotNull String name) {
|
36,428 |
myVirtualFile = null;
</BUG>
}
<BUG>if (myVirtualFile == null) {
refresh();
}
detectFileType();
return myVirtualFile;
</BUG>
}
| return myFile.getPath();
public void setIsDirectory(boolean isDirectory) {
myIsDirectory = isDirectory;
|
36,429 | @Nullable
VirtualFile getVirtualFile();
@Nullable
VirtualFile getVirtualFileParent();
@NotNull
<BUG>File getIOFile();
String getName();</BUG>
String getPresentableUrl();
@Nullable
Document getDocument();
| String getName();
|
36,430 | package org.derive4j.exemple;
import org.derive4j.Data;
<BUG>@Data
public abstract class Event<T> {</BUG>
interface Cases<T, R> {
R itemAdded(String itemName);
R itemRemoved(T ref, String itemName);
| import org.derive4j.Flavour;
@Data(flavour = Flavour.Javaslang)
public abstract class Event<T> {
|
36,431 | import javax.lang.model.util.Elements;
import java.util.Optional;
import java.util.function.Function;
import java.util.function.Supplier;
import static org.derive4j.processor.derivator.FlavourImpl.EitherType.eitherType;
<BUG>import static org.derive4j.processor.derivator.FlavourImpl.OptionType.optionTye;
</BUG>
public ... | import static org.derive4j.processor.derivator.FlavourImpl.OptionType.optionType;
|
36,432 | return elements.getTypeElement(
Flavours.cases()
.Jdk(() -> Supplier.class.getName())
.Fj(() -> "fj.F0")
.Fugue(() -> Supplier.class.getName())
<BUG>.Fugue2(() -> "com.google.common.base.Supplier")
.apply(flavour)</BUG>
);
}
public static TypeElement findF(Flavour flavour, Elements elements) {
| .Javaslang(() -> Supplier.class.getName())
.apply(flavour)
|
36,433 | }
@RootTask
static Task<Exec.Result> exec(String parameter, int number) {
Task<String> task1 = MyTask.create(parameter);
Task<Integer> task2 = Adder.create(number, number + 2);
<BUG>return Task.ofType(Exec.Result.class).named("exec", "/bin/sh")
.in(() -> task1)</BUG>
.in(() -> task2)
.process(Exec.exec((str, i) -> args... | return Task.named("exec", "/bin/sh").ofType(Exec.Result.class)
.in(() -> task1)
|
36,434 | return args;
}
static class MyTask {
static final int PLUS = 10;
static Task<String> create(String parameter) {
<BUG>return Task.ofType(String.class).named("MyTask", parameter)
.in(() -> Adder.create(parameter.length(), PLUS))</BUG>
.in(() -> Fib.create(parameter.length()))
.process((sum, fib) -> something(parameter, s... | return Task.named("MyTask", parameter).ofType(String.class)
.in(() -> Adder.create(parameter.length(), PLUS))
|
36,435 | final String instanceField = "from instance";
final TaskContext context = TaskContext.inmem();
final AwaitingConsumer<String> val = new AwaitingConsumer<>();
@Test
public void shouldJavaUtilSerialize() throws Exception {
<BUG>Task<Long> task1 = Task.ofType(Long.class).named("Foo", "Bar", 39)
.process(() -> 9999L);
Task... | Task<Long> task1 = Task.named("Foo", "Bar", 39).ofType(Long.class)
Task<String> task2 = Task.named("Baz", 40).ofType(String.class)
.in(() -> task1)
|
36,436 | assertEquals(des.id().name(), "Baz");
assertEquals(val.awaitAndGet(), "[9999] hello 10004");
}
@Test(expected = NotSerializableException.class)
public void shouldNotSerializeWithInstanceFieldReference() throws Exception {
<BUG>Task<String> task = Task.ofType(String.class).named("WithRef")
.process(() -> instanceField +... | Task<String> task = Task.named("WithRef").ofType(String.class)
.process(() -> instanceField + " causes an outer reference");
|
36,437 | serialize(task);
}
@Test
public void shouldSerializeWithLocalReference() throws Exception {
String local = instanceField;
<BUG>Task<String> task = Task.ofType(String.class).named("WithLocalRef")
.process(() -> local + " won't cause an outer reference");</BUG>
serialize(task);
Task<String> des = deserialize();
context.e... | Task<String> task = Task.named("WithLocalRef").ofType(String.class)
.process(() -> local + " won't cause an outer reference");
|
36,438 | }
@RootTask
public static Task<String> standardArgs(int first, String second) {
firstInt = first;
secondString = second;
<BUG>return Task.ofType(String.class).named("StandardArgs", first, second)
.process(() -> second + " " + first * 100);</BUG>
}
@Test
public void shouldParseFlags() throws Exception {
| return Task.named("StandardArgs", first, second).ofType(String.class)
.process(() -> second + " " + first * 100);
|
36,439 | assertThat(parsedEnum, is(CustomEnum.BAR));
}
@RootTask
public static Task<String> enums(CustomEnum enm) {
parsedEnum = enm;
<BUG>return Task.ofType(String.class).named("Enums", enm)
.process(enm::toString);</BUG>
}
@Test
public void shouldParseCustomTypes() throws Exception {
| return Task.named("Enums", enm).ofType(String.class)
.process(enm::toString);
|
36,440 | assertThat(parsedType.content, is("blarg parsed for you!"));
}
@RootTask
public static Task<String> customType(CustomType myType) {
parsedType = myType;
<BUG>return Task.ofType(String.class).named("Types", myType.content)
.process(() -> myType.content);</BUG>
}
public enum CustomEnum {
BAR
| return Task.named("Types", myType.content).ofType(String.class)
.process(() -> myType.content);
|
36,441 | TaskContext taskContext = TaskContext.inmem();
TaskContext.Value<Long> value = taskContext.evaluate(fib92);
value.consume(f92 -> System.out.println("fib(92) = " + f92));
}
static Task<Long> create(long n) {
<BUG>TaskBuilder<Long> fib = Task.ofType(Long.class).named("Fib", n);
</BUG>
if (n < 2) {
return fib
.process(() ... | TaskBuilder<Long> fib = Task.named("Fib", n).ofType(Long.class);
|
36,442 | throw new IllegalArgumentException("Can't save an empty KnowledgeBase.");
}
dbc.saveObject("modelParameters", modelParameters);
dbc.saveObject("trainingParameters", trainingParameters);
}
<BUG>public void load() {
</BUG>
if(!isInitialized()) {
modelParameters = dbc.loadObject("modelParameters", mpClass);
trainingParame... | public void init() {
|
36,443 | modelParameters.setCols(components.getColumnDimension());
modelParameters.setEigenValues(eigenValues);
modelParameters.setComponents(components.getData());
}
@Override
<BUG>protected void filterFeatures(Dataframe dataset) {
</BUG>
ModelParameters modelParameters = knowledgeBase.getModelParameters();
Map<Object, Integer... | protected void _transform(Dataframe dataset) {
|
36,444 | mlregressor.close();
mlregressor = null;
super.close();
}
@Override
<BUG>protected void _predictDataset(Dataframe newData) {
loadRegressor();</BUG>
mlregressor.predict(newData);
}
@Override
| protected void _predict(Dataframe newData) {
loadRegressor();
|
36,445 | testDataset.delete();
return r;
}
public ClassificationMetrics validate(Dataframe testDataset) {
logger.info("validate()");
<BUG>knowledgeBase.load();
</BUG>
preprocessTestDataset(testDataset);
modeler.predict(testDataset);
ClassificationMetrics vm = new ClassificationMetrics(testDataset);
| knowledgeBase.init();
|
36,446 | modeler.predict(testDataset);
ClassificationMetrics vm = new ClassificationMetrics(testDataset);
return vm;
}
public ClassificationMetrics validate(Map<Object, URI> datasets) {
<BUG>knowledgeBase.load();
</BUG>
TextClassifier.TrainingParameters trainingParameters = knowledgeBase.getTrainingParameters();
Dataframe testD... | knowledgeBase.init();
|
36,447 | public Modeler(String dbName, Configuration conf) {
super(dbName, conf, Modeler.ModelParameters.class, Modeler.TrainingParameters.class);
}
public void predict(Dataframe newData) {
logger.info("predict()");
<BUG>knowledgeBase.load();
</BUG>
Modeler.TrainingParameters trainingParameters = knowledgeBase.getTrainingParame... | knowledgeBase.init();
|
36,448 | import com.datumbox.framework.core.utilities.text.tokenizers.WhitespaceTokenizer;
import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class ReadabilityStatistics {
<BUG>private static final Set<String> DALECHALL_WORDLIST = Collections.unmodifiableSet(new HashSet<>(Arrays.asList("a... | private static final Set<String> DALECHALL_WORDLIST = Collections.unmodifiableSet(new HashSet<>(Arrays.asList("a", "able", "aboard", "about", "above", "absent", "accept", "accident", "account", "ache", "aching", "acorn", "acre", "across", "act", "acts", "add", "address", "admire", "adventure", "afar", "afraid", "after"... |
36,449 | if(maxFeatures!=null && maxFeatures<maxFeatureScores.size()) {
AbstractScoreBasedFeatureSelector.selectHighScoreFeatures(maxFeatureScores, maxFeatures);
}
}
@Override
<BUG>protected void filterFeatures(Dataframe newData) {
</BUG>
DatabaseConnector dbc = knowledgeBase.getDbc();
Map<Object, Double> maxTFIDFfeatureScores ... | protected void _transform(Dataframe newData) {
|
36,450 | import com.datumbox.framework.common.concurrency.ConcurrencyConfiguration;
import com.datumbox.framework.common.concurrency.ForkJoinStream;
import com.datumbox.framework.common.concurrency.StreamMethods;
import com.datumbox.framework.common.dataobjects.AssociativeArray;
import com.datumbox.framework.common.dataobjects.... | import com.datumbox.framework.common.persistentstorage.interfaces.DatabaseConnector;
import java.io.Serializable;
|
36,451 | fit(trainingData, trainingParameters);
transform(trainingData);
}
public void transform(Dataframe newData) {
logger.info("transform()");
<BUG>knowledgeBase.load();
</BUG>
_convert(newData);
_normalize(newData);
}
| knowledgeBase.init();
|
36,452 | _convert(newData);
_normalize(newData);
}
public void denormalize(Dataframe data) {
logger.info("denormalize()");
<BUG>knowledgeBase.load();
</BUG>
_denormalize(data);
}
protected abstract void _convert(Dataframe data);
| knowledgeBase.init();
|
36,453 | estimateFeatureScores(trainingData.size(), tmp_classCounts, tmp_featureClassCounts, tmp_featureCounts);
dbc.dropBigMap("tmp_featureClassCounts", tmp_featureClassCounts);
dbc.dropBigMap("tmp_featureCounts", tmp_featureCounts);
}
@Override
<BUG>protected void filterFeatures(Dataframe newdata) {
</BUG>
filterData(newdata,... | protected void _transform(Dataframe newdata) {
|
36,454 | import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.security.DigestOutputStream;
import java.security.MessageDigest;
<BUG>import java.security.NoSuchAlgorithmException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;</BUG>
public final class ... | import java.text.DateFormat;
import java.util.Date;
import java.util.List;
|
36,455 | package org.jboss.as.patching.runner;
<BUG>import org.jboss.as.boot.DirectoryStructure;
import org.jboss.as.patching.LocalPatchInfo;</BUG>
import org.jboss.as.patching.PatchInfo;
import org.jboss.as.patching.PatchLogger;
import org.jboss.as.patching.PatchMessages;
| import static org.jboss.as.patching.runner.PatchUtils.generateTimestamp;
import org.jboss.as.patching.CommonAttributes;
import org.jboss.as.patching.LocalPatchInfo;
|
36,456 | private static final String PATH_DELIMITER = "/";
public static final byte[] NO_CONTENT = PatchingTask.NO_CONTENT;
enum Element {
ADDED_BUNDLE("added-bundle"),
ADDED_MISC_CONTENT("added-misc-content"),
<BUG>ADDED_MODULE("added-module"),
BUNDLES("bundles"),</BUG>
CUMULATIVE("cumulative"),
DESCRIPTION("description"),
MIS... | APPLIES_TO_VERSION("applies-to-version"),
BUNDLES("bundles"),
|
36,457 | final int count = reader.getAttributeCount();
for (int i = 0; i < count; i++) {
final String value = reader.getAttributeValue(i);
final Attribute attribute = Attribute.forName(reader.getAttributeLocalName(i));
switch (attribute) {
<BUG>case APPLIES_TO_VERSION:
builder.addAppliesTo(value);
break;</BUG>
case RESULTING_VE... | [DELETED] |
36,458 | final StringBuilder path = new StringBuilder();
for(final String p : item.getPath()) {
path.append(p).append(PATH_DELIMITER);
}
path.append(item.getName());
<BUG>writer.writeAttribute(Attribute.PATH.name, path.toString());
if(type != ModificationType.REMOVE) {</BUG>
writer.writeAttribute(Attribute.HASH.name, bytesToHex... | if (item.isDirectory()) {
writer.writeAttribute(Attribute.DIRECTORY.name, "true");
if(type != ModificationType.REMOVE) {
|
36,459 | package org.jboss.as.patching;
import org.jboss.as.controller.OperationFailedException;
import org.jboss.as.patching.runner.PatchingException;
import org.jboss.logging.Messages;
import org.jboss.logging.annotations.Message;
<BUG>import org.jboss.logging.annotations.MessageBundle;
import java.io.IOException;</BUG>
impor... | import org.jboss.logging.annotations.Cause;
import java.io.IOException;
|
36,460 | import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.LocalFileSystem;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.fs.permission.FsPermission;
import org.apache.hadoop.util.Progressable;
<BUG>import static org.apache.hadoop.fs.s3a.S3AConstants.*;
public class S3AFileSystem extends FileSyste... | import static org.apache.hadoop.fs.s3a.Constants.*;
public class S3AFileSystem extends FileSystem {
|
36,461 | public void initialize(URI name, Configuration conf) throws IOException {
super.initialize(name, conf);
uri = URI.create(name.getScheme() + "://" + name.getAuthority());
workingDir = new Path("/user", System.getProperty("user.name")).makeQualified(this.uri,
this.getWorkingDirectory());
<BUG>String accessKey = conf.get(... | String accessKey = conf.get(NEW_ACCESS_KEY, conf.get(OLD_ACCESS_KEY, null));
String secretKey = conf.get(NEW_SECRET_KEY, conf.get(OLD_SECRET_KEY, null));
|
36,462 | } else {
accessKey = userInfo;
}
}
AWSCredentialsProviderChain credentials = new AWSCredentialsProviderChain(
<BUG>new S3ABasicAWSCredentialsProvider(accessKey, secretKey),
new InstanceProfileCredentialsProvider(),
new S3AAnonymousAWSCredentialsProvider()
);</BUG>
bucket = name.getHost();
| new BasicAWSCredentialsProvider(accessKey, secretKey),
new AnonymousAWSCredentialsProvider()
|
36,463 |
awsConf.setSocketTimeout(conf.getInt(SOCKET_TIMEOUT, DEFAULT_SOCKET_TIMEOUT));
</BUG>
s3 = new AmazonS3Client(credentials, awsConf);
<BUG>maxKeys = conf.getInt(MAX_PAGING_KEYS, DEFAULT_MAX_PAGING_KEYS);
partSize = conf.getLong(MULTIPART_SIZE, DEFAULT_MULTIPART_SIZE);
partSizeThreshold = conf.getInt(MIN_MULTIPART_THR... | new InstanceProfileCredentialsProvider(),
new AnonymousAWSCredentialsProvider()
bucket = name.getHost();
ClientConfiguration awsConf = new ClientConfiguration();
awsConf.setMaxConnections(conf.getInt(NEW_MAXIMUM_CONNECTIONS, conf.getInt(OLD_MAXIMUM_CONNECTIONS, DEFAULT_MAXIMUM_CONNECTIONS)));
awsConf.setProtocol(conf.g... |
36,464 | cannedACL = null;
}
if (!s3.doesBucketExist(bucket)) {
throw new IOException("Bucket " + bucket + " does not exist");
}
<BUG>boolean purgeExistingMultipart = conf.getBoolean(PURGE_EXISTING_MULTIPART, DEFAULT_PURGE_EXISTING_MULTIPART);
long purgeExistingMultipartAge = conf.getLong(PURGE_EXISTING_MULTIPART_AGE, DEFAULT_... | boolean purgeExistingMultipart = conf.getBoolean(NEW_PURGE_EXISTING_MULTIPART, conf.getBoolean(OLD_PURGE_EXISTING_MULTIPART, DEFAULT_PURGE_EXISTING_MULTIPART));
long purgeExistingMultipartAge = conf.getLong(NEW_PURGE_EXISTING_MULTIPART_AGE, conf.getLong(OLD_PURGE_EXISTING_MULTIPART_AGE, DEFAULT_PURGE_EXISTING_MULTIPART... |
36,465 | import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
<BUG>import static org.apache.hadoop.fs.s3a.S3AConstants.*;
public class S3AOutputStream extends OutputStream {</BUG>
private OutputStream backupStream;
private File backup... | import static org.apache.hadoop.fs.s3a.Constants.*;
public class S3AOutputStream extends OutputStream {
|
36,466 | this.client = client;
this.progress = progress;
this.fs = fs;
this.cannedACL = cannedACL;
this.statistics = statistics;
<BUG>partSize = conf.getLong(MULTIPART_SIZE, DEFAULT_MULTIPART_SIZE);
partSizeThreshold = conf.getInt(MIN_MULTIPART_THRESHOLD, DEFAULT_MIN_MULTIPART_THRESHOLD);
</BUG>
if (conf.get(BUFFER_DIR, null) ... | partSize = conf.getLong(OLD_MULTIPART_SIZE, DEFAULT_MULTIPART_SIZE);
partSizeThreshold = conf.getInt(OLD_MIN_MULTIPART_THRESHOLD, DEFAULT_MIN_MULTIPART_THRESHOLD);
|
36,467 | if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP)
setOutlineProvider(ViewOutlineProvider.BOUNDS);
}
}
@Override
<BUG>public void draw(@NonNull Canvas canvas) {
if (cornerRadius > 0 && getWidth() > 0 && getHeight() > 0 && Build.VERSION.SDK_INT <= Build.VERSION_CODES.KITKAT_WATCH) {</BUG>
int saveCount = canvas.... | drawCalled = true;
if (cornerRadius > 0 && getWidth() > 0 && getHeight() > 0 && Build.VERSION.SDK_INT <= Build.VERSION_CODES.KITKAT_WATCH) {
|
36,468 | package com.projecttango.examples.java.augmentedreality;
import com.google.atap.tangoservice.Tango;
import com.google.atap.tangoservice.Tango.OnTangoUpdateListener;
import com.google.atap.tangoservice.TangoCameraIntrinsics;
import com.google.atap.tangoservice.TangoConfig;
<BUG>import com.google.atap.tangoservice.TangoC... | import com.google.atap.tangoservice.TangoErrorException;
import com.google.atap.tangoservice.TangoEvent;
|
36,469 | super.onResume();
if (!mIsConnected) {
mTango = new Tango(AugmentedRealityActivity.this, new Runnable() {
@Override
public void run() {
<BUG>try {
connectTango();</BUG>
setupRenderer();
mIsConnected = true;
} catch (TangoOutOfDateException e) {
| TangoSupport.initialize();
connectTango();
|
36,470 | if (lastFramePose.statusCode == TangoPoseData.POSE_VALID) {
mRenderer.updateRenderCameraPose(lastFramePose, mExtrinsics);
mCameraPoseTimestamp = lastFramePose.timestamp;</BUG>
} else {
<BUG>Log.w(TAG, "Can't get device pose at time: " + mRgbTimestampGlThread);
}</BUG>
}
}
}
@Override
| mRenderer.updateRenderCameraPose(lastFramePose);
mCameraPoseTimestamp = lastFramePose.timestamp;
Log.w(TAG, "Can't get device pose at time: " +
|
36,471 | import org.rajawali3d.materials.Material;
import org.rajawali3d.materials.methods.DiffuseMethod;
import org.rajawali3d.materials.textures.ATexture;
import org.rajawali3d.materials.textures.StreamingTexture;
import org.rajawali3d.materials.textures.Texture;
<BUG>import org.rajawali3d.math.Matrix4;
import org.rajawali3d.... | import org.rajawali3d.math.Quaternion;
import org.rajawali3d.math.vector.Vector3;
|
36,472 | translationMoon.setRepeatMode(Animation.RepeatMode.INFINITE);
translationMoon.setTransformable3D(moon);
getCurrentScene().registerAnimation(translationMoon);
translationMoon.play();
}
<BUG>public void updateRenderCameraPose(TangoPoseData devicePose, DeviceExtrinsics extrinsics) {
Pose cameraPose = ScenePoseCalculator.t... | public void updateRenderCameraPose(TangoPoseData cameraPose) {
float[] rotation = cameraPose.getRotationAsFloats();
float[] translation = cameraPose.getTranslationAsFloats();
Quaternion quaternion = new Quaternion(rotation[3], rotation[0], rotation[1], rotation[2]);
getCurrentCamera().setRotation(quaternion.conjugate()... |
36,473 | package com.projecttango.examples.java.helloareadescription;
import com.google.atap.tangoservice.Tango;
<BUG>import com.google.atap.tangoservice.Tango.OnTangoUpdateListener;
import com.google.atap.tangoservice.TangoConfig;</BUG>
import com.google.atap.tangoservice.TangoCoordinateFramePair;
import com.google.atap.tangos... | import com.google.atap.tangoservice.TangoAreaDescriptionMetaData;
import com.google.atap.tangoservice.TangoConfig;
|
36,474 | chart.addYAxisLabels(AxisLabelsFactory.newAxisLabels(labels));
chart.addXAxisLabels(AxisLabelsFactory.newNumericRangeAxisLabels(0, max));
chart.setBarWidth(BarChart.AUTO_RESIZE);
chart.setSize(600, 500);
chart.setHorizontal(true);
<BUG>chart.setTitle("Total Evaluations by User");
showChartImg(resp, chart.toURLString())... | chart.setDataEncoding(DataEncoding.TEXT);
return chart;
}
|
36,475 | checkEvaluationsEqual(eval4, foundissueProto.getEvaluations(0));
checkEvaluationsEqual(eval5, foundissueProto.getEvaluations(1));
}
public void testGetRecentEvaluationsNoneFound() throws Exception {
DbIssue issue = createDbIssue("fad", persistenceHelper);
<BUG>DbEvaluation eval1 = createEvaluation(issue, "someone", 100... | [DELETED] |
36,476 | public int read() throws IOException {
return inputStream.read();
}
});
}
<BUG>}
protected DbEvaluation createEvaluation(DbIssue issue, String who, long when) {</BUG>
DbUser user;
Query query = getPersistenceManager().newQuery("select from " + persistenceHelper.getDbUserClass().getName()
+ " where openid == :myopenid")... | @SuppressWarnings({"unchecked"})
protected DbEvaluation createEvaluation(DbIssue issue, String who, long when) {
|
36,477 | eval.setComment("my comment");
eval.setDesignation("MUST_FIX");
eval.setIssue(issue);
eval.setWhen(when);
eval.setWho(user.createKeyObject());
<BUG>eval.setEmail(who);
return eval;</BUG>
}
protected PersistenceManager getPersistenceManager() {
return testHelper.getPersistenceManager();
| issue.addEvaluation(eval);
return eval;
|
36,478 | public static boolean debugMode = false;
@ModConfigProperty(category = "Debug", name = "debugModeGOTG", comment = "Enable/Disable Debug Mode for the Gift Of The Gods")
public static boolean debugModeGOTG = false;
@ModConfigProperty(category = "Debug", name = "debugModeEnchantments", comment = "Enable/Disable Debug Mode... | @ModConfigProperty(category = "Weapons", name = "enableSwordsRecipes", comment = "Enable/Disable ArmorPlus Sword's Recipes")
@ModConfigProperty(category = "Weapons", name = "enableBattleAxesRecipes", comment = "Enable/Disable ArmorPlus Battle Axes's Recipes")
@ModConfigProperty(category = "Weapons", name = "enableBowsR... |
36,479 | }
return new OrientJdbcResultSet(new OrientJdbcStatement(connection), records, ResultSet.TYPE_FORWARD_ONLY,
ResultSet.CONCUR_READ_ONLY, ResultSet.HOLD_CURSORS_OVER_COMMIT);
}
public ResultSet getProcedureColumns(String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern)
<BUG>throws SQL... | public String getUserName() throws SQLException {
database.activateOnCurrentThread();
return database.getUser().getName();
|
36,480 | doc.field("DATA_TYPE", java.sql.Types.OTHER);
doc.field("SPECIFIC_NAME", f.getName());
records.add(doc);</BUG>
}
<BUG>final ODocument doc = new ODocument();
doc.field("PROCEDURE_CAT", (Object) null);
doc.field("PROCEDURE_SCHEM", (Object) null);
doc.field("PROCEDURE_NAME", f.getName());
doc.field("COLUMN_NAME", "return"... | final List<ODocument> records = new ArrayList<ODocument>();
for (String fName : database.getMetadata().getFunctionLibrary().getFunctionNames()) {
final ODocument doc = new ODocument()
.field("PROCEDURE_CAT", (Object) null)
.field("PROCEDURE_SCHEM", (Object) null)
.field("PROCEDURE_NAME", fName)
.field("REMARKS", "")
.f... |
36,481 | final String type;
if (OMetadata.SYSTEM_CLUSTER.contains(cls.getName()))
type = "SYSTEM TABLE";
else
type = "TABLE";
<BUG>if (tableTypes.contains(type) && (tableNamePattern == null
|| tableNamePattern.equals("%") || tableNamePattern.equalsIgnoreCase(className))) {
</BUG>
final ODocument doc = new ODocument()
.field("TA... | if (tableTypes.contains(type) &&
(tableNamePattern == null || tableNamePattern.equals("%") || tableNamePattern.equalsIgnoreCase(className))) {
|
36,482 | }
return new OrientJdbcResultSet(new OrientJdbcStatement(connection), records, ResultSet.TYPE_FORWARD_ONLY,
ResultSet.CONCUR_READ_ONLY, ResultSet.HOLD_CURSORS_OVER_COMMIT);
}
@Override
<BUG>public ResultSet getSchemas() throws SQLException {
final List<ODocument> records = new ArrayList<ODocument>();
records.add(new OD... | [DELETED] |
36,483 | records.add(new ODocument().field("TABLE_SCHEM", database.getName())
.field("TABLE_CATALOG", database.getName()));</BUG>
return new OrientJdbcResultSet(new OrientJdbcStatement(connection), records, ResultSet.TYPE_FORWARD_ONLY,
ResultSet.CONCUR_READ_ONLY, ResultSet.HOLD_CURSORS_OVER_COMMIT);
}
<BUG>public ResultSet getC... | @Override
public ResultSet getSchemas() throws SQLException {
database.activateOnCurrentThread();
final List<ODocument> records = new ArrayList<ODocument>();
records.add(new ODocument()
.field("TABLE_CATALOG", database.getName()));
|
36,484 | }
final List<ODocument> records = new ArrayList<ODocument>();
for (OIndex<?> unique : uniqueIndexes) {
int keyFiledSeq = 1;
for (String keyFieldName : unique.getDefinition().getFields()) {
<BUG>ODocument doc = new ODocument();
doc.field("TABLE_CAT", catalog);
doc.field("TABLE_SCHEM", catalog);
doc.field("TABLE_NAME", t... | return new OrientJdbcResultSet(new OrientJdbcStatement(connection), records, ResultSet.TYPE_FORWARD_ONLY,
ResultSet.CONCUR_READ_ONLY, ResultSet.HOLD_CURSORS_OVER_COMMIT);
|
36,485 | if (!unique || oIndex.getType().equals(INDEX_TYPE.UNIQUE.name()))
indexes.add(oIndex);
}
final List<ODocument> records = new ArrayList<ODocument>();
for (OIndex<?> idx : indexes) {
<BUG>boolean notUniqueIndex = !( idx.getType().equals(INDEX_TYPE.UNIQUE.name()));
final String fieldNames = idx.getDefinition().getFields()... | boolean notUniqueIndex = !(idx.getType().equals(INDEX_TYPE.UNIQUE.name()));
final String fieldNames = idx.getDefinition().getFields().toString();
|
36,486 | doc.field("DATA_TYPE", java.sql.Types.OTHER);
doc.field("SPECIFIC_NAME", f.getName());
records.add(doc);</BUG>
}
<BUG>final ODocument doc = new ODocument();
doc.field("FUNCTION_CAT", (Object) null);
doc.field("FUNCTION_SCHEM", (Object) null);
doc.field("FUNCTION_NAME", f.getName());
doc.field("COLUMN_NAME", "return");
... | final List<ODocument> records = new ArrayList<ODocument>();
for (OClass cls : classes) {
final ODocument doc = new ODocument()
.field("TYPE_CAT", (Object) null)
.field("TYPE_SCHEM", (Object) null)
.field("TYPE_NAME", cls.getName())
.field("CLASS_NAME", cls.getName())
.field("DATA_TYPE", java.sql.Types.STRUCT)
.field("R... |
36,487 | package com.orientechnologies.orient.jdbc;
import com.orientechnologies.orient.core.id.ORecordId;
import org.junit.Test;
import java.math.BigDecimal;
<BUG>import java.sql.Date;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.Statement;
import java.sql.Types;</BUG>
import java.util.Calenda... | import java.sql.*;
|
36,488 | import java.sql.ResultSetMetaData;
import java.sql.Statement;
import java.sql.Types;</BUG>
import java.util.Calendar;
import java.util.TimeZone;
<BUG>import static java.sql.Types.*;
import static org.assertj.core.api.Assertions.*;
</BUG>
public class OrientJdbcResultSetMetaDataTest extends OrientJdbcBaseTest {
| package com.orientechnologies.orient.jdbc;
import com.orientechnologies.orient.core.id.ORecordId;
import org.junit.Test;
import java.math.BigDecimal;
import java.sql.*;
import static java.sql.Types.BIGINT;
import static org.assertj.core.api.Assertions.assertThat;
|
36,489 | import com.orientechnologies.orient.core.db.record.ORecordLazyMultiValue;
import com.orientechnologies.orient.core.metadata.schema.OType;
import com.orientechnologies.orient.core.record.impl.OBlob;
import com.orientechnologies.orient.core.record.impl.ODocument;
import com.orientechnologies.orient.core.sql.functions.ODe... | import com.orientechnologies.orient.core.sql.parser.*;
|
36,490 | if (fields.isEmpty()) {
fields.addAll(Arrays.asList(document.fieldNames()));
}
return fields;
}
<BUG>private void activateDatabaseOnCurrentThread() {
statement.database.activateOnCurrentThread();</BUG>
}
public void close() throws SQLException {
cursor = 0;
| if (!statement.database.isActiveOnCurrentThread())
statement.database.activateOnCurrentThread();
|
36,491 | else if (rawResult instanceof Collection)
return ((Collection) rawResult).size();
return 0;
}
protected <RET> RET executeCommand(OCommandRequest query) throws SQLException {
<BUG>try {
return database.command(query).execute();</BUG>
} catch (OQueryParsingException e) {
throw new SQLSyntaxErrorException("Error while par... | database.activateOnCurrentThread();
return database.command(query).execute();
|
36,492 | import java.util.concurrent.Callable;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicBoolean;
<BUG>import static org.assertj.core.api.Assertions.assertThat;
public class OrientDataSourceTest extends Orien... | import static org.assertj.core.api.Assertions.fail;
public class OrientDataSourceTest extends OrientJdbcBaseTest {
|
36,493 | assertThat(rs.first()).isTrue();
assertThat(rs.getString("stringKey")).isEqualTo("1");
rs.close();
statement.close();
conn.close();
<BUG>assertThat(conn.isClosed()).isTrue();
}</BUG>
return Boolean.TRUE;
}
};
| } catch (Exception e) {
e.printStackTrace();
fail("WTF:::", e);
|
36,494 | ExecutorService pool = Executors.newCachedThreadPool();
pool.submit(dbClient);
pool.submit(dbClient);
pool.submit(dbClient);
pool.submit(dbClient);
<BUG>TimeUnit.SECONDS.sleep(2);
</BUG>
queryTheDb.set(false);
pool.shutdown();
}
| TimeUnit.SECONDS.sleep(5);
|
36,495 | import java.util.Map;
import java.util.Set;</BUG>
import static org.assertj.core.api.Assertions.assertThat;
<BUG>import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
</BUG>
public class OrientJd... | import org.junit.Test;
import java.sql.DatabaseMetaData;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.util.*;
import static org.junit.Assert.*;
|
36,496 | assertEquals("OrientDB", metaData.getDatabaseProductName());
assertEquals(OConstants.ORIENT_VERSION, metaData.getDatabaseProductVersion());
assertEquals(2, metaData.getDatabaseMajorVersion());
assertEquals(2, metaData.getDatabaseMinorVersion());
assertEquals("OrientDB JDBC Driver", metaData.getDriverName());
<BUG>asser... | assertEquals("OrientDB " + OConstants.getVersion() + " JDBC Driver", metaData.getDriverVersion());
|
36,497 | final String keywordsStr = metaData.getSQLKeywords();
assertNotNull(keywordsStr);
assertThat(Arrays.asList(keywordsStr.toUpperCase().split(",\\s*"))).contains("TRAVERSE");
}
@Test
<BUG>public void shouldRetrieveUniqueIndexInfoForTable() throws Exception {
ResultSet indexInfo = metaData.getIndexInfo("OrientJdbcDatabaseM... | ResultSet indexInfo = metaData
indexInfo.next();
|
36,498 | this.workspaceName = checkNotNull(workspaceName);
this.subject = checkNotNull(subject);
this.securityProvider = checkNotNull(securityProvider);
this.indexProvider = indexProvider;
branch = this.store.branch();
<BUG>secureHead = new SecureNodeState(
branch.getHead(), getPermissionProvider(), getTypeProvider());
rootTree... | NodeState root = branch.getHead();
secureHead = new SecureNodeState(root, getRootContext(root));
rootTree = new TreeImpl(this, secureHead.builder(), lastMove);
|
36,499 | private void purgePendingChanges() {
branch.setRoot(getRootState());
reset();
}
private void reset() {
<BUG>secureHead = new SecureNodeState(
branch.getHead(), getPermissionProvider(), getTypeProvider());
rootTree.reset(secureHead);</BUG>
}
@Nonnull
| NodeState root = branch.getHead();
secureHead = new SecureNodeState(root, getRootContext(root));
rootTree.reset(secureHead);
|
36,500 | rootTree.reset(secureHead);</BUG>
}
@Nonnull
private PermissionProvider createPermissionProvider() {
return securityProvider.getAccessControlConfiguration().getPermissionProvider(this, subject.getPrincipals());
<BUG>}
@Nonnull
private TreeTypeProviderImpl getTypeProvider() {
return new TreeTypeProviderImpl(securityProv... | private void purgePendingChanges() {
branch.setRoot(getRootState());
reset();
private void reset() {
NodeState root = branch.getHead();
secureHead = new SecureNodeState(root, getRootContext(root));
rootTree.reset(secureHead);
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.