Skip to content

Commit

Permalink
Use object attribute instead of argument
Browse files Browse the repository at this point in the history
  • Loading branch information
cafreeman authored and Davies Liu committed Apr 14, 2015
1 parent 71372d9 commit 5a553e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/R/schema.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ structType <- function(x, ...) {
structType.jobj <- function(x) {
obj <- structure(list(), class = "structType")
obj$jobj <- x
obj$fields <- function() { lapply(callJMethod(x, "fields"), structField) }
obj$fields <- function() { lapply(callJMethod(obj$jobj, "fields"), structField) }
obj
}

Expand Down

0 comments on commit 5a553e7

Please sign in to comment.