Remove unused imports

This commit is contained in:
Matthias Beyer 2017-08-30 23:19:24 +02:00
parent 991fd7c3d4
commit fabb990336
9 changed files with 1 additions and 35 deletions

View file

@ -32,7 +32,6 @@ use libimagmail::mail::Mail;
use libimagentryref::reference::Ref; use libimagentryref::reference::Ref;
use libimagrt::runtime::Runtime; use libimagrt::runtime::Runtime;
use libimagrt::setup::generate_runtime_setup; use libimagrt::setup::generate_runtime_setup;
use libimagutil::debug_result::*;
use libimagutil::info_result::*; use libimagutil::info_result::*;
mod ui; mod ui;

View file

@ -17,7 +17,7 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
// //
use clap::{Arg, ArgGroup, App, SubCommand}; use clap::{Arg, App, SubCommand};
pub fn build_ui<'a>(app: App<'a, 'a>) -> App<'a, 'a> { pub fn build_ui<'a>(app: App<'a, 'a>) -> App<'a, 'a> {
app app

View file

@ -18,12 +18,9 @@
// //
use std::cmp::Ord; use std::cmp::Ord;
use std::cmp::Ordering;
use filters::ops::not::Not;
use filters::filter::Filter; use filters::filter::Filter;
use itertools::Itertools; use itertools::Itertools;
use itertools::MinMaxResult;
use chrono::NaiveDateTime; use chrono::NaiveDateTime;
use libimagerror::trace::trace_error; use libimagerror::trace::trace_error;

View file

@ -17,14 +17,9 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
// //
use std::cmp::Ord;
use std::cmp::Ordering;
use std::str::FromStr; use std::str::FromStr;
use filters::ops::not::Not;
use filters::filter::Filter; use filters::filter::Filter;
use itertools::Itertools;
use itertools::MinMaxResult;
use chrono::NaiveDateTime; use chrono::NaiveDateTime;
use libimagerror::trace::trace_error; use libimagerror::trace::trace_error;

View file

@ -17,15 +17,9 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
// //
use std::cmp::Ord;
use std::cmp::Ordering;
use std::str::FromStr; use std::str::FromStr;
use filters::ops::not::Not;
use filters::filter::Filter; use filters::filter::Filter;
use itertools::Itertools;
use itertools::MinMaxResult;
use chrono::NaiveDateTime;
use libimagerror::trace::trace_error; use libimagerror::trace::trace_error;
use libimagerror::trace::MapErrTrace; use libimagerror::trace::MapErrTrace;
@ -33,7 +27,6 @@ use libimagerror::iter::TraceIterator;
use libimagstore::store::FileLockEntry; use libimagstore::store::FileLockEntry;
use libimagtimetrack::timetrackingstore::TimeTrackStore; use libimagtimetrack::timetrackingstore::TimeTrackStore;
use libimagtimetrack::timetracking::TimeTracking; use libimagtimetrack::timetracking::TimeTracking;
use libimagtimetrack::iter::filter::*;
use libimagrt::runtime::Runtime; use libimagrt::runtime::Runtime;

View file

@ -17,14 +17,9 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
// //
use std::cmp::Ord;
use std::cmp::Ordering;
use std::str::FromStr; use std::str::FromStr;
use filters::ops::not::Not;
use filters::filter::Filter; use filters::filter::Filter;
use itertools::Itertools;
use itertools::MinMaxResult;
use chrono::NaiveDateTime; use chrono::NaiveDateTime;
use libimagerror::trace::trace_error; use libimagerror::trace::trace_error;
@ -44,7 +39,6 @@ pub fn month(rt: &Runtime) -> i32 {
let filter = { let filter = {
use chrono::offset::Local; use chrono::offset::Local;
use chrono::naive::NaiveDate; use chrono::naive::NaiveDate;
use chrono::Weekday;
use chrono::Datelike; use chrono::Datelike;
let now = Local::now(); let now = Local::now();

View file

@ -24,7 +24,6 @@ use filters::filter::Filter;
use libimagerror::trace::trace_error; use libimagerror::trace::trace_error;
use libimagerror::iter::TraceIterator; use libimagerror::iter::TraceIterator;
use libimagrt::runtime::Runtime; use libimagrt::runtime::Runtime;
use libimagrt::setup::generate_runtime_setup;
use libimagtimetrack::timetracking::TimeTracking; use libimagtimetrack::timetracking::TimeTracking;
use libimagtimetrack::tag::TimeTrackingTag; use libimagtimetrack::tag::TimeTrackingTag;

View file

@ -17,14 +17,9 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
// //
use std::cmp::Ord;
use std::cmp::Ordering;
use std::str::FromStr; use std::str::FromStr;
use filters::ops::not::Not;
use filters::filter::Filter; use filters::filter::Filter;
use itertools::Itertools;
use itertools::MinMaxResult;
use chrono::NaiveDateTime; use chrono::NaiveDateTime;
use libimagerror::trace::trace_error; use libimagerror::trace::trace_error;

View file

@ -17,14 +17,9 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
// //
use std::cmp::Ord;
use std::cmp::Ordering;
use std::str::FromStr; use std::str::FromStr;
use filters::ops::not::Not;
use filters::filter::Filter; use filters::filter::Filter;
use itertools::Itertools;
use itertools::MinMaxResult;
use chrono::NaiveDateTime; use chrono::NaiveDateTime;
use libimagerror::trace::trace_error; use libimagerror::trace::trace_error;
@ -44,7 +39,6 @@ pub fn year(rt: &Runtime) -> i32 {
let filter = { let filter = {
use chrono::offset::Local; use chrono::offset::Local;
use chrono::naive::NaiveDate; use chrono::naive::NaiveDate;
use chrono::Weekday;
use chrono::Datelike; use chrono::Datelike;
let now = Local::now(); let now = Local::now();