Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
src: clean up using directives
Browse files Browse the repository at this point in the history
Remove the unused ones and alphabetically sort the ones that remain.
  • Loading branch information
bnoordhuis committed Jun 17, 2013
1 parent 226a20d commit b916525
Show file tree
Hide file tree
Showing 13 changed files with 36 additions and 62 deletions.
1 change: 0 additions & 1 deletion src/cares_wrap.cc
Expand Up @@ -47,7 +47,6 @@ namespace cares_wrap {

using v8::Arguments;
using v8::Array;
using v8::Context;
using v8::Function;
using v8::Handle;
using v8::HandleScope;
Expand Down
6 changes: 0 additions & 6 deletions src/handle_wrap.cc
Expand Up @@ -26,18 +26,12 @@
namespace node {

using v8::Arguments;
using v8::Array;
using v8::Context;
using v8::Function;
using v8::FunctionTemplate;
using v8::Handle;
using v8::HandleScope;
using v8::Integer;
using v8::Local;
using v8::Object;
using v8::Persistent;
using v8::String;
using v8::TryCatch;
using v8::Undefined;
using v8::Value;

Expand Down
21 changes: 10 additions & 11 deletions src/node_script.cc
Expand Up @@ -26,24 +26,23 @@

namespace node {

using v8::Arguments;
using v8::Array;
using v8::Context;
using v8::Script;
using v8::Value;
using v8::Exception;
using v8::Function;
using v8::FunctionTemplate;
using v8::Handle;
using v8::HandleScope;
using v8::Local;
using v8::Object;
using v8::Arguments;
using v8::Persistent;
using v8::Script;
using v8::String;
using v8::ThrowException;
using v8::TryCatch;
using v8::String;
using v8::Exception;
using v8::Local;
using v8::Array;
using v8::Persistent;
using v8::Integer;
using v8::Function;
using v8::FunctionTemplate;
using v8::V8;
using v8::Value;


class WrappedContext : ObjectWrap {
Expand Down
2 changes: 0 additions & 2 deletions src/pipe_wrap.cc
Expand Up @@ -31,7 +31,6 @@ namespace node {

using v8::Arguments;
using v8::Boolean;
using v8::Context;
using v8::Function;
using v8::FunctionTemplate;
using v8::Handle;
Expand All @@ -42,7 +41,6 @@ using v8::Object;
using v8::Persistent;
using v8::PropertyAttribute;
using v8::String;
using v8::TryCatch;
using v8::Value;

extern Persistent<FunctionTemplate> pipeConstructorTmpl;
Expand Down
22 changes: 10 additions & 12 deletions src/process_wrap.cc
Expand Up @@ -28,23 +28,21 @@

namespace node {

using v8::Object;
using v8::Arguments;
using v8::Array;
using v8::Exception;
using v8::Function;
using v8::FunctionTemplate;
using v8::Handle;
using v8::HandleScope;
using v8::Integer;
using v8::Local;
using v8::Number;
using v8::Object;
using v8::Persistent;
using v8::Value;
using v8::HandleScope;
using v8::FunctionTemplate;
using v8::String;
using v8::Array;
using v8::Number;
using v8::Function;
using v8::TryCatch;
using v8::Context;
using v8::Arguments;
using v8::Integer;
using v8::Exception;
using v8::ThrowException;
using v8::Value;

static Persistent<String> onexit_sym;

Expand Down
16 changes: 7 additions & 9 deletions src/signal_wrap.cc
Expand Up @@ -25,19 +25,17 @@

namespace node {

using v8::Object;
using v8::Arguments;
using v8::Function;
using v8::FunctionTemplate;
using v8::Handle;
using v8::HandleScope;
using v8::Integer;
using v8::Local;
using v8::Object;
using v8::Persistent;
using v8::Value;
using v8::HandleScope;
using v8::FunctionTemplate;
using v8::String;
using v8::Function;
using v8::TryCatch;
using v8::Context;
using v8::Arguments;
using v8::Integer;
using v8::Value;

static Persistent<String> onsignal_sym;

Expand Down
2 changes: 1 addition & 1 deletion src/slab_allocator.cc
Expand Up @@ -36,8 +36,8 @@ using v8::Null;
using v8::Object;
using v8::Persistent;
using v8::String;
using v8::Value;
using v8::V8;
using v8::Value;


namespace node {
Expand Down
5 changes: 0 additions & 5 deletions src/stream_wrap.cc
Expand Up @@ -41,10 +41,6 @@ namespace node {
using v8::AccessorInfo;
using v8::Arguments;
using v8::Array;
using v8::Context;
using v8::Exception;
using v8::Function;
using v8::FunctionTemplate;
using v8::Handle;
using v8::HandleScope;
using v8::Integer;
Expand All @@ -53,7 +49,6 @@ using v8::Number;
using v8::Object;
using v8::Persistent;
using v8::String;
using v8::TryCatch;
using v8::Value;


Expand Down
1 change: 0 additions & 1 deletion src/string_bytes.cc
Expand Up @@ -39,7 +39,6 @@ namespace node {
using v8::Handle;
using v8::HandleScope;
using v8::Local;
using v8::Object;
using v8::String;
using v8::Value;

Expand Down
2 changes: 0 additions & 2 deletions src/tcp_wrap.cc
Expand Up @@ -33,7 +33,6 @@
namespace node {

using v8::Arguments;
using v8::Context;
using v8::Function;
using v8::FunctionTemplate;
using v8::Handle;
Expand All @@ -45,7 +44,6 @@ using v8::Object;
using v8::Persistent;
using v8::PropertyAttribute;
using v8::String;
using v8::TryCatch;
using v8::Undefined;
using v8::Value;

Expand Down
16 changes: 7 additions & 9 deletions src/timer_wrap.cc
Expand Up @@ -24,19 +24,17 @@

namespace node {

using v8::Object;
using v8::Arguments;
using v8::Function;
using v8::FunctionTemplate;
using v8::Handle;
using v8::HandleScope;
using v8::Integer;
using v8::Local;
using v8::Object;
using v8::Persistent;
using v8::Value;
using v8::HandleScope;
using v8::FunctionTemplate;
using v8::String;
using v8::Function;
using v8::TryCatch;
using v8::Context;
using v8::Arguments;
using v8::Integer;
using v8::Value;

static Persistent<String> ontimeout_sym;

Expand Down
2 changes: 0 additions & 2 deletions src/tty_wrap.cc
Expand Up @@ -30,7 +30,6 @@
namespace node {

using v8::Arguments;
using v8::Context;
using v8::Function;
using v8::FunctionTemplate;
using v8::Handle;
Expand All @@ -41,7 +40,6 @@ using v8::Object;
using v8::Persistent;
using v8::PropertyAttribute;
using v8::String;
using v8::TryCatch;
using v8::Undefined;
using v8::Value;

Expand Down
2 changes: 1 addition & 1 deletion src/v8_typed_array.cc
Expand Up @@ -31,9 +31,9 @@

namespace {

using node::ThrowError;
using node::ThrowRangeError;
using node::ThrowTypeError;
using node::ThrowError;

struct BatchedMethods {
const char* name;
Expand Down

0 comments on commit b916525

Please sign in to comment.