From 50fb65d8075f78f4a295f4192d75007cfcea830c Mon Sep 17 00:00:00 2001 From: penghui Date: Sat, 30 Mar 2019 05:45:45 +0800 Subject: [PATCH] Fix comments of schema compatibility strategy. (#3923) ### Motivation Fix comments of schema compatibility strategy. ### Modifications Change comment of SchemaCompatibilityStrategy.BACKWARD and SchemaCompatibilityStrategy.FORWARD --- .../broker/service/schema/SchemaCompatibilityStrategy.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/schema/SchemaCompatibilityStrategy.java b/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/schema/SchemaCompatibilityStrategy.java index 221fc8cb78f1c..c53642ef94fa2 100644 --- a/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/schema/SchemaCompatibilityStrategy.java +++ b/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/schema/SchemaCompatibilityStrategy.java @@ -32,12 +32,12 @@ public enum SchemaCompatibilityStrategy { ALWAYS_COMPATIBLE, /** - * Messages written by a new schema can be read by an old schema + * Messages written by an old schema can be read by a new schema */ BACKWARD, /** - * Messages written by an old schema can be read be a new schema + * Messages written by a new schema can be read by an old schema */ FORWARD,