Browse Source

Restoring authorship annotation for <primate@yandex-team.ru>. Commit 1 of 2.

primate 3 years ago
parent
commit
1b3ecf4f5d

+ 6 - 6
library/cpp/histogram/adaptive/adaptive_histogram.cpp

@@ -351,9 +351,9 @@ namespace NKiwiAggr {
 
     double TAdaptiveHistogram::CalcUpperBound(double sum) {
         Y_VERIFY(sum >= 0, "Sum must be >= 0");
-        if (sum == 0.0) {
-            return MinValue;
-        }
+        if (sum == 0.0) { 
+            return MinValue; 
+        } 
         if (Empty()) {
             return MaxValue;
         }
@@ -392,9 +392,9 @@ namespace NKiwiAggr {
 
     double TAdaptiveHistogram::CalcLowerBound(double sum) {
         Y_VERIFY(sum >= 0, "Sum must be >= 0");
-        if (sum == 0.0) {
-            return MaxValue;
-        }
+        if (sum == 0.0) { 
+            return MaxValue; 
+        } 
         if (Empty()) {
             return MinValue;
         }

+ 1 - 1
library/cpp/messagebus/socket_addr.cpp

@@ -14,7 +14,7 @@ using namespace NBus::NPrivate;
 static_assert(ADDR_UNSPEC == 0, "expect ADDR_UNSPEC == 0");
 
 NBus::NPrivate::TBusSocketAddr::TBusSocketAddr(const NAddr::IRemoteAddr* addr)
-    : IPv6ScopeID(0)
+    : IPv6ScopeID(0) 
 {
     const sockaddr* sa = addr->Addr();
 

+ 1 - 1
library/cpp/messagebus/socket_addr.h

@@ -87,7 +87,7 @@ namespace NBus {
             TBusSocketAddr(const NAddr::IRemoteAddr*);
             TBusSocketAddr(const TNetAddr&);
             TBusSocketAddr(TStringBuf host, unsigned port);
-
+ 
             TNetAddr ToNetAddr() const;
 
             bool operator==(const TBusSocketAddr& that) const {