皆さんありがとうございました。
またまた質問があるのでよろしくお願いします。

【1】
private void methodA(boolean bool, Map<String, Integer> map, Hoge hoge) {
if(bool) {
map.put("str1", hoge.getA());
map.put("str2", hoge.getB());
} else {
map.put("str1", hoge.getC());
map.put("str2", hoge.getD());
}
}

【2】
private void methodA(boolean bool, Map<String, Integer> map, Hoge hoge) {
final String str1 = "str1";
final String str2 = "str2";
if(bool) {
map.put(str1, hoge.getA());
map.put(str2, hoge.getB());
} else {
map.put(str1, hoge.getC());
map.put(str2, hoge.getD());
}
}

上記のソースの場合は修正やメンテを考ると、
Mapのkey値は【2】のように定数宣言した方がいいのでしょうか?