Skip to content

Commit

Permalink
Support filenames with dots.
Browse files Browse the repository at this point in the history
Fixes #22.

Conflicts:
	compiler-plugin/src/main/scala/com/trueaccord/scalapb/compiler/DescriptorPimps.scala
  • Loading branch information
thesamet committed May 7, 2015
1 parent 43282fb commit 9a3f978
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ trait DescriptorPimps {
if (javaPkg.isEmpty) scalaName else (javaPkg + "." + scalaName)
}

def internalFieldsObjectName = "InternalFields_" + baseName(file.getName)
def internalFieldsObjectName = "InternalFields_" + snakeCaseToCamelCase(file.getName)
}

private def allCapsToCamelCase(name: String, upperInitial: Boolean = false): String = {
Expand Down
File renamed without changes.

0 comments on commit 9a3f978

Please sign in to comment.