This repository was archived by the owner on Nov 25, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
This repository was archived by the owner on Nov 25, 2025. It is now read-only.
リファクタリング一覧 #42
Copy link
Copy link
Open
Labels
Description
Class名に動詞
https://github.com/exKAZUu/RepositoryProbe/tree/master/src/main/java/net/exkazuu
やめましょう
getSourceCodeAbsolutePath
メソッドが2つあります。
空の中括弧
while(hogehoge);で良いんじゃなかろうか
URI直書きはやめましょう
外出ししたほうがいいんじゃないかな?
if(! hogehoge){} にする
//test//
読み逃しがでる気がします
clone
- 2つあります
- runCloneじゃなかろうか
runBlameとかにする
blameだけ統一感ががないのが気になる
変数名split?
splitResult?
getAuthorName
単数のは1個のstring返すので良いんじゃないだろうか*
mainが長い
https://github.com/exKAZUu/RepositoryProbe/blob/master/src/main/java/net/exkazuu/Main.xtend
やってることは本当に起動処理だけ?
nextPage
https://github.com/exKAZUu/RepositoryProbe/blob/master/src/main/java/net/exkazuu/Main.xtend#L16
clickNextPageに見えます
とりあえずここまで