diff --git a/modules/core/src/main/java/org/apache/ignite/IgniteCache.java b/modules/core/src/main/java/org/apache/ignite/IgniteCache.java index 701caa3f237c0..b6dfcddb9f736 100644 --- a/modules/core/src/main/java/org/apache/ignite/IgniteCache.java +++ b/modules/core/src/main/java/org/apache/ignite/IgniteCache.java @@ -188,12 +188,12 @@ public interface IgniteCache extends javax.cache.Cache, IgniteAsyncS *

* Full list of repairable methods: *

* @param strategy Read Repair strategy. * @return Cache with explicit consistency check on each read and repair if necessary. @@ -226,7 +226,7 @@ public interface IgniteCache extends javax.cache.Cache, IgniteAsyncS * (which will be stored in binary format), you should acquire following projection * to avoid deserialization: *
-     * IgniteCache prj = cache.withKeepBinary();
+     * IgniteCache<Integer, BinaryObject> prj = cache.withKeepBinary();
      *
      * // Value is not deserialized and returned in binary format.
      * BinaryObject po = prj.get(1);
diff --git a/modules/core/src/main/java/org/apache/ignite/IgniteCluster.java b/modules/core/src/main/java/org/apache/ignite/IgniteCluster.java
index eb1dd7bd74b7b..6e320ab516a49 100644
--- a/modules/core/src/main/java/org/apache/ignite/IgniteCluster.java
+++ b/modules/core/src/main/java/org/apache/ignite/IgniteCluster.java
@@ -126,7 +126,7 @@ public interface IgniteCluster extends ClusterGroup, IgniteAsyncSupport {
      * Returned result is collection of tuples. Each tuple corresponds to one node start attempt and
      * contains hostname, success flag and error message if attempt was not successful. Note that
      * successful attempt doesn't mean that node was actually started and joined topology. For large
-     * topologies (> 100s nodes) it can take over 10 minutes for all nodes to start. See individual
+     * topologies (> 100s nodes) it can take over 10 minutes for all nodes to start. See individual
      * node logs for details.
      * 

* Supports asynchronous execution (see {@link IgniteAsyncSupport}). @@ -157,7 +157,7 @@ public Collection startNodes(File file, boolean restart, * Completed future contains collection of tuples. Each tuple corresponds to one node start attempt and * contains hostname, success flag and error message if attempt was not successful. Note that * successful attempt doesn't mean that node was actually started and joined topology. For large - * topologies (> 100s nodes) it can take over 10 minutes for all nodes to start. See individual + * topologies (> 100s nodes) it can take over 10 minutes for all nodes to start. See individual * node logs for details. * * @param file Configuration file. @@ -254,7 +254,7 @@ public IgniteFuture> startNodesAsync(File fil * Returned result is collection of tuples. Each tuple corresponds to one node start attempt and * contains hostname, success flag and error message if attempt was not successful. Note that * successful attempt doesn't mean that node was actually started and joined topology. For large - * topologies (> 100s nodes) it can take over 10 minutes for all nodes to start. See individual + * topologies (> 100s nodes) it can take over 10 minutes for all nodes to start. See individual * node logs for details. *

* Supports asynchronous execution (see {@link IgniteAsyncSupport}). @@ -356,7 +356,7 @@ public Collection startNodes(Collection 100s nodes) it can take over 10 minutes for all nodes to start. See individual + * topologies (> 100s nodes) it can take over 10 minutes for all nodes to start. See individual * node logs for details. * * @param hosts Startup parameters. diff --git a/modules/core/src/main/java/org/apache/ignite/IgniteJdbcThinDataSource.java b/modules/core/src/main/java/org/apache/ignite/IgniteJdbcThinDataSource.java index c0aa637e7558c..7323471dd17cb 100644 --- a/modules/core/src/main/java/org/apache/ignite/IgniteJdbcThinDataSource.java +++ b/modules/core/src/main/java/org/apache/ignite/IgniteJdbcThinDataSource.java @@ -101,7 +101,7 @@ public class IgniteJdbcThinDataSource implements DataSource, Serializable { } /** - * Different application servers us different format (URL & url). + * Different application servers us different format (URL & url). * @return Connection URL. */ public String getURL() { @@ -109,7 +109,7 @@ public String getURL() { } /** - * Different application servers us different format (URL & url). + * Different application servers us different format (URL & url). * @param url Connection URL. * @throws SQLException On error whrn URL is invalid. */ diff --git a/modules/core/src/main/java/org/apache/ignite/IgniteSystemProperties.java b/modules/core/src/main/java/org/apache/ignite/IgniteSystemProperties.java index d8b89ec87f1a6..b0af9955865f7 100644 --- a/modules/core/src/main/java/org/apache/ignite/IgniteSystemProperties.java +++ b/modules/core/src/main/java/org/apache/ignite/IgniteSystemProperties.java @@ -1698,7 +1698,7 @@ public final class IgniteSystemProperties { /** * Flag to disable memory optimization: * BitSets instead of HashSets to store partitions. - * When number of backups per partion is > IGNITE_AFFINITY_BACKUPS_THRESHOLD we use HashMap to improve contains() + * When number of backups per partion is > IGNITE_AFFINITY_BACKUPS_THRESHOLD we use HashMap to improve contains() * which leads to extra memory consumption, otherwise we use view on the * list of cluster nodes to reduce memory consumption on redundant data structures. */ diff --git a/modules/core/src/main/java/org/apache/ignite/cache/CacheEntry.java b/modules/core/src/main/java/org/apache/ignite/cache/CacheEntry.java index cd1a979802e5e..08184abe67079 100644 --- a/modules/core/src/main/java/org/apache/ignite/cache/CacheEntry.java +++ b/modules/core/src/main/java/org/apache/ignite/cache/CacheEntry.java @@ -44,11 +44,11 @@ * *

Java Example

*
- * IgniteCache cache = grid(0).cache(null);
+ * IgniteCache<Integer, String> cache = grid(0).cache(null);
  *
- * CacheEntry entry1 = cache.invoke(100,
- *     new EntryProcessor>() {
- *          public CacheEntry process(MutableEntry entry,
+ * CacheEntry<String, Integer> entry1 = cache.invoke(100,
+ *     new EntryProcessor<Integer, String, CacheEntry<String, Integer>>() {
+ *          public CacheEntry<String, Integer> process(MutableEntry<Integer, String> entry,
  *              Object... arguments) throws EntryProcessorException {
  *                  return entry.unwrap(CacheEntry.class);
  *          }
@@ -56,16 +56,16 @@
  *
  * // Cache entry for the given key may be updated at some point later.
  *
- * CacheEntry entry2 = cache.invoke(100,
- *     new EntryProcessor>() {
- *          public CacheEntry process(MutableEntry entry,
+ * CacheEntry<String, Integer> entry2 = cache.invoke(100,
+ *     new EntryProcessor<Integer, String, CacheEntry<String, Integer>>() {
+ *          public CacheEntry<String, Integer> process(MutableEntry<Integer, String> entry,
  *              Object... arguments) throws EntryProcessorException {
  *                  return entry.unwrap(CacheEntry.class);
  *          }
  *     });
  *
  * // Comparing entries' versions.
- * if (entry1.version().compareTo(entry2.version()) < 0) {
+ * if (entry1.version().compareTo(entry2.version()) < 0) {
  *     // the entry has been updated
  * }
  * 
diff --git a/modules/core/src/main/java/org/apache/ignite/cache/QueryEntity.java b/modules/core/src/main/java/org/apache/ignite/cache/QueryEntity.java index 5850aa319d505..12d3d92e3d565 100644 --- a/modules/core/src/main/java/org/apache/ignite/cache/QueryEntity.java +++ b/modules/core/src/main/java/org/apache/ignite/cache/QueryEntity.java @@ -560,7 +560,7 @@ public Map getAliases() { /** * Sets mapping from full property name in dot notation to an alias that will be used as SQL column name. - * Example: {"parent.name" -> "parentName"}. + * Example: {"parent.name" -> "parentName"}. * * @param aliases Aliases map. * @return {@code this} for chaining. diff --git a/modules/core/src/main/java/org/apache/ignite/cache/query/ContinuousQuery.java b/modules/core/src/main/java/org/apache/ignite/cache/query/ContinuousQuery.java index f89836519efd0..ef76a8c2bf940 100644 --- a/modules/core/src/main/java/org/apache/ignite/cache/query/ContinuousQuery.java +++ b/modules/core/src/main/java/org/apache/ignite/cache/query/ContinuousQuery.java @@ -66,12 +66,12 @@ * ContinuousQuery<Long, Person> qry = new ContinuousQuery<>(); * * // Initial iteration query will return all people with salary above 1000. - * qry.setInitialQuery(new ScanQuery<>((id, p) -> p.getSalary() > 1000)); + * qry.setInitialQuery(new ScanQuery<>((id, p) -> p.getSalary() > 1000)); * * * // Callback that is called locally when update notifications are received. * // It simply prints out information about all created or modified records. - * qry.setLocalListener((evts) -> { + * qry.setLocalListener((evts) -> { * for (CacheEntryEvent<? extends Long, ? extends Person> e : evts) { * Person p = e.getValue(); * @@ -80,7 +80,7 @@ * }); * * // The continuous listener will be notified for people with salary above 1000. - * qry.setRemoteFilter(evt -> evt.getValue().getSalary() > 1000); + * qry.setRemoteFilter(evt -> evt.getValue().getSalary() > 1000); * * // Execute the query and get a cursor that iterates through the initial data. * QueryCursor<Cache.Entry<Long, Person>> cur = cache.query(qry); diff --git a/modules/core/src/main/java/org/apache/ignite/cache/store/jdbc/CacheAbstractJdbcStore.java b/modules/core/src/main/java/org/apache/ignite/cache/store/jdbc/CacheAbstractJdbcStore.java index 26c9c725b92cf..0d33456cc070b 100644 --- a/modules/core/src/main/java/org/apache/ignite/cache/store/jdbc/CacheAbstractJdbcStore.java +++ b/modules/core/src/main/java/org/apache/ignite/cache/store/jdbc/CacheAbstractJdbcStore.java @@ -1943,7 +1943,7 @@ protected JdbcTypeField[] valueColumns() { /** * Get full table name. * - * @return <schema>.<table name> + * @return <schema>.<table name> */ protected String fullTableName() { return fullTblName; diff --git a/modules/core/src/main/java/org/apache/ignite/client/ClientCache.java b/modules/core/src/main/java/org/apache/ignite/client/ClientCache.java index 413b8e2c00382..cdccc13450d68 100644 --- a/modules/core/src/main/java/org/apache/ignite/client/ClientCache.java +++ b/modules/core/src/main/java/org/apache/ignite/client/ClientCache.java @@ -827,7 +827,7 @@ public IgniteClientFuture>> invokeAllAsync( * (which will be stored in binary format), you should acquire following projection * to avoid deserialization: *
-     * CacheClient prj = cache.withKeepBinary();
+     * CacheClient<Integer, BinaryObject> prj = cache.withKeepBinary();
      *
      * // Value is not deserialized and returned in binary format.
      * BinaryObject po = prj.get(1);
diff --git a/modules/core/src/main/java/org/apache/ignite/cluster/ClusterNode.java b/modules/core/src/main/java/org/apache/ignite/cluster/ClusterNode.java
index 5b84d9f1fc4dd..f9f081c6f2461 100644
--- a/modules/core/src/main/java/org/apache/ignite/cluster/ClusterNode.java
+++ b/modules/core/src/main/java/org/apache/ignite/cluster/ClusterNode.java
@@ -39,13 +39,13 @@
  * {@link IgniteConfiguration#getUserAttributes()} method to initialize your custom
  * node attributes at startup. Here is an example of how to assign an attribute to a node at startup:
  * 
- * <bean class="org.apache.ignite.configuration.IgniteConfiguration">
+ * <bean class="org.apache.ignite.configuration.IgniteConfiguration">
  *     ...
- *     <property name="userAttributes">
- *         <map>
- *             <entry key="worker" value="true"/>
- *         </map>
- *     </property>
+ *     <property name="userAttributes">
+ *         <map>
+ *             <entry key="worker" value="true"/>
+ *         </map>
+ *     </property>
  *     ...
  * </bean>
  * 
diff --git a/modules/core/src/main/java/org/apache/ignite/compute/ComputeJobContinuationAdapter.java b/modules/core/src/main/java/org/apache/ignite/compute/ComputeJobContinuationAdapter.java index 60478a7ed5cdf..fa502fa1896ec 100644 --- a/modules/core/src/main/java/org/apache/ignite/compute/ComputeJobContinuationAdapter.java +++ b/modules/core/src/main/java/org/apache/ignite/compute/ComputeJobContinuationAdapter.java @@ -46,7 +46,7 @@ * protected Collection<? extends ComputeJob> split(int gridSize, final String arg) throws IgniteCheckedException { * List<ComputeJobAdapter<String>> jobs = new ArrayList<ComputeJobAdapter<String>>(gridSize); * - * for (int i = 0; i < gridSize; i++) { + * for (int i = 0; i < gridSize; i++) { * jobs.add(new ComputeJobAdapter() { * // Job execution logic. * public Object execute() throws IgniteCheckedException { diff --git a/modules/core/src/main/java/org/apache/ignite/compute/ComputeLoadBalancer.java b/modules/core/src/main/java/org/apache/ignite/compute/ComputeLoadBalancer.java index a19af07916c37..6efc4ecbf4ee9 100644 --- a/modules/core/src/main/java/org/apache/ignite/compute/ComputeLoadBalancer.java +++ b/modules/core/src/main/java/org/apache/ignite/compute/ComputeLoadBalancer.java @@ -39,10 +39,10 @@ * is transparent to your code and is handled automatically by the adapter. * Here is an example of how your task will look: *
- * public class MyFooBarTask extends ComputeTaskSplitAdapter<String> {
+ * public class MyFooBarTask extends ComputeTaskSplitAdapter<String> {
  *     @Override
- *     protected Collection<? extends ComputeJob> split(int gridSize, String arg) throws IgniteCheckedException {
- *         List<MyFooBarJob> jobs = new ArrayList<MyFooBarJob>(gridSize);
+ *     protected Collection<? extends ComputeJob> split(int gridSize, String arg) throws IgniteCheckedException {
+ *         List<MyFooBarJob> jobs = new ArrayList<MyFooBarJob>(gridSize);
  *
  *         for (int i = 0; i < gridSize; i++) {
  *             jobs.add(new MyFooBarJob(arg));
@@ -61,14 +61,14 @@
  * case we manually inject load balancer and use it to pick the best node. Doing it in
  * such way would allow user to map some jobs manually and for others use load balancer.
  * 
- * public class MyFooBarTask extends ComputeTaskAdapter<String, String> {
+ * public class MyFooBarTask extends ComputeTaskAdapter<String, String> {
  *     // Inject load balancer.
  *     @LoadBalancerResource
  *     ComputeLoadBalancer balancer;
  *
  *     // Map jobs to grid nodes.
- *     public Map<? extends ComputeJob, ClusterNode> map(List<ClusterNode> subgrid, String arg) throws IgniteCheckedException {
- *         Map<MyFooBarJob, ClusterNode> jobs = new HashMap<MyFooBarJob, ClusterNode>(subgrid.size());
+ *     public Map<? extends ComputeJob, ClusterNode> map(List<ClusterNode> subgrid, String arg) throws IgniteCheckedException {
+ *         Map<MyFooBarJob, ClusterNode> jobs = new HashMap<MyFooBarJob, ClusterNode>(subgrid.size());
  *
  *         // In more complex cases, you can actually do
  *         // more complicated assignments of jobs to nodes.
diff --git a/modules/core/src/main/java/org/apache/ignite/compute/ComputeTaskContinuousMapper.java b/modules/core/src/main/java/org/apache/ignite/compute/ComputeTaskContinuousMapper.java
index 39bed82cfcfe8..d6a273ae6d3da 100644
--- a/modules/core/src/main/java/org/apache/ignite/compute/ComputeTaskContinuousMapper.java
+++ b/modules/core/src/main/java/org/apache/ignite/compute/ComputeTaskContinuousMapper.java
@@ -48,7 +48,7 @@
  * 
  * ...
  * // This field will be injected with task continuous mapper.
- * @TaskContinuousMapperResource
+ * {@literal @}TaskContinuousMapperResource
  * private ComputeTaskContinuousMapper mapper;
  * ...
  * 
@@ -56,7 +56,7 @@ *
  * // This setter method will be automatically called by the system
  * // to set grid task continuous mapper.
- * @TaskContinuousMapperResource
+ * {@literal @}TaskContinuousMapperResource
  * void setSession(ComputeTaskContinuousMapper mapper) {
  *     this.mapper = mapper;
  * }
diff --git a/modules/core/src/main/java/org/apache/ignite/compute/ComputeTaskSession.java b/modules/core/src/main/java/org/apache/ignite/compute/ComputeTaskSession.java
index 3e017c69b6f22..7d1179f219126 100644
--- a/modules/core/src/main/java/org/apache/ignite/compute/ComputeTaskSession.java
+++ b/modules/core/src/main/java/org/apache/ignite/compute/ComputeTaskSession.java
@@ -85,7 +85,7 @@
  * 
  * ...
  * // This field will be injected with distributed task session.
- * @TaskSessionResource
+ * {@literal @}TaskSessionResource
  * private ComputeTaskSession ses;
  * ...
  * 
@@ -93,7 +93,7 @@ *
  * // This setter method will be automatically called by the system
  * // to set grid task session.
- * @TaskSessionResource
+ * {@literal @}TaskSessionResource
  * void setSession(ComputeTaskSession ses) {
  *     this.ses = ses;
  * }
diff --git a/modules/core/src/main/java/org/apache/ignite/configuration/DeploymentMode.java b/modules/core/src/main/java/org/apache/ignite/configuration/DeploymentMode.java
index 78bc718076a97..030ba9be65258 100644
--- a/modules/core/src/main/java/org/apache/ignite/configuration/DeploymentMode.java
+++ b/modules/core/src/main/java/org/apache/ignite/configuration/DeploymentMode.java
@@ -45,7 +45,7 @@
  *    <!-- User version. -->
  *    <bean id="userVersion" class="java.lang.String">
  *        <constructor-arg value="0"/>
- *    </bean>
+ *    </bean>
  * 
* By default, all ignite startup scripts ({@code ignite.sh} or {@code ignite.bat}) * pick up user version from {@code IGNITE_HOME/config/userversion} folder. Usually, it diff --git a/modules/core/src/main/java/org/apache/ignite/configuration/SqlConfiguration.java b/modules/core/src/main/java/org/apache/ignite/configuration/SqlConfiguration.java index 382f3b8b524f1..4dd80e3e09ebf 100644 --- a/modules/core/src/main/java/org/apache/ignite/configuration/SqlConfiguration.java +++ b/modules/core/src/main/java/org/apache/ignite/configuration/SqlConfiguration.java @@ -158,18 +158,18 @@ public SqlConfiguration setLongQueryWarningTimeout(long longQryWarnTimeout) { } /** - * Is key & value validation enabled. + * Is key & value validation enabled. * - * @return {@code true} When key & value shall be validated against SQL schema. + * @return {@code true} When key & value shall be validated against SQL schema. */ public boolean isValidationEnabled() { return validationEnabled; } /** - * Enable/disable key & value validation. + * Enable/disable key & value validation. * - * @param validationEnabled {@code true} When key & value shall be validated against SQL schema. + * @param validationEnabled {@code true} When key & value shall be validated against SQL schema. * Default value is {@code false}. * @return {@code this} for chaining. */ diff --git a/modules/core/src/main/java/org/apache/ignite/lang/IgniteAsyncCallback.java b/modules/core/src/main/java/org/apache/ignite/lang/IgniteAsyncCallback.java index 1e04ce6837981..f712a02901132 100644 --- a/modules/core/src/main/java/org/apache/ignite/lang/IgniteAsyncCallback.java +++ b/modules/core/src/main/java/org/apache/ignite/lang/IgniteAsyncCallback.java @@ -85,7 +85,7 @@ * * // Callback that is called locally when update notifications are received. * // It simply prints out information about all created persons. - * qry.setLocalListener((evts) -> { + * qry.setLocalListener((evts) -> { * for (CacheEntryEvent<? extends Long, ? extends Person> e : evts) { * Person p = e.getValue(); * @@ -94,7 +94,7 @@ * }); * * // Sets remote filter. - * qry.setRemoteFilterFactory(() -> new ExampleCacheEntryFilter()); + * qry.setRemoteFilterFactory(() -> new ExampleCacheEntryFilter()); * * // Execute query. * QueryCursor<Cache.Entry<Long, Person>> cur = cache.query(qry); diff --git a/modules/core/src/main/java/org/apache/ignite/marshaller/MarshallerContext.java b/modules/core/src/main/java/org/apache/ignite/marshaller/MarshallerContext.java index 81ee7fa0538c5..36d4e055c26e7 100644 --- a/modules/core/src/main/java/org/apache/ignite/marshaller/MarshallerContext.java +++ b/modules/core/src/main/java/org/apache/ignite/marshaller/MarshallerContext.java @@ -27,7 +27,7 @@ */ public interface MarshallerContext { /** - * Method to register typeId->class name mapping in marshaller context cluster-wide. + * Method to register typeId->class name mapping in marshaller context <b>cluster-wide</b>. * * This method guarantees that mapping is delivered to all nodes in cluster * and blocks caller thread until then. @@ -68,7 +68,7 @@ public boolean registerClassName( ) throws IgniteCheckedException; /** - * Method to register typeId->class name mapping in marshaller context on local node only. + * Method to register typeId->class name mapping in marshaller context <b>on local node only</b>. * * No guarantees that the mapping is presented on other nodes are provided. * diff --git a/modules/core/src/main/java/org/apache/ignite/package-info.java b/modules/core/src/main/java/org/apache/ignite/package-info.java index 25da5efc6e265..20e49ffef4b32 100644 --- a/modules/core/src/main/java/org/apache/ignite/package-info.java +++ b/modules/core/src/main/java/org/apache/ignite/package-info.java @@ -16,7 +16,7 @@ */ /** - * Contains entry-point Ignite & HPC APIs. + * Contains entry-point Ignite & HPC APIs. */ package org.apache.ignite; diff --git a/modules/core/src/main/java/org/apache/ignite/services/ServiceCallInterceptor.java b/modules/core/src/main/java/org/apache/ignite/services/ServiceCallInterceptor.java index 14050797988da..4922ecab9c0a1 100644 --- a/modules/core/src/main/java/org/apache/ignite/services/ServiceCallInterceptor.java +++ b/modules/core/src/main/java/org/apache/ignite/services/ServiceCallInterceptor.java @@ -34,7 +34,7 @@ *

* Usage example: *

- * ServiceCallInterceptor security = (mtd, args, ctx, svcCall) -> {
+ * ServiceCallInterceptor security = (mtd, args, ctx, svcCall) -> {
  *     if (!CustomSecurityProvider.get().access(mtd, ctx.currentCallContext().attribute("sessionId")))
  *         throw new SecurityException("Method invocation is not permitted");
  *
@@ -42,7 +42,7 @@
  *     return svcCall.call();
  * };
  *
- * ServiceCallInterceptor audit = (mtd, args, ctx, svcCall) -> {
+ * ServiceCallInterceptor audit = (mtd, args, ctx, svcCall) -> {
  *     String sessionId = ctx.currentCallContext().attribute("sessionId");
  *     AuditProvider prov = AuditProvider.get();
  *
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/loadbalancing/adaptive/AdaptiveLoadBalancingSpi.java b/modules/core/src/main/java/org/apache/ignite/spi/loadbalancing/adaptive/AdaptiveLoadBalancingSpi.java
index 4b98f75b0b004..751217899a71c 100644
--- a/modules/core/src/main/java/org/apache/ignite/spi/loadbalancing/adaptive/AdaptiveLoadBalancingSpi.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/loadbalancing/adaptive/AdaptiveLoadBalancingSpi.java
@@ -123,7 +123,7 @@
  *         if (useAvg) {
  *             double load = metrics.getAverageActiveJobs() + metrics.getAverageWaitingJobs();
  *
- *             if (load > 0) {
+ *             if (load > 0) {
  *                 return load;
  *             }
  *         }
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/loadbalancing/adaptive/AdaptiveLoadProbe.java b/modules/core/src/main/java/org/apache/ignite/spi/loadbalancing/adaptive/AdaptiveLoadProbe.java
index 0b2bc4d16a895..61a282e8659cb 100644
--- a/modules/core/src/main/java/org/apache/ignite/spi/loadbalancing/adaptive/AdaptiveLoadProbe.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/loadbalancing/adaptive/AdaptiveLoadProbe.java
@@ -52,7 +52,7 @@
  *         if (useAvg) {
  *             double load = metrics.getAverageActiveJobs() + metrics.getAverageWaitingJobs();
  *
- *             if (load > 0) {
+ *             if (load > 0) {
  *                 return load;
  *             }
  *         }
diff --git a/modules/core/src/main/java/org/apache/ignite/transactions/Transaction.java b/modules/core/src/main/java/org/apache/ignite/transactions/Transaction.java
index 5e6d9f61f5b1a..5b36dff2c71b5 100644
--- a/modules/core/src/main/java/org/apache/ignite/transactions/Transaction.java
+++ b/modules/core/src/main/java/org/apache/ignite/transactions/Transaction.java
@@ -107,7 +107,7 @@
  *     Integer v1 = cache.get("k1");
  *
  *     // Check if v1 satisfies some condition before doing a put.
- *     if (v1 != null && v1 > 0)
+ *     if (v1 != null && v1 > 0)
  *         cache.put("k1", 2);
  *
  *     cache.remove("k2");
diff --git a/modules/log4j2/src/main/java/org/apache/ignite/logger/log4j2/Log4J2Logger.java b/modules/log4j2/src/main/java/org/apache/ignite/logger/log4j2/Log4J2Logger.java
index 2303473b44811..37450a0b64a3c 100644
--- a/modules/log4j2/src/main/java/org/apache/ignite/logger/log4j2/Log4J2Logger.java
+++ b/modules/log4j2/src/main/java/org/apache/ignite/logger/log4j2/Log4J2Logger.java
@@ -67,7 +67,7 @@
  *      <property name="gridLogger">
  *          <bean class="org.apache.ignite.logger.log4j2.Log4J2Logger">
  *              <constructor-arg type="java.lang.String" value="config/ignite-log4j.xml"/>
- *          </bean>
+ *          </bean>
  *      </property>
  * 
* and from your code: diff --git a/pom.xml b/pom.xml index d220357d6ab13..a11ecf398489c 100644 --- a/pom.xml +++ b/pom.xml @@ -150,6 +150,7 @@ validate + true