diff options
author | Ahmed Ashour <asashour@yahoo.com> | 2017-10-20 10:15:43 +0200 |
---|---|---|
committer | Péter Török <31210544+torok-peter@users.noreply.github.com> | 2017-10-20 11:15:43 +0300 |
commit | 69ac68e064efb91ab21cf5aa4fd7533ae07b6089 (patch) | |
tree | 293acecc2055b5d19aa4c3a6c5158ff28d0d5600 /server/src/main | |
parent | df2157ab9f39f7170675c8540a589cdc101d9456 (diff) | |
download | vaadin-framework-69ac68e064efb91ab21cf5aa4fd7533ae07b6089.tar.gz vaadin-framework-69ac68e064efb91ab21cf5aa4fd7533ae07b6089.zip |
Fix typos (#10213)
* Fix typos
* Fix
Diffstat (limited to 'server/src/main')
10 files changed, 19 insertions, 19 deletions
diff --git a/server/src/main/java/com/vaadin/data/HasValue.java b/server/src/main/java/com/vaadin/data/HasValue.java index be5629f952..636610a974 100644 --- a/server/src/main/java/com/vaadin/data/HasValue.java +++ b/server/src/main/java/com/vaadin/data/HasValue.java @@ -296,10 +296,10 @@ public interface HasValue<V> extends Serializable { /** * Returns a validator that checks the internal state of the HasValue. This * should be overridden for components with internal value conversion or - * validation, eg. when the user is providing a string that has to be parsed - * into a date. An invalid input from user will be exposed to - * a {@link Binder} and can be seen as a validation failure. - * + * validation, e.g. when the user is providing a string that has to be + * parsed into a date. An invalid input from user will be exposed to a + * {@link Binder} and can be seen as a validation failure. + * * @since 8.1 * @return internal state validator * @see Binder#validate() diff --git a/server/src/main/java/com/vaadin/data/util/BeanUtil.java b/server/src/main/java/com/vaadin/data/util/BeanUtil.java index a80eb8b151..21331bdf24 100644 --- a/server/src/main/java/com/vaadin/data/util/BeanUtil.java +++ b/server/src/main/java/com/vaadin/data/util/BeanUtil.java @@ -87,7 +87,7 @@ public final class BeanUtil implements Serializable { /** * Returns the type of the property with the given name and declaring class. - * The property name may refer to a nested property, eg. + * The property name may refer to a nested property, e.g. * "property.subProperty" or "property.subProperty1.subProperty2". The * property must have a public read method (or a chain of read methods in * case of a nested property). @@ -113,7 +113,7 @@ public final class BeanUtil implements Serializable { /** * Returns the property descriptor for the property of the given name and - * declaring class. The property name may refer to a nested property, eg. + * declaring class. The property name may refer to a nested property, e.g. * "property.subProperty" or "property.subProperty1.subProperty2". The * property must have a public read method (or a chain of read methods in * case of a nested property). diff --git a/server/src/main/java/com/vaadin/event/dd/acceptcriteria/SourceIsTarget.java b/server/src/main/java/com/vaadin/event/dd/acceptcriteria/SourceIsTarget.java index 8002cffca5..8c4b82c0c7 100644 --- a/server/src/main/java/com/vaadin/event/dd/acceptcriteria/SourceIsTarget.java +++ b/server/src/main/java/com/vaadin/event/dd/acceptcriteria/SourceIsTarget.java @@ -23,7 +23,7 @@ import com.vaadin.ui.Component; /** * - * A criterion that ensures the drag source is the same as drop target. Eg. + * A criterion that ensures the drag source is the same as drop target. E.g. * {code Tree} or {@code Table} could support only re-ordering of items, but no * {@link Transferable}s coming outside. * <p> diff --git a/server/src/main/java/com/vaadin/server/DownloadStream.java b/server/src/main/java/com/vaadin/server/DownloadStream.java index b52b2e83a4..b6fe260126 100644 --- a/server/src/main/java/com/vaadin/server/DownloadStream.java +++ b/server/src/main/java/com/vaadin/server/DownloadStream.java @@ -134,7 +134,7 @@ public class DownloadStream implements Serializable { } /** - * Sets a paramater for download stream. Parameters are optional information + * Sets a parameter for download stream. Parameters are optional information * about the downloadable stream and their meaning depends on the used * adapter. For example in WebAdapter they are interpreted as HTTP response * headers. @@ -197,8 +197,8 @@ public class DownloadStream implements Serializable { /** * Sets length of cache expiration time. This gives the adapter the * possibility cache streams sent to the client. The caching may be made in - * adapter or at the client if the client supports caching. Zero or negavive - * value disbales the caching of this stream. + * adapter or at the client if the client supports caching. Zero or negative + * value disables the caching of this stream. * * @param cacheTime * the cache time in milliseconds. @@ -210,7 +210,7 @@ public class DownloadStream implements Serializable { /** * Gets the size of the download buffer. * - * @return int The size of the buffer in bytes. + * @return The size of the buffer in bytes. */ public int getBufferSize() { return bufferSize; diff --git a/server/src/main/java/com/vaadin/server/FileResource.java b/server/src/main/java/com/vaadin/server/FileResource.java index 9bc37e5f8e..e7a1808775 100644 --- a/server/src/main/java/com/vaadin/server/FileResource.java +++ b/server/src/main/java/com/vaadin/server/FileResource.java @@ -124,8 +124,8 @@ public class FileResource implements ConnectorResource { /** * Sets the length of cache expiration time. This gives the adapter the * possibility cache streams sent to the client. The caching may be made in - * adapter or at the client if the client supports caching. Zero or negavive - * value disbales the caching of this stream. + * adapter or at the client if the client supports caching. Zero or negative + * value disables the caching of this stream. * * @param cacheTime * the cache time in milliseconds. diff --git a/server/src/main/java/com/vaadin/server/LegacyCommunicationManager.java b/server/src/main/java/com/vaadin/server/LegacyCommunicationManager.java index bb8d8cd4d5..cebb90a0ad 100644 --- a/server/src/main/java/com/vaadin/server/LegacyCommunicationManager.java +++ b/server/src/main/java/com/vaadin/server/LegacyCommunicationManager.java @@ -385,7 +385,7 @@ public class LegacyCommunicationManager implements Serializable { * We will use the same APP/* URI space as ApplicationResources but * prefix url with UPLOAD * - * eg. APP/UPLOAD/[UIID]/[PID]/[NAME]/[SECKEY] + * e.g. APP/UPLOAD/[UIID]/[PID]/[NAME]/[SECKEY] * * SECKEY is created on each paint to make URL's unpredictable (to * prevent CSRF attacks). diff --git a/server/src/main/java/com/vaadin/server/PaintTarget.java b/server/src/main/java/com/vaadin/server/PaintTarget.java index 8ef05a7abd..a5df8947f2 100644 --- a/server/src/main/java/com/vaadin/server/PaintTarget.java +++ b/server/src/main/java/com/vaadin/server/PaintTarget.java @@ -187,7 +187,7 @@ public interface PaintTarget extends Serializable { public void addAttribute(String name, Resource value) throws PaintException; /** - * Adds details about {@link StreamVariable} to the UIDL stream. Eg. in web + * Adds details about {@link StreamVariable} to the UIDL stream. E.g. in web * terminals Receivers are typically rendered for the client side as URLs, * where the client side implementation can do an http post request. * <p> @@ -282,7 +282,7 @@ public interface PaintTarget extends Serializable { * before any content is written. * * TODO: specify how the map is added - * + * * @param name * @param value * @throws PaintException diff --git a/server/src/main/java/com/vaadin/server/StreamVariable.java b/server/src/main/java/com/vaadin/server/StreamVariable.java index 5252a207fc..4c42c6c703 100644 --- a/server/src/main/java/com/vaadin/server/StreamVariable.java +++ b/server/src/main/java/com/vaadin/server/StreamVariable.java @@ -25,7 +25,7 @@ import java.io.Serializable; * browsers to the server without consuming large amounts of memory. * <p> * Note, writing to the {@link OutputStream} is not synchronized by the terminal - * (to avoid stalls in other operations when eg. streaming to a slow network + * (to avoid stalls in other operations when e.g. streaming to a slow network * service or file system). If UI is changed as a side effect of writing to the * output stream, developer must handle synchronization manually. * <p> diff --git a/server/src/main/java/com/vaadin/server/VaadinRequest.java b/server/src/main/java/com/vaadin/server/VaadinRequest.java index 28dda963de..4b441f0b21 100644 --- a/server/src/main/java/com/vaadin/server/VaadinRequest.java +++ b/server/src/main/java/com/vaadin/server/VaadinRequest.java @@ -52,7 +52,7 @@ public interface VaadinRequest extends Serializable { * * @param parameter * the name of the parameter - * @return The paramter value, or <code>null</code> if no parameter with the + * @return The parameter value, or {@code null} if no parameter with the * given name is present */ public String getParameter(String parameter); diff --git a/server/src/main/java/com/vaadin/ui/declarative/converters/DesignResourceConverter.java b/server/src/main/java/com/vaadin/ui/declarative/converters/DesignResourceConverter.java index c0fa46469c..11ed3c259b 100644 --- a/server/src/main/java/com/vaadin/ui/declarative/converters/DesignResourceConverter.java +++ b/server/src/main/java/com/vaadin/ui/declarative/converters/DesignResourceConverter.java @@ -140,7 +140,7 @@ public class DesignResourceConverter implements Converter<String, Resource> { @Override public Resource parse(String value) { // Deprecated, 7.4 syntax is - // font://"+FontAwesome.valueOf(foo) eg. "font://AMBULANCE" + // font://"+FontAwesome.valueOf(foo) e.g. "font://AMBULANCE" final String iconName = value.split("://", 2)[1]; return FontAwesome.valueOf(iconName); } |