Skip to content

Commit

Permalink
Improved method name
Browse files Browse the repository at this point in the history
  • Loading branch information
DougLau committed Jan 23, 2025
1 parent dfa35de commit 3c93401
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/us/mn/state/dot/tms/server/KAdaptiveAlgorithm.java
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ static private boolean isDensityLow(Double k) {
static private HashMap<String, KAdaptiveAlgorithm> ALL_ALGS =
new HashMap<String, KAdaptiveAlgorithm>();

/** Get the K adaptive algorithm state for a meter */
static public KAdaptiveAlgorithm meterState(RampMeterImpl meter) {
/** Create algorithm state for a meter */
static public KAdaptiveAlgorithm createState(RampMeterImpl meter) {
Corridor c = meter.getCorridor();
if (c != null) {
KAdaptiveAlgorithm alg = lookupAlgorithm(c);
Expand Down
2 changes: 1 addition & 1 deletion src/us/mn/state/dot/tms/server/RampMeterImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ private MeterAlgorithmState createState() {
private MeterAlgorithmState createKAdaptiveState() {
MeterAlgorithmState as = null;
if (ent_node != null) {
as = KAdaptiveAlgorithm.meterState(this);
as = KAdaptiveAlgorithm.createState(this);
if (null == as)
updateFault(RampMeterFault.MISSING_STATE);
}
Expand Down

0 comments on commit 3c93401

Please sign in to comment.