Skip to content

Commit

Permalink
Merge pull request #11177 from rsvoboda/dead.code.2020-08-03
Browse files Browse the repository at this point in the history
Removal of dead local store
  • Loading branch information
geoand authored Aug 4, 2020
2 parents edda12b + fdfad22 commit 026c5e4
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ public void execute(final BuildContext context) {
@Test
public void testFailure() throws ChainBuildException, BuildException {
final BuildChainBuilder builder = BuildChain.builder();
final AtomicBoolean ran = new AtomicBoolean();
BuildStepBuilder stepBuilder = builder.addBuildStep(new BuildStep() {
@Override
public void execute(final BuildContext context) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,6 @@ public ConfigurationSupplier<KubernetesConfig> getFallbackConfig() {

private static ImageConfiguration getImageConfiguration(Project project, KubernetesConfig appConfig,
Configurators configurators) {
Optional<ImageConfiguration> origin = configurators.getImageConfig(BuildServiceFactories.supplierMatches(project));

return configurators.getImageConfig(BuildServiceFactories.supplierMatches(project)).map(i -> merge(appConfig, i))
.orElse(ImageConfiguration.from(appConfig));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ private void dispatch(RoutingContext routingContext, InputStream is, VertxOutput
ManagedContext requestContext = beanContainer.requestContext();
requestContext.activate();
routingContext.remove(QuarkusHttpUser.AUTH_FAILURE_HANDLER);
QuarkusHttpUser user = (QuarkusHttpUser) routingContext.user();
if (association != null) {
association.setIdentity(QuarkusHttpUser.getSecurityIdentity(routingContext, null));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ public class MeasureThis {
static MetricsFactory.TimeRecorder timeRecorder;

static Consumer<MetricsFactory> registerMetrics() {
MeasureThis mt = new MeasureThis();
return new Consumer<MetricsFactory>() {
@Override
public void accept(MetricsFactory metricsFactory) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,6 @@ private static void doServerStart(Vertx vertx, HttpBuildTimeConfig httpBuildTime
HttpServerOptions httpServerOptions = createHttpServerOptions(httpConfiguration, launchMode, websocketSubProtocols);
HttpServerOptions domainSocketOptions = createDomainSocketOptions(httpConfiguration, websocketSubProtocols);
HttpServerOptions sslConfig = createSslOptions(httpBuildTimeConfig, httpConfiguration, launchMode);
ForwardingProxyOptions forwardingProxyOptions = ForwardingProxyOptions.from(httpConfiguration);

if (httpConfiguration.insecureRequests != HttpConfiguration.InsecureRequests.ENABLED && sslConfig == null) {
throw new IllegalStateException("Cannot set quarkus.http.redirect-insecure-requests without enabling SSL.");
Expand Down

0 comments on commit 026c5e4

Please sign in to comment.