Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

[#1411] Fixed comment to reflect what code is doing. #448

Closed
wants to merge 1 commit into from

3 participants

NebuPookins Morten Kjetland Nicolas Leroux
NebuPookins

No description provided.

Morten Kjetland
Collaborator

Note: The code in this pull request is also included in pull request 449

Nicolas Leroux
Collaborator

Closing that one since it will be part of 449 anyway

Nicolas Leroux pepite closed this
Morten Kjetland
Collaborator

This small comment has now been merged - thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Feb 03, 2012
NebuPookins [#1411] Fixed comment to reflect what code is doing. b3252b1
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  framework/src/play/i18n/Lang.java
2  framework/src/play/i18n/Lang.java
@@ -107,7 +107,7 @@ private static void resolvefrom(Request request) {
107 107
                 }
108 108
             }
109 109
         }
110  
-        // now see if we have a country-only match
  110
+        // now see if we have a language-only match
111 111
         for (String a: request.acceptLanguage()) {
112 112
             if (a.indexOf("-") > 0) {
113 113
                 a = a.substring(0, a.indexOf("-"));
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.