79267376

Date: 2024-12-10 07:51:25
Score: 3
Natty:
Report link

EC2Client.java can be a interface or abstract class and add some impl class of EC2Client.java by region(EastEC2Client.java\WestEC2Client.java). All of subclass of EC2Client.java can be put in a map when startup. "MyService" injected the map. can choose a region ec2client from the map in the service. enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: alvin_nc