Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(#1019) Simplified conditional statement with EO way #1045

Merged
merged 1 commit into from
Apr 23, 2020

Conversation

fanifieiev
Copy link
Contributor

This PR is for #1019

@0crat
Copy link
Collaborator

0crat commented Mar 25, 2020

This pull request #1045 is assigned to @lucasmessias9898/z, here is why; the budget is 15 minutes, see §4; please, read §27 and when you decide to accept the changes, inform @paulodamaso/z (the architect) right in this ticket; if you decide that this PR should not be accepted ever, also inform the architect; this blog post will help you understand what is expected from a code reviewer; there will be no monetary reward for this job

@paulodamaso
Copy link
Contributor

@0crat refuse

@0crat
Copy link
Collaborator

0crat commented Apr 2, 2020

@0crat refuse (here)

@paulodamaso The user @lucasmessias9898/z resigned from #1045, please stop working. Reason for job resignation: Order was cancelled

Copy link
Contributor

@paulodamaso paulodamaso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fanifieiev Thank you, sorry for the delay

@paulodamaso
Copy link
Contributor

@rultor merge

@rultor
Copy link
Collaborator

rultor commented Apr 23, 2020

@rultor merge

@paulodamaso OK, I'll try to merge now. You can check the progress of the merge here

@rultor rultor merged commit ebbc71e into yegor256:master Apr 23, 2020
@rultor
Copy link
Collaborator

rultor commented Apr 23, 2020

@rultor merge

@paulodamaso Done! FYI, the full log is here (took me 9min)

@paulodamaso
Copy link
Contributor

@rultor release tag is 1.20

@rultor
Copy link
Collaborator

rultor commented Apr 23, 2020

@rultor release tag is 1.20

@paulodamaso OK, I will release it now. Please check the progress here

@rultor
Copy link
Collaborator

rultor commented Apr 23, 2020

@rultor release tag is 1.20

@fanifieiev @paulodamaso Oops, I failed. You can see the full log here (spent 5min)

    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.StreamAllocation.findConnection (\u001b[1mStreamAllocation.java:186\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.StreamAllocation.findHealthyConnection (\u001b[1mStreamAllocation.java:121\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.StreamAllocation.newStream (\u001b[1mStreamAllocation.java:100\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.ConnectInterceptor.intercept (\u001b[1mConnectInterceptor.java:42\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed (\u001b[1mRealInterceptorChain.java:92\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed (\u001b[1mRealInterceptorChain.java:67\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.shaded.okhttp.internal.cache.CacheInterceptor.intercept (\u001b[1mCacheInterceptor.java:93\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed (\u001b[1mRealInterceptorChain.java:92\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed (\u001b[1mRealInterceptorChain.java:67\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.BridgeInterceptor.intercept (\u001b[1mBridgeInterceptor.java:93\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed (\u001b[1mRealInterceptorChain.java:92\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RetryAndFollowUpInterceptor.intercept (\u001b[1mRetryAndFollowUpInterceptor.java:120\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed (\u001b[1mRealInterceptorChain.java:92\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed (\u001b[1mRealInterceptorChain.java:67\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.shaded.okhttp.RealCall.getResponseWithInterceptorChain (\u001b[1mRealCall.java:179\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.shaded.okhttp.RealCall.execute (\u001b[1mRealCall.java:63\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.ServerConnection.callUrl (\u001b[1mServerConnection.java:113\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.ServerConnection.downloadString (\u001b[1mServerConnection.java:98\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.Jars.getBootstrapIndex (\u001b[1mJars.java:96\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.Jars.getScannerEngineFiles (\u001b[1mJars.java:76\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.Jars.download (\u001b[1mJars.java:70\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.JarDownloader.download (\u001b[1mJarDownloader.java:39\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.IsolatedLauncherFactory$1.run (\u001b[1mIsolatedLauncherFactory.java:75\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.IsolatedLauncherFactory$1.run (\u001b[1mIsolatedLauncherFactory.java:71\u001b[m)
    \u001b[1mat\u001b[m java.security.AccessController.doPrivileged (\u001b[1mNative Method\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher (\u001b[1mIsolatedLauncherFactory.java:71\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher (\u001b[1mIsolatedLauncherFactory.java:67\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.EmbeddedScanner.doStart (\u001b[1mEmbeddedScanner.java:218\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.EmbeddedScanner.start (\u001b[1mEmbeddedScanner.java:156\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.maven.bootstrap.ScannerBootstrapper.execute (\u001b[1mScannerBootstrapper.java:59\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.maven.SonarQubeMojo.execute (\u001b[1mSonarQubeMojo.java:139\u001b[m)
    \u001b[1mat\u001b[m org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (\u001b[1mDefaultBuildPluginManager.java:137\u001b[m)
    \u001b[1mat\u001b[m org.apache.maven.lifecycle.internal.MojoExecutor.execute (\u001b[1mMojoExecutor.java:210\u001b[m)
    \u001b[1mat\u001b[m org.apache.maven.lifecycle.internal.MojoExecutor.execute (\u001b[1mMojoExecutor.java:156\u001b[m)
    \u001b[1mat\u001b[m org.apache.maven.lifecycle.internal.MojoExecutor.execute (\u001b[1mMojoExecutor.java:148\u001b[m)
    \u001b[1mat\u001b[m org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (\u001b[1mLifecycleModuleBuilder.java:117\u001b[m)
    \u001b[1mat\u001b[m org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (\u001b[1mLifecycleModuleBuilder.java:81\u001b[m)
    \u001b[1mat\u001b[m org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (\u001b[1mSingleThreadedBuilder.java:56\u001b[m)
    \u001b[1mat\u001b[m org.apache.maven.lifecycle.internal.LifecycleStarter.execute (\u001b[1mLifecycleStarter.java:128\u001b[m)
    \u001b[1mat\u001b[m org.apache.maven.DefaultMaven.doExecute (\u001b[1mDefaultMaven.java:305\u001b[m)
    \u001b[1mat\u001b[m org.apache.maven.DefaultMaven.doExecute (\u001b[1mDefaultMaven.java:192\u001b[m)
    \u001b[1mat\u001b[m org.apache.maven.DefaultMaven.execute (\u001b[1mDefaultMaven.java:105\u001b[m)
    \u001b[1mat\u001b[m org.apache.maven.cli.MavenCli.execute (\u001b[1mMavenCli.java:956\u001b[m)
    \u001b[1mat\u001b[m org.apache.maven.cli.MavenCli.doMain (\u001b[1mMavenCli.java:288\u001b[m)
    \u001b[1mat\u001b[m org.apache.maven.cli.MavenCli.main (\u001b[1mMavenCli.java:192\u001b[m)
    \u001b[1mat\u001b[m sun.reflect.NativeMethodAccessorImpl.invoke0 (\u001b[1mNative Method\u001b[m)
    \u001b[1mat\u001b[m sun.reflect.NativeMethodAccessorImpl.invoke (\u001b[1mNativeMethodAccessorImpl.java:62\u001b[m)
    \u001b[1mat\u001b[m sun.reflect.DelegatingMethodAccessorImpl.invoke (\u001b[1mDelegatingMethodAccessorImpl.java:43\u001b[m)
    \u001b[1mat\u001b[m java.lang.reflect.Method.invoke (\u001b[1mMethod.java:498\u001b[m)
    \u001b[1mat\u001b[m org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (\u001b[1mLauncher.java:282\u001b[m)
    \u001b[1mat\u001b[m org.codehaus.plexus.classworlds.launcher.Launcher.launch (\u001b[1mLauncher.java:225\u001b[m)
    \u001b[1mat\u001b[m org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (\u001b[1mLauncher.java:406\u001b[m)
    \u001b[1mat\u001b[m org.codehaus.plexus.classworlds.launcher.Launcher.main (\u001b[1mLauncher.java:347\u001b[m)
[\u001b[1;31mERROR\u001b[m] 
[\u001b[1;31mERROR\u001b[m] Re-run Maven using the \u001b[1m-X\u001b[m switch to enable full debug logging.
[\u001b[1;31mERROR\u001b[m] 
[\u001b[1;31mERROR\u001b[m] For more information about the errors and possible solutions, please read the following articles:
[\u001b[1;31mERROR\u001b[m] \u001b[1m[Help 1]\u001b[m http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
container 99c3e2f37ccd8a04ec13b888fedb12913ed7e36d5b1af71dcad6135091a07e94 is dead
Thu Apr 23 06:06:40 CEST 2020

@paulodamaso
Copy link
Contributor

@rultor release tag is 1.20

@rultor
Copy link
Collaborator

rultor commented Apr 23, 2020

@rultor release tag is 1.20

@paulodamaso OK, I will release it now. Please check the progress here

@rultor
Copy link
Collaborator

rultor commented Apr 23, 2020

@rultor release tag is 1.20

@fanifieiev @paulodamaso Oops, I failed. You can see the full log here (spent 5min)

    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.StreamAllocation.findConnection (\u001b[1mStreamAllocation.java:186\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.StreamAllocation.findHealthyConnection (\u001b[1mStreamAllocation.java:121\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.StreamAllocation.newStream (\u001b[1mStreamAllocation.java:100\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.shaded.okhttp.internal.connection.ConnectInterceptor.intercept (\u001b[1mConnectInterceptor.java:42\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed (\u001b[1mRealInterceptorChain.java:92\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed (\u001b[1mRealInterceptorChain.java:67\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.shaded.okhttp.internal.cache.CacheInterceptor.intercept (\u001b[1mCacheInterceptor.java:93\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed (\u001b[1mRealInterceptorChain.java:92\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed (\u001b[1mRealInterceptorChain.java:67\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.BridgeInterceptor.intercept (\u001b[1mBridgeInterceptor.java:93\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed (\u001b[1mRealInterceptorChain.java:92\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RetryAndFollowUpInterceptor.intercept (\u001b[1mRetryAndFollowUpInterceptor.java:120\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed (\u001b[1mRealInterceptorChain.java:92\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.shaded.okhttp.internal.http.RealInterceptorChain.proceed (\u001b[1mRealInterceptorChain.java:67\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.shaded.okhttp.RealCall.getResponseWithInterceptorChain (\u001b[1mRealCall.java:179\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.shaded.okhttp.RealCall.execute (\u001b[1mRealCall.java:63\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.ServerConnection.callUrl (\u001b[1mServerConnection.java:113\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.ServerConnection.downloadString (\u001b[1mServerConnection.java:98\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.Jars.getBootstrapIndex (\u001b[1mJars.java:96\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.Jars.getScannerEngineFiles (\u001b[1mJars.java:76\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.Jars.download (\u001b[1mJars.java:70\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.JarDownloader.download (\u001b[1mJarDownloader.java:39\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.IsolatedLauncherFactory$1.run (\u001b[1mIsolatedLauncherFactory.java:75\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.IsolatedLauncherFactory$1.run (\u001b[1mIsolatedLauncherFactory.java:71\u001b[m)
    \u001b[1mat\u001b[m java.security.AccessController.doPrivileged (\u001b[1mNative Method\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher (\u001b[1mIsolatedLauncherFactory.java:71\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.internal.IsolatedLauncherFactory.createLauncher (\u001b[1mIsolatedLauncherFactory.java:67\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.EmbeddedScanner.doStart (\u001b[1mEmbeddedScanner.java:218\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.api.EmbeddedScanner.start (\u001b[1mEmbeddedScanner.java:156\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.maven.bootstrap.ScannerBootstrapper.execute (\u001b[1mScannerBootstrapper.java:59\u001b[m)
    \u001b[1mat\u001b[m org.sonarsource.scanner.maven.SonarQubeMojo.execute (\u001b[1mSonarQubeMojo.java:139\u001b[m)
    \u001b[1mat\u001b[m org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (\u001b[1mDefaultBuildPluginManager.java:137\u001b[m)
    \u001b[1mat\u001b[m org.apache.maven.lifecycle.internal.MojoExecutor.execute (\u001b[1mMojoExecutor.java:210\u001b[m)
    \u001b[1mat\u001b[m org.apache.maven.lifecycle.internal.MojoExecutor.execute (\u001b[1mMojoExecutor.java:156\u001b[m)
    \u001b[1mat\u001b[m org.apache.maven.lifecycle.internal.MojoExecutor.execute (\u001b[1mMojoExecutor.java:148\u001b[m)
    \u001b[1mat\u001b[m org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (\u001b[1mLifecycleModuleBuilder.java:117\u001b[m)
    \u001b[1mat\u001b[m org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (\u001b[1mLifecycleModuleBuilder.java:81\u001b[m)
    \u001b[1mat\u001b[m org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (\u001b[1mSingleThreadedBuilder.java:56\u001b[m)
    \u001b[1mat\u001b[m org.apache.maven.lifecycle.internal.LifecycleStarter.execute (\u001b[1mLifecycleStarter.java:128\u001b[m)
    \u001b[1mat\u001b[m org.apache.maven.DefaultMaven.doExecute (\u001b[1mDefaultMaven.java:305\u001b[m)
    \u001b[1mat\u001b[m org.apache.maven.DefaultMaven.doExecute (\u001b[1mDefaultMaven.java:192\u001b[m)
    \u001b[1mat\u001b[m org.apache.maven.DefaultMaven.execute (\u001b[1mDefaultMaven.java:105\u001b[m)
    \u001b[1mat\u001b[m org.apache.maven.cli.MavenCli.execute (\u001b[1mMavenCli.java:956\u001b[m)
    \u001b[1mat\u001b[m org.apache.maven.cli.MavenCli.doMain (\u001b[1mMavenCli.java:288\u001b[m)
    \u001b[1mat\u001b[m org.apache.maven.cli.MavenCli.main (\u001b[1mMavenCli.java:192\u001b[m)
    \u001b[1mat\u001b[m sun.reflect.NativeMethodAccessorImpl.invoke0 (\u001b[1mNative Method\u001b[m)
    \u001b[1mat\u001b[m sun.reflect.NativeMethodAccessorImpl.invoke (\u001b[1mNativeMethodAccessorImpl.java:62\u001b[m)
    \u001b[1mat\u001b[m sun.reflect.DelegatingMethodAccessorImpl.invoke (\u001b[1mDelegatingMethodAccessorImpl.java:43\u001b[m)
    \u001b[1mat\u001b[m java.lang.reflect.Method.invoke (\u001b[1mMethod.java:498\u001b[m)
    \u001b[1mat\u001b[m org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (\u001b[1mLauncher.java:282\u001b[m)
    \u001b[1mat\u001b[m org.codehaus.plexus.classworlds.launcher.Launcher.launch (\u001b[1mLauncher.java:225\u001b[m)
    \u001b[1mat\u001b[m org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (\u001b[1mLauncher.java:406\u001b[m)
    \u001b[1mat\u001b[m org.codehaus.plexus.classworlds.launcher.Launcher.main (\u001b[1mLauncher.java:347\u001b[m)
[\u001b[1;31mERROR\u001b[m] 
[\u001b[1;31mERROR\u001b[m] Re-run Maven using the \u001b[1m-X\u001b[m switch to enable full debug logging.
[\u001b[1;31mERROR\u001b[m] 
[\u001b[1;31mERROR\u001b[m] For more information about the errors and possible solutions, please read the following articles:
[\u001b[1;31mERROR\u001b[m] \u001b[1m[Help 1]\u001b[m http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
container 9ffa87b2b26eb070c036db880916c505a46f07680a71ad3e9fc05f247d518b69 is dead
Thu Apr 23 06:16:06 CEST 2020

@paulodamaso
Copy link
Contributor

@0crat out

@0crat
Copy link
Collaborator

0crat commented Apr 26, 2020

@0crat out (here)

@paulodamaso Job gh:yegor256/takes#1045 is not assigned, can't get performer

@0crat 0crat removed the scope label Apr 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants