yuqi1129 opened a new pull request #2435:
URL: https://github.com/apache/iotdb/pull/2435


   <!--
   
       Licensed to the Apache Software Foundation (ASF) under one
       or more contributor license agreements.  See the NOTICE file
       distributed with this work for additional information
       regarding copyright ownership.  The ASF licenses this file
       to you under the Apache License, Version 2.0 (the
       "License"); you may not use this file except in compliance
       with the License.  You may obtain a copy of the License at
   
           http://www.apache.org/licenses/LICENSE-2.0
   
       Unless required by applicable law or agreed to in writing,
       software distributed under the License is distributed on an
       "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
       KIND, either express or implied.  See the License for the
       specific language governing permissions and limitations
       under the License.
   
   -->
   
   <!-- Thanks for trying to help us make Apache IoTDB be the best it can be! 
   Please fill out as much of the following information as is possible (where 
relevant, and remove it 
   when irrelevant) to help make the intention and scope of this PR clear in 
order to ease review. -->
   
   ## Description
   
   
   This PR contains no fix and feature, is about java code optimization and 
contains the following contents:
   
   1. Add type to some enum type instead to use ordinal, if we add more enum 
instance to that enum class, some hard code need to change every time
   2. Some java practice, for example , remove useless synchronized, remove 
duplication code and simplify code logic, see below 
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to