Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 861 - 870 of 1,299 for else (0.01 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

                    String newVersion = snapshot.getTimestamp() + "-" + snapshot.getBuildNumber();
                    version = baseVersion.replace(Artifact.SNAPSHOT_VERSION, newVersion);
                } else {
                    version = baseVersion;
                }
            }
            return version;
        }
    
        private int resolveLatestSnapshotBuildNumber(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  2. impl/maven-core/src/site/apt/getting-to-container-configured-mojos.apt

      DefaultExpressionEvaluator used within. See the above discussion for more
      on why this evaluator is bad. We need to provide either an alternative
      implementation under a different roleHint, or else replace the
      BasicComponentConfigurator.
    
    * Other
    
      We may need to define a new lifecycle/phase to contextualize a mojo right
      before it's used, and reset it's state afterward. Up to now, the approach
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java

                    logs.put(goal, stdout.toString());
                    if (exception != null) {
                        throw exception;
                    } else {
                        assertEquals(0, exitCode, "OUT:" + stdout + "\nERR:" + stderr);
                    }
                }
            }
            return logs;
        }
    
        protected ClassWorld createClassWorld() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Oct 21 12:17:55 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/logging/LoggingExecutionListener.java

            ReactorBuildStatus status =
                    (ReactorBuildStatus) session.getRepositorySession().getData().get(ReactorBuildStatus.class);
            if (status != null) {
                halted = status.isHalted();
            } else {
                // assume sensible default
                Throwable t = projectExecutionEvent.getCause();
                halted = (t instanceof RuntimeException || !(t instanceof Exception))
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.5K bytes
    - Click Count (0)
  5. cmd/jwt.go

    			return nil, nil, false, errAccessKeyDisabled
    		}
    
    		// Now check if we have a sessionPolicy.
    		if _, ok = eclaims[policy.SessionPolicyName]; ok {
    			owner = false
    		} else {
    			owner = globalActiveCred.AccessKey == ucred.ParentUser
    		}
    
    		groups = ucred.Groups
    	}
    
    	return claims, groups, owner, nil
    }
    
    // newCachedAuthToken returns the cached token.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  6. internal/logger/audit.go

    		if timeToFirstByte != 0 {
    			entry.API.TimeToFirstByte = strconv.FormatInt(timeToFirstByte.Nanoseconds(), 10) + "ns"
    			entry.API.TimeToFirstByteInNS = strconv.FormatInt(timeToFirstByte.Nanoseconds(), 10)
    		}
    	} else {
    		auditEntry := GetAuditEntry(ctx)
    		if auditEntry != nil {
    			entry = *auditEntry
    		}
    	}
    
    	// Send audit logs only to http targets.
    	for _, t := range auditTgts {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  7. internal/bucket/lifecycle/evaluator.go

    			// possibility of violating an object retention on one of the
    			// noncurrent versions of this object.
    			if e.lockRetention != nil && e.lockRetention.LockEnabled {
    				event = Event{}
    			} else {
    				// No need to evaluate remaining versions' lifecycle
    				// events after DeleteAllVersionsAction*
    				events[i] = event
    				break loop
    			}
    
    		case DeleteVersionAction, DeleteRestoredVersionAction:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Apr 08 15:41:24 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  8. build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt

                        line + getAgentOptions("%APP_HOME%").joinToString(separator = " ", prefix = " \"", postfix = "\"")
                    }
    
                    else -> line
                }
            }.toByteArray(StandardCharsets.UTF_8))
            require(replacementsCount == 1) { "The script file produced by the default start script doesn't match expected layout" }
        }
    
        private
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Apr 08 01:46:59 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  9. fastapi/security/oauth2.py

            authorization = request.headers.get("Authorization")
            if not authorization:
                if self.auto_error:
                    raise self.make_not_authenticated_error()
                else:
                    return None
            return authorization
    
    
    class OAuth2PasswordBearer(OAuth2):
        """
        OAuth2 flow for authentication using a bearer token obtained with a password.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 22K bytes
    - Click Count (0)
  10. cmd/encryption-v1_test.go

    			t.Errorf("Test %d: Decryption returned wrong error code: got %d , want %d", i, err, test.expErr)
    		} else if _, enc := crypto.IsEncrypted(test.info.UserDefined); encrypted && enc != encrypted {
    			t.Errorf("Test %d: Decryption thinks object is encrypted but it is not", i)
    		} else if !encrypted && enc != encrypted {
    			t.Errorf("Test %d: Decryption thinks object is not encrypted but it is", i)
    		}
    	}
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 19.9K bytes
    - Click Count (0)
Back to Top