Skip to content

Commit

Permalink
Minor update for JavaDocs
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbywarner committed Oct 8, 2012
1 parent 75435c5 commit 8c3d785
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 2 deletions.
1 change: 0 additions & 1 deletion grails-core/src/main/groovy/grails/web/Action.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package grails.web;

import java.lang.annotation.ElementType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@

import org.apache.commons.lang.StringUtils;

/**
* URL converter that allows for camel case URLs
*
* @author Jeff Brown
* @since 2.0
*/
public class CamelCaseUrlConverter implements UrlConverter {

public String toUrlElement(String propertyOrClassName) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,28 @@
/*
* Copyright 2011 SpringSource.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package grails.web;

import org.apache.commons.lang.StringUtils;


/**
* URL converter that allows for hyphenated URLs
*
* @author Jeff Brown
* @since 2.0
*/
public class HyphenatedUrlConverter implements UrlConverter {

public String toUrlElement(String propertyOrClassName) {
Expand Down
6 changes: 6 additions & 0 deletions grails-core/src/main/groovy/grails/web/UrlConverter.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@
*/
package grails.web;

/**
* URL converter interface for conversion strategies to implement
*
* @author Jeff Brown
* @since 2.0
*/
public interface UrlConverter {
String BEAN_NAME = "grailsUrlConverter";

Expand Down

0 comments on commit 8c3d785

Please sign in to comment.