jaehyun pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=8146728c780914614ec49177edd5ea18030065e3

commit 8146728c780914614ec49177edd5ea18030065e3
Author: Jaehyun Cho <jae_hyun....@samsung.com>
Date:   Fri Dec 20 14:25:38 2019 +0900

    eolian_mono: change Constants class to static class
    
    Summary:
    Since Constants class contains static readonly values only, the
    Constants class is actually a static class.
    Therefore, Constants class is changed from public partial class to
    public static partial class.
    
    ref T8398
    
    Reviewers: YOhoho, lauromoura
    
    Reviewed By: YOhoho
    
    Subscribers: cedric, #reviewers, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D10929
---
 src/bin/eolian_mono/eolian/mono/variable_definition.hh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/bin/eolian_mono/eolian/mono/variable_definition.hh 
b/src/bin/eolian_mono/eolian/mono/variable_definition.hh
index e63db2047d..fe9f6738e6 100644
--- a/src/bin/eolian_mono/eolian/mono/variable_definition.hh
+++ b/src/bin/eolian_mono/eolian/mono/variable_definition.hh
@@ -45,11 +45,11 @@ struct constant_definition_generator
   template<typename OutputIterator, typename Context>
   bool generate(OutputIterator sink, attributes::constant_def constant, 
Context const& context) const
   {
-    // Open partial class
+    // Open static partial class
     if (!name_helpers::open_namespaces(sink, constant.namespaces, context))
       return false;
 
-    if (!as_generator("public partial class Constants\n{\n").generate(sink, 
attributes::unused, context))
+    if (!as_generator("public static partial class 
Constants\n{\n").generate(sink, attributes::unused, context))
       return false;
 
     std::string literal;
@@ -83,7 +83,7 @@ struct constant_definition_generator
 
     // FIXME missing documentation generator
 
-    // Close partial class
+    // Close static partial class
     if (!as_generator("}\n").generate(sink, attributes::unused, context))
       return false;
 

-- 


Reply via email to