dubbo icon indicating copy to clipboard operation
dubbo copied to clipboard

RegistryProtocol.DestroyableExporter 格式优化

Open sin-ning opened this issue 7 years ago • 5 comments

  • [ ] I have searched the issues of this repository and believe that this is not a duplicate.
  • [ -] I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

  • Dubbo version: 2.7.3

Steps to reproduce this issue

-

Expected Result

-

Actual Result

-

    // private 应该改为  private static 保持统一
    static private class DestroyableExporter<T> implements Exporter<T> {
          // 省略
    }

sin-ning avatar Jul 15 '19 02:07 sin-ning

Can you post pull request for this issue?

cvictory avatar Jul 15 '19 07:07 cvictory

Do you mean something like this: https://github.com/apache/dubbo/pull/4583

AnthonyKot avatar Jul 16 '19 14:07 AnthonyKot

No.

static private class DestroyableExporter<T> implements Exporter<T> {
}

The following should be changed.

private static class DestroyableExporter<T> implements Exporter<T> {
}

sin-ning avatar Jul 17 '19 01:07 sin-ning

@sin-ning would you mind to submit a pull request to enhance it?

beiwei30 avatar Aug 01 '19 12:08 beiwei30

This issue has been solved, can be closed now. @beiwei30

Moriadry-zz avatar Aug 13 '19 17:08 Moriadry-zz