Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
berlios jsunit under apache2 license to cover javascript core routines which
do not have to rely on a browser or can work on browser mockups!

for furhter on dom testing we probably have to integrate html based tests
for further on dom testing we probably have to integrate html based tests
with a browser engine but for the core apis this should be sufficient
-->
<plugin>
Expand Down
2 changes: 1 addition & 1 deletion api/src/client/typescript/faces/api/_api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export module myfaces {
* @param execute execute list as passed down in faces.ajax.request
* @param render the render list as string
* @param options the options which need to be merged in
* @param userParameters a set of user parameters which go into the final options under params, they can overide whatever is passed via options
* @param userParameters a set of user parameters which go into the final options under params, they can override whatever is passed via options
*/
export function ab(source: Element, event: Event, eventName: string, execute: string, render: string, options: Options = {}, userParameters: Options = {}): void {
if(!options) {
Expand Down
4 changes: 2 additions & 2 deletions api/src/client/typescript/mona_dish/Stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,8 @@ export class Stream<T> implements IMonad<T, Stream<any>>, IValueHolder<Array<T>>
}

/*
* we need to implement it to fullfill the contract, although it is used only internally
* all values are flattened when accessed anyway, so there is no need to call this methiod
* we need to implement it to fulfill the contract, although it is used only internally
* all values are flattened when accessed anyway, so there is no need to call this method
*/

flatMap<IStreamDataSource>(fn: (data: T) => IStreamDataSource | Array<any>): Stream<any> {
Expand Down
4 changes: 2 additions & 2 deletions api/src/main/java/jakarta/faces/application/Application.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
* {@link ApplicationFactory}. Because this instance is shared, it must be implemented in a thread-safe manner.
* </p>
*
* Holds webapp-wide resources for a Faces application. There is a single one of these for a web application, accessable
* Holds webapp-wide resources for a Faces application. There is a single one of these for a web application, accessible
* via
*
* <pre>
Expand Down Expand Up @@ -537,7 +537,7 @@ public Iterator<String> getBehaviorIds()
return application.getBehaviorIds();
}
// It is better to return an empty iterator,
// to keep compatiblity with previous jsf 2.0 Application
// to keep compatibility with previous jsf 2.0 Application
// instances
return Collections.EMPTY_LIST.iterator();
}
Expand Down
2 changes: 1 addition & 1 deletion api/src/main/java/jakarta/faces/component/UIViewRoot.java
Original file line number Diff line number Diff line change
Expand Up @@ -1750,7 +1750,7 @@ private boolean _process(FacesContext context, PhaseId phaseId, PhaseProcessor p
}
catch (RuntimeException re)
{
// catch any Exception that occures while processing the phase
// catch any Exception that occurs while processing the phase
// to ensure invocation of the afterPhase methods
processingException = re;
}
Expand Down
2 changes: 1 addition & 1 deletion extensions/quarkus/showcase/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ In [dev mode](https://quarkus.io/guides/maven-tooling#development-mode) you can

## Native mode

For native mode you need [graalvm 19.3.1](https://github.com/graalvm/graalvm-ce-builds/releases/tag/vm-19.3.1), see graalvm instalation [instructions here](https://quarkus.io/guides/building-native-image).
For native mode you need [graalvm 19.3.1](https://github.com/graalvm/graalvm-ce-builds/releases/tag/vm-19.3.1), see graalvm installation [instructions here](https://quarkus.io/guides/building-native-image).

> Note that for now `native mode` is not working on GraalVM **20.0.0**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1330,10 +1330,10 @@ public final UIComponent createComponent(final String componentType) throws Face
* A converter registered via a config file can have any number of nested attribute or property tags. The Faces
* specification is very vague about what effect these nested tags have. This method ignores nested attribute
* definitions, but for each nested property tag the corresponding setter is invoked on the new Converter instance
* passing the property's defaultValuer. Basic typeconversion is done so the target properties on the Converter
* passing the property's defaultValuer. Basic type conversion is done so the target properties on the Converter
* instance can be String, int, boolean, etc. Note that:
* <ol>
* <li>the Sun Mojarra Faces implemenation ignores nested property tags completely, so this behaviour cannot be
* <li>the Sun Mojarra Faces implementation ignores nested property tags completely, so this behaviour cannot be
* relied on across implementations.
* <li>there is no equivalent functionality for converter classes registered via the Application.addConverter api
* method.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ private static String findAlgorithmParams(ExternalContext ctx)

if (log.isLoggable(Level.FINE))
{
log.fine("Using algorithm paramaters " + algorithmParams);
log.fine("Using algorithm parameters " + algorithmParams);
}

return algorithmParams;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public void addValidator(Validator validator)
@Override
public void encodeBegin(FacesContext context) throws IOException
{
// Developement check: https://github.com/jakartaee/faces/issues/1780
// Development check: https://github.com/jakartaee/faces/issues/1780
if (context.isProjectStage(ProjectStage.Development))
{
// find closest form
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public T getNode()
}

/**
* Add a dependecy to this Vertex. The Vertex that this one depends on will
* Add a dependency to this Vertex. The Vertex that this one depends on will
* be marked as referenced and then added to the list of dependencies. The
* list is checked before the dependency is added.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public boolean isUrlParameterSupported()
* It is only possible to prevent it if the ClientSideWindowHandler is used.
* </p>
*
* <p><b>ATTENTION:</b> Since CODI-1.0.6 this is set to <code>true</code> as defalt!</p>
* <p><b>ATTENTION:</b> Since CODI-1.0.6 this is set to <code>true</code> as default!</p>
*
* <p>
* This must be enabled to:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ static public String toResourceUri(FacesContext facesContext, Object o)
}

// With Faces 2.0 url for resources can be done with EL like #{resource['resourcename']}
// and such EL after evalution contains context path for the current web application already,
// and such EL after evaluation contains context path for the current web application already,
// -> we dont want call viewHandler.getResourceURL()
if (uri.contains(ResourceHandler.RESOURCE_IDENTIFIER))
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ public static String buildBehaviorChain(FacesContext facesContext,
/**
* This function correctly escapes the given JavaScript code
* for the use in the faces.util.chain() JavaScript function.
* It also handles double-escaping correclty.
* It also handles double-escaping correctly.
*
* @param facesContext
* @param javaScript
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,8 @@ public boolean userAgentNeedsUpdate(FacesContext context)

// If the lastModified date is lower or equal than ifModifiedSince,
// the agent does not need to update.
// Note the lastModified time is set at milisecond precision, but when
// the date is parsed and sent on ifModifiedSince, the exceding milliseconds
// Note the lastModified time is set at millisecond precision, but when
// the date is parsed and sent on ifModifiedSince, the exceeding milliseconds
// are trimmed. So, we have to compare trimming this from the calculated
// lastModified time.
if ( (lastModified-(lastModified % 1000)) <= ifModifiedSince)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ private InjectionProvider resolveFallbackInjectionProvider(ExternalContext exter
try
{
ClassUtils.classForName("jakarta.ejb.EJB");
// Asume full JEE 5 container
// Assume full JEE 5 container
return new AllAnnotationInjectionProvider(context);
}
catch (ClassNotFoundException e)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,11 @@ public V put(K key, V val)

// Check if we need to clear out old entries from the cache.
// isCleaning variable is checked instead of markAndSweepLock.isLocked()
// for performance because every put invokation will check until
// for performance because every put invocation will check until
// the size is back to an acceptable level.
//
// There is a race between the check and the call to markAndSweep, but
// it's unimportant because markAndSweep actually aquires the lock or returns if it can't.
// it's unimportant because markAndSweep actually acquires the lock or returns if it can't.
//
// Thread safety note: isCleaning read is piggybacked (comes after) other volatile reads
// in this method.
Expand Down Expand Up @@ -203,7 +203,7 @@ private void markAndSweep()
{
// if we want to keep at least 1000 entries, then timestamps of
// current through current-1000 are guaranteed not to be the oldest (but that does
// not mean there are 1000 entries in that group... it's acutally anywhere between
// not mean there are 1000 entries in that group... it's actually anywhere between
// 1 and 1000).
// Also, if we want to remove 500 entries, then
// oldestEntry through oldestEntry+500 are guaranteed to be
Expand Down Expand Up @@ -232,7 +232,7 @@ private void markAndSweep()
int wantToRemove = sz - lowerWaterMark;

@SuppressWarnings("unchecked")
// generic array's are anoying
// generic array's are annoying
CacheEntry<K, V>[] eset = new CacheEntry[sz];
int eSize = 0;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public UIViewRoot restoreView (FacesContext context, String viewId, String rende
// Since Faces 2.2, UIViewRoot.restoreViewScopeState() must be called, but
// to get the state of the root, it is necessary to force calculate the
// id from this location. Remember in this point, PSS is enabled, so the
// code match with the assigment done in
// code match with the assignment done in
// FaceletViewDeclarationLanguage.buildView()
states = (Map<String, Object>) state[1];
faceletViewState = UIComponentBase.restoreAttachedState(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public final class TagHandlerUtils
{

/**
* Find the first occurence of a tag handler that is instanceof T
* Find the first occurrence of a tag handler that is instanceof T
*
* @since 2.0.1
* @param <T>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ protected final String getFacetName(FaceletContext ctx, UIComponent parent)
}

/**
* If the binding attribute was specified, use that in conjuction with our componentType String variable to call
* If the binding attribute was specified, use that in conjunction with our componentType String variable to call
* createComponent on the Application, otherwise just pass the componentType String. <p> If the binding was used,
* then set the ValueExpression "binding" on the created UIComponent.</p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public void applyAttachedObject(FacesContext context, UIComponent parent)
// spec: if the disabled attribute is true, the validator should not be added.
// in addition, the validatorId, if present, should be added to an exclusion
// list on the parent component to prevent a default validator with the same
// id from beeing registered on the component.
// id from being registered on the component.
if (_delegate.isDisabled(faceletContext))
{
// tag is disabled --> add its validatorId to the parent's exclusion list
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2213,7 +2213,7 @@
<xsd:annotation>
<xsd:documentation>
<![CDATA[
<p class="changed_added_2_2">Identifiy the called flow.</p>
<p class="changed_added_2_2">Identify the called flow.</p>

<div class="changed_added_2_2">

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ private void _addPostbackMapKey(ExternalContext externalContext)
}

/**
* For check if there is a redirect we to take into accout this points:
* For check if there is a redirect we to take into account this points:
* <p/>
* 1. isRedirect() could be accessed many times during the same
* request.
Expand Down