java array error “array required but int found”
up vote
-3
down vote
favorite
i keep recieving this error but i dont know whats causing it, could someone please help me understand ?
private int arrayFeeCode = new int [5];
/**
* Constructor for objects of class Rally
*/
public Rally(int RC, String Venue, int NumDays, int MaxPlaces, int arrayFeeCode)
{
// initialise instance variables
arrayFeeCode[0] = 0.00;
arrayFeeCode[1] = 10.00;
arrayFeeCode[2] = 15.50;
arrayFeeCode[3] = 17.75;
arrayFeeCode[4] = 20.00;
}
java bluej
add a comment |
up vote
-3
down vote
favorite
i keep recieving this error but i dont know whats causing it, could someone please help me understand ?
private int arrayFeeCode = new int [5];
/**
* Constructor for objects of class Rally
*/
public Rally(int RC, String Venue, int NumDays, int MaxPlaces, int arrayFeeCode)
{
// initialise instance variables
arrayFeeCode[0] = 0.00;
arrayFeeCode[1] = 10.00;
arrayFeeCode[2] = 15.50;
arrayFeeCode[3] = 17.75;
arrayFeeCode[4] = 20.00;
}
java bluej
Like @Legend said, your method signature is not right
– VirtualTroll
Mar 22 '13 at 14:42
4
actually, remove thearrayFeeCodevariable from your constructor parameter list. asarrayFeeCodeis declared as an instance variable you don't need it as an constructor argument.
– PermGenError
Mar 22 '13 at 14:42
Do you really require that in your constructor, it seems to be an instance variable?
– Sudhanshu Umalkar
Mar 22 '13 at 14:43
@PermGenError he could have filled that in with an example, not necessarily the defined and constant expression.
– user1181445
Mar 22 '13 at 14:48
1
@PermGenError thanks for your help, i really appreciate it and as instructed ive removed them from the constructor argument and its removed the error
– user2199680
Mar 23 '13 at 2:31
add a comment |
up vote
-3
down vote
favorite
up vote
-3
down vote
favorite
i keep recieving this error but i dont know whats causing it, could someone please help me understand ?
private int arrayFeeCode = new int [5];
/**
* Constructor for objects of class Rally
*/
public Rally(int RC, String Venue, int NumDays, int MaxPlaces, int arrayFeeCode)
{
// initialise instance variables
arrayFeeCode[0] = 0.00;
arrayFeeCode[1] = 10.00;
arrayFeeCode[2] = 15.50;
arrayFeeCode[3] = 17.75;
arrayFeeCode[4] = 20.00;
}
java bluej
i keep recieving this error but i dont know whats causing it, could someone please help me understand ?
private int arrayFeeCode = new int [5];
/**
* Constructor for objects of class Rally
*/
public Rally(int RC, String Venue, int NumDays, int MaxPlaces, int arrayFeeCode)
{
// initialise instance variables
arrayFeeCode[0] = 0.00;
arrayFeeCode[1] = 10.00;
arrayFeeCode[2] = 15.50;
arrayFeeCode[3] = 17.75;
arrayFeeCode[4] = 20.00;
}
java bluej
java bluej
asked Mar 22 '13 at 14:40
user2199680
1111
1111
Like @Legend said, your method signature is not right
– VirtualTroll
Mar 22 '13 at 14:42
4
actually, remove thearrayFeeCodevariable from your constructor parameter list. asarrayFeeCodeis declared as an instance variable you don't need it as an constructor argument.
– PermGenError
Mar 22 '13 at 14:42
Do you really require that in your constructor, it seems to be an instance variable?
– Sudhanshu Umalkar
Mar 22 '13 at 14:43
@PermGenError he could have filled that in with an example, not necessarily the defined and constant expression.
– user1181445
Mar 22 '13 at 14:48
1
@PermGenError thanks for your help, i really appreciate it and as instructed ive removed them from the constructor argument and its removed the error
– user2199680
Mar 23 '13 at 2:31
add a comment |
Like @Legend said, your method signature is not right
– VirtualTroll
Mar 22 '13 at 14:42
4
actually, remove thearrayFeeCodevariable from your constructor parameter list. asarrayFeeCodeis declared as an instance variable you don't need it as an constructor argument.
– PermGenError
Mar 22 '13 at 14:42
Do you really require that in your constructor, it seems to be an instance variable?
– Sudhanshu Umalkar
Mar 22 '13 at 14:43
@PermGenError he could have filled that in with an example, not necessarily the defined and constant expression.
– user1181445
Mar 22 '13 at 14:48
1
@PermGenError thanks for your help, i really appreciate it and as instructed ive removed them from the constructor argument and its removed the error
– user2199680
Mar 23 '13 at 2:31
Like @Legend said, your method signature is not right
– VirtualTroll
Mar 22 '13 at 14:42
Like @Legend said, your method signature is not right
– VirtualTroll
Mar 22 '13 at 14:42
4
4
actually, remove the
arrayFeeCode variable from your constructor parameter list. as arrayFeeCode is declared as an instance variable you don't need it as an constructor argument.– PermGenError
Mar 22 '13 at 14:42
actually, remove the
arrayFeeCode variable from your constructor parameter list. as arrayFeeCode is declared as an instance variable you don't need it as an constructor argument.– PermGenError
Mar 22 '13 at 14:42
Do you really require that in your constructor, it seems to be an instance variable?
– Sudhanshu Umalkar
Mar 22 '13 at 14:43
Do you really require that in your constructor, it seems to be an instance variable?
– Sudhanshu Umalkar
Mar 22 '13 at 14:43
@PermGenError he could have filled that in with an example, not necessarily the defined and constant expression.
– user1181445
Mar 22 '13 at 14:48
@PermGenError he could have filled that in with an example, not necessarily the defined and constant expression.
– user1181445
Mar 22 '13 at 14:48
1
1
@PermGenError thanks for your help, i really appreciate it and as instructed ive removed them from the constructor argument and its removed the error
– user2199680
Mar 23 '13 at 2:31
@PermGenError thanks for your help, i really appreciate it and as instructed ive removed them from the constructor argument and its removed the error
– user2199680
Mar 23 '13 at 2:31
add a comment |
5 Answers
5
active
oldest
votes
up vote
4
down vote
The parameter arrayFreeCode is declared as an int in your method, yet you treat it as an int.
It's not about the rep - it's about sending a message. Already been addressed so-1.
– user1181445
Mar 22 '13 at 14:52
That's ok. Just to clarify: was typing this without refreshing the comments. Also, I'd say your comment is more of an answer then a comment :)
– akaIDIOT
Mar 22 '13 at 14:54
1
@Legend: there's 1 minute between yours and akalIDIOT's answer, let's stay polite. Answers should be given as answers, not comments.
– Jeroen Vannevel
Mar 22 '13 at 14:57
@Legend i disagree, unless this isn't a right answer you can't downvote.
– PermGenError
Mar 22 '13 at 14:58
I had gotten all 7 of those upvotes within that minute.
– user1181445
Mar 22 '13 at 15:27
|
show 3 more comments
up vote
1
down vote
Are you putting doubles in int array? You need to put ints in it.
This should be a comment. This is not answer, this is a question.
– user1181445
Mar 22 '13 at 14:47
@Legend well, he actually made a point here. look at the OP's code he's trying to add doubles into an int array. can you do that ? you can't which makes this more of an answer than a comment :)
– PermGenError
Mar 22 '13 at 15:02
even when i change to to ints it still gives me the error
– user2199680
Mar 23 '13 at 2:32
add a comment |
up vote
0
down vote
You can't put Double into an array of Integer.
Change
private int arrayFeeCode = new int [5];
To
private double arrayFeeCode = new double [5];
add a comment |
up vote
0
down vote
Change the parameter arrayFeeCode
to
public Rally(int RC, String Venue, int NumDays, int MaxPlaces, double arrayFeeCode){
arrayFeeCode[0] = 0.00;
arrayFeeCode[1] = 10.00;
arrayFeeCode[2] = 15.50;
arrayFeeCode[3] = 17.75;
arrayFeeCode[4] = 20.00;
}
add a comment |
up vote
-1
down vote
private double arrayFeeCode = new double [5];
public Rally(int RC, String Venue, int NumDays,int MaxPlaces,double arrayFeeCode)
{
arrayFeeCode[0] = 0.00;
arrayFeeCode[1] = 10.00;
arrayFeeCode[2] = 15.50;
arrayFeeCode[3] = 17.75;
arrayFeeCode[4] = 20.00;
}
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f15573101%2fjava-array-error-array-required-but-int-found%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
The parameter arrayFreeCode is declared as an int in your method, yet you treat it as an int.
It's not about the rep - it's about sending a message. Already been addressed so-1.
– user1181445
Mar 22 '13 at 14:52
That's ok. Just to clarify: was typing this without refreshing the comments. Also, I'd say your comment is more of an answer then a comment :)
– akaIDIOT
Mar 22 '13 at 14:54
1
@Legend: there's 1 minute between yours and akalIDIOT's answer, let's stay polite. Answers should be given as answers, not comments.
– Jeroen Vannevel
Mar 22 '13 at 14:57
@Legend i disagree, unless this isn't a right answer you can't downvote.
– PermGenError
Mar 22 '13 at 14:58
I had gotten all 7 of those upvotes within that minute.
– user1181445
Mar 22 '13 at 15:27
|
show 3 more comments
up vote
4
down vote
The parameter arrayFreeCode is declared as an int in your method, yet you treat it as an int.
It's not about the rep - it's about sending a message. Already been addressed so-1.
– user1181445
Mar 22 '13 at 14:52
That's ok. Just to clarify: was typing this without refreshing the comments. Also, I'd say your comment is more of an answer then a comment :)
– akaIDIOT
Mar 22 '13 at 14:54
1
@Legend: there's 1 minute between yours and akalIDIOT's answer, let's stay polite. Answers should be given as answers, not comments.
– Jeroen Vannevel
Mar 22 '13 at 14:57
@Legend i disagree, unless this isn't a right answer you can't downvote.
– PermGenError
Mar 22 '13 at 14:58
I had gotten all 7 of those upvotes within that minute.
– user1181445
Mar 22 '13 at 15:27
|
show 3 more comments
up vote
4
down vote
up vote
4
down vote
The parameter arrayFreeCode is declared as an int in your method, yet you treat it as an int.
The parameter arrayFreeCode is declared as an int in your method, yet you treat it as an int.
answered Mar 22 '13 at 14:42
akaIDIOT
8,15831929
8,15831929
It's not about the rep - it's about sending a message. Already been addressed so-1.
– user1181445
Mar 22 '13 at 14:52
That's ok. Just to clarify: was typing this without refreshing the comments. Also, I'd say your comment is more of an answer then a comment :)
– akaIDIOT
Mar 22 '13 at 14:54
1
@Legend: there's 1 minute between yours and akalIDIOT's answer, let's stay polite. Answers should be given as answers, not comments.
– Jeroen Vannevel
Mar 22 '13 at 14:57
@Legend i disagree, unless this isn't a right answer you can't downvote.
– PermGenError
Mar 22 '13 at 14:58
I had gotten all 7 of those upvotes within that minute.
– user1181445
Mar 22 '13 at 15:27
|
show 3 more comments
It's not about the rep - it's about sending a message. Already been addressed so-1.
– user1181445
Mar 22 '13 at 14:52
That's ok. Just to clarify: was typing this without refreshing the comments. Also, I'd say your comment is more of an answer then a comment :)
– akaIDIOT
Mar 22 '13 at 14:54
1
@Legend: there's 1 minute between yours and akalIDIOT's answer, let's stay polite. Answers should be given as answers, not comments.
– Jeroen Vannevel
Mar 22 '13 at 14:57
@Legend i disagree, unless this isn't a right answer you can't downvote.
– PermGenError
Mar 22 '13 at 14:58
I had gotten all 7 of those upvotes within that minute.
– user1181445
Mar 22 '13 at 15:27
It's not about the rep - it's about sending a message. Already been addressed so
-1.– user1181445
Mar 22 '13 at 14:52
It's not about the rep - it's about sending a message. Already been addressed so
-1.– user1181445
Mar 22 '13 at 14:52
That's ok. Just to clarify: was typing this without refreshing the comments. Also, I'd say your comment is more of an answer then a comment :)
– akaIDIOT
Mar 22 '13 at 14:54
That's ok. Just to clarify: was typing this without refreshing the comments. Also, I'd say your comment is more of an answer then a comment :)
– akaIDIOT
Mar 22 '13 at 14:54
1
1
@Legend: there's 1 minute between yours and akalIDIOT's answer, let's stay polite. Answers should be given as answers, not comments.
– Jeroen Vannevel
Mar 22 '13 at 14:57
@Legend: there's 1 minute between yours and akalIDIOT's answer, let's stay polite. Answers should be given as answers, not comments.
– Jeroen Vannevel
Mar 22 '13 at 14:57
@Legend i disagree, unless this isn't a right answer you can't downvote.
– PermGenError
Mar 22 '13 at 14:58
@Legend i disagree, unless this isn't a right answer you can't downvote.
– PermGenError
Mar 22 '13 at 14:58
I had gotten all 7 of those upvotes within that minute.
– user1181445
Mar 22 '13 at 15:27
I had gotten all 7 of those upvotes within that minute.
– user1181445
Mar 22 '13 at 15:27
|
show 3 more comments
up vote
1
down vote
Are you putting doubles in int array? You need to put ints in it.
This should be a comment. This is not answer, this is a question.
– user1181445
Mar 22 '13 at 14:47
@Legend well, he actually made a point here. look at the OP's code he's trying to add doubles into an int array. can you do that ? you can't which makes this more of an answer than a comment :)
– PermGenError
Mar 22 '13 at 15:02
even when i change to to ints it still gives me the error
– user2199680
Mar 23 '13 at 2:32
add a comment |
up vote
1
down vote
Are you putting doubles in int array? You need to put ints in it.
This should be a comment. This is not answer, this is a question.
– user1181445
Mar 22 '13 at 14:47
@Legend well, he actually made a point here. look at the OP's code he's trying to add doubles into an int array. can you do that ? you can't which makes this more of an answer than a comment :)
– PermGenError
Mar 22 '13 at 15:02
even when i change to to ints it still gives me the error
– user2199680
Mar 23 '13 at 2:32
add a comment |
up vote
1
down vote
up vote
1
down vote
Are you putting doubles in int array? You need to put ints in it.
Are you putting doubles in int array? You need to put ints in it.
answered Mar 22 '13 at 14:47
Emil Iakoupov
14013
14013
This should be a comment. This is not answer, this is a question.
– user1181445
Mar 22 '13 at 14:47
@Legend well, he actually made a point here. look at the OP's code he's trying to add doubles into an int array. can you do that ? you can't which makes this more of an answer than a comment :)
– PermGenError
Mar 22 '13 at 15:02
even when i change to to ints it still gives me the error
– user2199680
Mar 23 '13 at 2:32
add a comment |
This should be a comment. This is not answer, this is a question.
– user1181445
Mar 22 '13 at 14:47
@Legend well, he actually made a point here. look at the OP's code he's trying to add doubles into an int array. can you do that ? you can't which makes this more of an answer than a comment :)
– PermGenError
Mar 22 '13 at 15:02
even when i change to to ints it still gives me the error
– user2199680
Mar 23 '13 at 2:32
This should be a comment. This is not answer, this is a question.
– user1181445
Mar 22 '13 at 14:47
This should be a comment. This is not answer, this is a question.
– user1181445
Mar 22 '13 at 14:47
@Legend well, he actually made a point here. look at the OP's code he's trying to add doubles into an int array. can you do that ? you can't which makes this more of an answer than a comment :)
– PermGenError
Mar 22 '13 at 15:02
@Legend well, he actually made a point here. look at the OP's code he's trying to add doubles into an int array. can you do that ? you can't which makes this more of an answer than a comment :)
– PermGenError
Mar 22 '13 at 15:02
even when i change to to ints it still gives me the error
– user2199680
Mar 23 '13 at 2:32
even when i change to to ints it still gives me the error
– user2199680
Mar 23 '13 at 2:32
add a comment |
up vote
0
down vote
You can't put Double into an array of Integer.
Change
private int arrayFeeCode = new int [5];
To
private double arrayFeeCode = new double [5];
add a comment |
up vote
0
down vote
You can't put Double into an array of Integer.
Change
private int arrayFeeCode = new int [5];
To
private double arrayFeeCode = new double [5];
add a comment |
up vote
0
down vote
up vote
0
down vote
You can't put Double into an array of Integer.
Change
private int arrayFeeCode = new int [5];
To
private double arrayFeeCode = new double [5];
You can't put Double into an array of Integer.
Change
private int arrayFeeCode = new int [5];
To
private double arrayFeeCode = new double [5];
answered Mar 22 '13 at 15:25
Hafizh Herdi
142113
142113
add a comment |
add a comment |
up vote
0
down vote
Change the parameter arrayFeeCode
to
public Rally(int RC, String Venue, int NumDays, int MaxPlaces, double arrayFeeCode){
arrayFeeCode[0] = 0.00;
arrayFeeCode[1] = 10.00;
arrayFeeCode[2] = 15.50;
arrayFeeCode[3] = 17.75;
arrayFeeCode[4] = 20.00;
}
add a comment |
up vote
0
down vote
Change the parameter arrayFeeCode
to
public Rally(int RC, String Venue, int NumDays, int MaxPlaces, double arrayFeeCode){
arrayFeeCode[0] = 0.00;
arrayFeeCode[1] = 10.00;
arrayFeeCode[2] = 15.50;
arrayFeeCode[3] = 17.75;
arrayFeeCode[4] = 20.00;
}
add a comment |
up vote
0
down vote
up vote
0
down vote
Change the parameter arrayFeeCode
to
public Rally(int RC, String Venue, int NumDays, int MaxPlaces, double arrayFeeCode){
arrayFeeCode[0] = 0.00;
arrayFeeCode[1] = 10.00;
arrayFeeCode[2] = 15.50;
arrayFeeCode[3] = 17.75;
arrayFeeCode[4] = 20.00;
}
Change the parameter arrayFeeCode
to
public Rally(int RC, String Venue, int NumDays, int MaxPlaces, double arrayFeeCode){
arrayFeeCode[0] = 0.00;
arrayFeeCode[1] = 10.00;
arrayFeeCode[2] = 15.50;
arrayFeeCode[3] = 17.75;
arrayFeeCode[4] = 20.00;
}
edited Nov 12 '16 at 3:40
Danh
4,92372335
4,92372335
answered Nov 12 '16 at 2:21
Victor Fernández
112
112
add a comment |
add a comment |
up vote
-1
down vote
private double arrayFeeCode = new double [5];
public Rally(int RC, String Venue, int NumDays,int MaxPlaces,double arrayFeeCode)
{
arrayFeeCode[0] = 0.00;
arrayFeeCode[1] = 10.00;
arrayFeeCode[2] = 15.50;
arrayFeeCode[3] = 17.75;
arrayFeeCode[4] = 20.00;
}
add a comment |
up vote
-1
down vote
private double arrayFeeCode = new double [5];
public Rally(int RC, String Venue, int NumDays,int MaxPlaces,double arrayFeeCode)
{
arrayFeeCode[0] = 0.00;
arrayFeeCode[1] = 10.00;
arrayFeeCode[2] = 15.50;
arrayFeeCode[3] = 17.75;
arrayFeeCode[4] = 20.00;
}
add a comment |
up vote
-1
down vote
up vote
-1
down vote
private double arrayFeeCode = new double [5];
public Rally(int RC, String Venue, int NumDays,int MaxPlaces,double arrayFeeCode)
{
arrayFeeCode[0] = 0.00;
arrayFeeCode[1] = 10.00;
arrayFeeCode[2] = 15.50;
arrayFeeCode[3] = 17.75;
arrayFeeCode[4] = 20.00;
}
private double arrayFeeCode = new double [5];
public Rally(int RC, String Venue, int NumDays,int MaxPlaces,double arrayFeeCode)
{
arrayFeeCode[0] = 0.00;
arrayFeeCode[1] = 10.00;
arrayFeeCode[2] = 15.50;
arrayFeeCode[3] = 17.75;
arrayFeeCode[4] = 20.00;
}
answered Nov 11 at 18:58
Gamers Stop
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f15573101%2fjava-array-error-array-required-but-int-found%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Like @Legend said, your method signature is not right
– VirtualTroll
Mar 22 '13 at 14:42
4
actually, remove the
arrayFeeCodevariable from your constructor parameter list. asarrayFeeCodeis declared as an instance variable you don't need it as an constructor argument.– PermGenError
Mar 22 '13 at 14:42
Do you really require that in your constructor, it seems to be an instance variable?
– Sudhanshu Umalkar
Mar 22 '13 at 14:43
@PermGenError he could have filled that in with an example, not necessarily the defined and constant expression.
– user1181445
Mar 22 '13 at 14:48
1
@PermGenError thanks for your help, i really appreciate it and as instructed ive removed them from the constructor argument and its removed the error
– user2199680
Mar 23 '13 at 2:31