lang
stringclasses
2 values
license
stringclasses
13 values
stderr
stringlengths
0
343
commit
stringlengths
40
40
returncode
int64
0
128
repos
stringlengths
6
87.7k
new_contents
stringlengths
0
6.23M
new_file
stringlengths
3
311
old_contents
stringlengths
0
6.23M
message
stringlengths
6
9.1k
old_file
stringlengths
3
311
subject
stringlengths
0
4k
git_diff
stringlengths
0
6.31M
Java
apache-2.0
eca7a95958956946d6d9ce39b6f56016796f23e6
0
didi/DoraemonKit,didi/DoraemonKit,didi/DoraemonKit,didi/DoraemonKit,didi/DoraemonKit,didi/DoraemonKit,didi/DoraemonKit,didi/DoraemonKit,didi/DoraemonKit,didi/DoraemonKit
package com.didichuxing.doraemonkit.kit.core; import android.content.Context; import android.util.DisplayMetrics; import android.view.Gravity; import android.view.LayoutInflater; import android.view.View; import android.view.WindowManager; import android.widget.CompoundButton; import android.widget.FrameLayout; import...
Android/java/doraemonkit/src/main/java/com/didichuxing/doraemonkit/kit/core/SimpleDokitView.java
package com.didichuxing.doraemonkit.kit.core; import android.content.Context; import android.util.DisplayMetrics; import android.view.Gravity; import android.view.LayoutInflater; import android.view.View; import android.view.WindowManager; import android.widget.CompoundButton; import android.widget.FrameLayout; import...
modify: [Android]-悬浮窗适配
Android/java/doraemonkit/src/main/java/com/didichuxing/doraemonkit/kit/core/SimpleDokitView.java
modify: [Android]-悬浮窗适配
<ide><path>ndroid/java/doraemonkit/src/main/java/com/didichuxing/doraemonkit/kit/core/SimpleDokitView.java <ide> <ide> public void showContainer(boolean isChecked) { <ide> mFloatContainer.setVisibility(isChecked ? View.VISIBLE : View.GONE); <add> invalidate(); <ide> } <ide> <ide> @Override ...
Java
apache-2.0
226b749b0fdfafb72d4e7c79326727fb60348ea0
0
TDDFT/aerosolve,TDDFT/aerosolve,airbnb/aerosolve,airbnb/aerosolve
package com.airbnb.aerosolve.core.transforms; import com.airbnb.aerosolve.core.FeatureVector; import com.airbnb.aerosolve.core.util.Util; import com.typesafe.config.Config; import lombok.extern.slf4j.Slf4j; import java.util.Collection; import java.util.HashSet; import java.util.Map; import java.util.Set; /** * Simi...
core/src/main/java/com/airbnb/aerosolve/core/transforms/FloatToStringTransform.java
package com.airbnb.aerosolve.core.transforms; import com.airbnb.aerosolve.core.FeatureVector; import com.airbnb.aerosolve.core.util.Util; import com.typesafe.config.Config; import lombok.extern.slf4j.Slf4j; import java.util.Collection; import java.util.HashSet; import java.util.Map; import java.util.Set; /** * Simi...
better naming
core/src/main/java/com/airbnb/aerosolve/core/transforms/FloatToStringTransform.java
better naming
<ide><path>ore/src/main/java/com/airbnb/aerosolve/core/transforms/FloatToStringTransform.java <ide> Collection<String> localKeys = (keys == null)? input.keySet() : keys; <ide> log.debug("k {} {}", localKeys, input); <ide> for (String key : localKeys) { <del> moveFloatToStringAndFloat( <add> moveFl...
Java
mit
c887bce7c1c85e79f4d4369d1227e0e1177f0a10
0
selig/qea
package benchmark.rovers; import java.io.PrintStream; import java.util.Arrays; abstract class DoEval<S> { private static PrintStream old_out = System.out; private static PrintStream null_out = null; static{ try{new java.io.PrintStream("redirected.txt");} catch(Exception e){} } ...
code/qea/src/benchmark/rovers/DoEval.java
package benchmark.rovers; import java.io.PrintStream; import java.util.Arrays; abstract class DoEval<S> { private static PrintStream old_out = System.out; private static PrintStream null_out = null; static{ try{new java.io.PrintStream("redirected.txt");} catch(Exception e){} } ...
Editing DoEval
code/qea/src/benchmark/rovers/DoEval.java
Editing DoEval
<ide><path>ode/qea/src/benchmark/rovers/DoEval.java <ide> run_eval(spec,name,new int[]{100,100,10000},0); <ide> run_eval(spec,name,new int[]{1000,1000,1000}); <ide> run_eval(spec,name,new int[]{1000,1000,10000},0); <add> run_eval(spec,name,new int[]{1000,1000,1000000},0); <ide> <ide> } <i...
JavaScript
mit
6d6e1a8556eb2cf0122706ffdfa7d85a325978ca
0
nrabinowitz/timemap,nrabinowitz/timemap
/*---------------------------------------------------------------------------- * TimeMap * * @author Nick Rabinowitz (www.nickrabinowitz.com) * The TimeMap object is intended to sync a SIMILE Timeline with a Google Map. * Dependencies: Google Maps API v2, SIMILE Timeline v1.2 * Thanks to Jrn Clausen (http:/...
timemap.js
/*---------------------------------------------------------------------------- * TimeMap * * @author Nick Rabinowitz (www.nickrabinowitz.com) * The TimeMap object is intended to sync a SIMILE Timeline with a Google Map. * Dependencies: Google Maps API v2, SIMILE Timeline v1.2 * Thanks to Jrn Clausen (http:/...
typo fix
timemap.js
typo fix
<ide><path>imemap.js <ide> this._infoUrl = options['infoUrl'] || ''; <ide> this._maxInfoHtml = options['maxInfoHtml'] || ''; <ide> this._maxInfoUrl = options['maxInfoUrl'] || ''; <del> this._maxOnly = options['maxInfoUrl'] || false; <add> this._maxOnly = options['maxOnly'] || false; <ide>...
JavaScript
mit
0e73511fbf4f2ca2152704f0dcb52c710bfdd604
0
conveyal/datatools-manager,conveyal/datatools-manager,conveyal/datatools-manager,conveyal/datatools-manager
// @flow import Icon from '@conveyal/woonerf/components/icon' import moment from 'moment' import React, {Component} from 'react' import {Grid, Row, Col, ButtonToolbar, Button, FormControl, ControlLabel, FormGroup} from 'react-bootstrap' import DateTimeField from 'react-bootstrap-datetimepicker' import {browserHistory}...
lib/alerts/components/AlertEditor.js
// @flow import * as activeAlertActions from '../actions/activeAlert' import * as alertActions from '../actions/alerts' import type {Alert, Feed, GtfsRoute, GtfsStop, Project} from '../../types' import {Button, ButtonToolbar, Col, ControlLabel, FormControl, FormGroup, Grid, Row} from 'react-bootstrap' import {CAUSES,...
refactor(AlertEditor.js): Refactored, removed formatted IDE code #647
lib/alerts/components/AlertEditor.js
refactor(AlertEditor.js): Refactored, removed formatted IDE code
<ide><path>ib/alerts/components/AlertEditor.js <ide> // @flow <ide> <add>import Icon from '@conveyal/woonerf/components/icon' <add>import moment from 'moment' <add>import React, {Component} from 'react' <add>import {Grid, Row, Col, ButtonToolbar, Button, FormControl, ControlLabel, FormGroup} from 'react-bootstrap' <ad...
JavaScript
mit
7cef8dad848c5648c6b843e26ea683b9b1f4d43d
0
ljharb/javascript,LodoSoftware/javascript-style-guide,getjll/JavaScript-Style-Guide,xalexec/javascript,LodoSoftware/javascript-style-guide,cloudability/javascript-style-guide,bl00mber/javascript,airbnb/javascript
module.exports = { plugins: [ 'react', ], parserOptions: { ecmaFeatures: { jsx: true, }, }, ecmaFeatures: { jsx: true, }, // View link below for react rules documentation // https://github.com/yannickcr/eslint-plugin-react#list-of-supported-rules rules: { // Specify whether ...
packages/eslint-config-airbnb/rules/react.js
module.exports = { plugins: [ 'react', ], parserOptions: { ecmaFeatures: { jsx: true, }, }, ecmaFeatures: { jsx: true, }, // View link below for react rules documentation // https://github.com/yannickcr/eslint-plugin-react#list-of-supported-rules rules: { // Specify whether ...
[eslint config] [docs] add rule documentation to `forbid-elements` entry
packages/eslint-config-airbnb/rules/react.js
[eslint config] [docs] add rule documentation to `forbid-elements` entry
<ide><path>ackages/eslint-config-airbnb/rules/react.js <ide> // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/forbid-component-props.md <ide> 'react/forbid-component-props': ['off', { forbid: [] }], <ide> <add> // Forbid certain elements <add> // https://github.com/yannickcr/esl...
Java
apache-2.0
6289aa34449eaa30bb5f0691fe2ab8d1be7e6c77
0
AKSW/KBox,AKSW/KBox
package org.aksw.kbox.kibe; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.io.File; import java.net.MalformedURLException; import java.net.URL; import org.aksw.kbox.kibe.tdb.TDBTest; import org.aksw.kbox.kns.KBResolver; import org.aksw.kbox.kns.KN; import org.aksw...
kbox.kibe.test/src/test/java/org/aksw/kbox/kibe/KBoxTest.java
package org.aksw.kbox.kibe; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.io.File; import java.net.MalformedURLException; import java.net.URL; import org.aksw.kbox.kibe.tdb.TDBTest; import org.aksw.kbox.kns.KN; import org.aksw.kbox.kns.KNSSever; import org.junit....
- adding Resolver unit test
kbox.kibe.test/src/test/java/org/aksw/kbox/kibe/KBoxTest.java
- adding Resolver unit test
<ide><path>box.kibe.test/src/test/java/org/aksw/kbox/kibe/KBoxTest.java <ide> import java.net.URL; <ide> <ide> import org.aksw.kbox.kibe.tdb.TDBTest; <add>import org.aksw.kbox.kns.KBResolver; <ide> import org.aksw.kbox.kns.KN; <ide> import org.aksw.kbox.kns.KNSSever; <ide> import org.junit.Assert; <ide> <ide> @Test...
Java
apache-2.0
622c5893580135d682cf38a5e5e83aa49c346c77
0
rizafu/CoachMark
package io.github.rizafu.coachmark; import android.app.Activity; import android.content.Context; import android.content.res.Resources; import android.databinding.DataBindingUtil; import android.graphics.Color; import android.graphics.Rect; import android.support.annotation.IdRes; import android.support.annotation.IntD...
coachmark/src/main/java/io/github/rizafu/coachmark/CoachMark.java
package io.github.rizafu.coachmark; import android.app.Activity; import android.content.Context; import android.content.res.Resources; import android.databinding.DataBindingUtil; import android.graphics.Color; import android.graphics.Rect; import android.support.annotation.IdRes; import android.support.annotation.IntD...
Update pointer alignment constant
coachmark/src/main/java/io/github/rizafu/coachmark/CoachMark.java
Update pointer alignment constant
<ide><path>oachmark/src/main/java/io/github/rizafu/coachmark/CoachMark.java <ide> private FrameLayout container; <ide> <ide> private @TooltipAlignment int tooltipAlignment; <add> private @PointerTooltipAlignment int tooltipPointerAlignment; <ide> private int overlayPadding; <ide> private int backgro...
Java
lgpl-2.1
c020e1289ca0b0d512b9dd5999746d485a009f3f
0
RemiKoutcherawy/exist,jensopetersen/exist,windauer/exist,jessealama/exist,jensopetersen/exist,eXist-db/exist,olvidalo/exist,jensopetersen/exist,patczar/exist,shabanovd/exist,lcahlander/exist,wshager/exist,wshager/exist,joewiz/exist,RemiKoutcherawy/exist,hungerburg/exist,joewiz/exist,zwobit/exist,zwobit/exist,lcahlander...
/* * eXist Native XML Database * Copyright (C) 2001-06, Wolfgang M. Meier (wolfgang@exist-db.org) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public License * as published by the Free Software Foundation; either version 2 * of t...
src/org/exist/xquery/ElementConstructor.java
/* * eXist Native XML Database * Copyright (C) 2001-06, Wolfgang M. Meier (wolfgang@exist-db.org) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public License * as published by the Free Software Foundation; either version 2 * of t...
[bugfix] default namespace issue: when constructing an element with an explicit, empty namespace declaration, any existing default namespace declaration in the inherited context needs to be cleared. For example: <div xmlns="http://www.w3.org/1999/xhtml"> <users xmlns=""/> </div> Port of rev 10485 svn path=/trunk/...
src/org/exist/xquery/ElementConstructor.java
[bugfix] default namespace issue: when constructing an element with an explicit, empty namespace declaration, any existing default namespace declaration in the inherited context needs to be cleared. For example:
<ide><path>rc/org/exist/xquery/ElementConstructor.java <ide> context.declareInScopeNamespace(prefix, qn.getNamespaceURI()); <ide> builder.namespaceNode(new QName(prefix, qn.getNamespaceURI(), "xmlns")); <ide> } <add> } else if ((qn.getPrefix() == null |...
JavaScript
mit
9069b023b8494997cb61c56e649d7a34abb099d6
0
imsun/gh-feed,imsun/gh-feed
const app = require('koa')() const router = require('koa-router')() const request = require('co-request') const RSS = require('rss') const { DOMParser, XMLSerializer } = require('xmldom') const parser = new DOMParser({ errorHandler: {} }) const serlializer = new XMLSerializer() const HOST_URL = 'https://github.com' ...
index.js
const app = require('koa')() const router = require('koa-router')() const request = require('co-request') const RSS = require('rss') const { DOMParser, XMLSerializer } = require('xmldom') const parser = new DOMParser({ errorHandler: {} }) const serlializer = new XMLSerializer() const HOST_URL = 'https://github.com' ...
add feed avatar
index.js
add feed avatar
<ide><path>ndex.js <ide> generator: 'gh-feed', <ide> feed_url: this.url, <ide> site_url: src, <add> image_url: `${HOST_URL}/${owner}.png`, <ide> ttl: 60 <ide> }) <ide>
Java
lgpl-2.1
8c7594be51bc6053a30a111e8ac3c15acd280bce
0
ChestShop-authors/ChestShop-3,ChestShop-authors/ChestShop-3
package com.Acrobot.ChestShop.Listeners.Player; import com.Acrobot.Breeze.Utils.NameUtil; import com.Acrobot.ChestShop.ChestShop; import com.Acrobot.ChestShop.UUIDs.NameManager; import com.Acrobot.ChestShop.UUIDs.PlayerDTO; import org.bukkit.Bukkit; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPr...
src/main/java/com/Acrobot/ChestShop/Listeners/Player/PlayerConnect.java
package com.Acrobot.ChestShop.Listeners.Player; import com.Acrobot.Breeze.Utils.NameUtil; import com.Acrobot.ChestShop.ChestShop; import com.Acrobot.ChestShop.UUIDs.NameManager; import com.Acrobot.ChestShop.UUIDs.PlayerDTO; import org.bukkit.Bukkit; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPr...
Revert PlayerKick Behavior Partial revert of 'Do not let people with already used usernames connect to the server' commit. See comments here https://github.com/Acrobot/ChestShop-3/commit/b0369d8e69c9035c29756756a3794c5277001882#commitcomment-14185778 and here. https://github.com/Acrobot/ChestShop-3/commit/c169df...
src/main/java/com/Acrobot/ChestShop/Listeners/Player/PlayerConnect.java
Revert PlayerKick Behavior
<ide><path>rc/main/java/com/Acrobot/ChestShop/Listeners/Player/PlayerConnect.java <ide> String playerName = NameUtil.stripUsername(playerDTO.getName()); <ide> UUID uuid = NameManager.getUUID(playerName); <ide> <del> if (uuid != null && !playerDTO.getUniqueId().equals(uuid...
Java
apache-2.0
3842b9a085db28e3e471d24236a8325af9921444
0
apache/pdfbox,kalaspuffar/pdfbox,kalaspuffar/pdfbox,apache/pdfbox
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
examples/src/main/java/org/apache/pdfbox/examples/pdfa/CreatePDFA.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
PDFBOX-2621: enable xpacket serialization git-svn-id: c3ad59981690829a43dc34c293c4e2cd04bcd994@1653645 13f79535-47bb-0310-9956-ffa450edef68
examples/src/main/java/org/apache/pdfbox/examples/pdfa/CreatePDFA.java
PDFBOX-2621: enable xpacket serialization
<ide><path>xamples/src/main/java/org/apache/pdfbox/examples/pdfa/CreatePDFA.java <ide> pdfaid.setAboutAsSimple("PDFBox PDFA sample"); <ide> XmpSerializer serializer = new XmpSerializer(); <ide> ByteArrayOutputStream baos = new ByteArrayOutputStream(); <del> ...
Java
mit
a865a52562a7f29ff065e3c86e67013cf606f9d5
0
singh88/jenkins,aduprat/jenkins,ChrisA89/jenkins,aquarellian/jenkins,aquarellian/jenkins,daniel-beck/jenkins,msrb/jenkins,vvv444/jenkins,petermarcoen/jenkins,shahharsh/jenkins,viqueen/jenkins,NehemiahMi/jenkins,mdonohue/jenkins,arunsingh/jenkins,kohsuke/hudson,SenolOzer/jenkins,my7seven/jenkins,Jochen-A-Fuerbacher/jenk...
/* * The MIT License * * Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Stephen Connolly, CloudBees, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software witho...
core/src/main/java/hudson/Launcher.java
/* * The MIT License * * Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Stephen Connolly, CloudBees, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software witho...
[FIXED JENKINS-19454] - Added DecoratedLauncher implementation to the core. This launcher Allows subclasses to only implement methods they want to override. Originally, this launcher has been implemented in Custom Tools Plugin, but there are many duplicates in other plugins => it would be useful to have it in Jenkins c...
core/src/main/java/hudson/Launcher.java
[FIXED JENKINS-19454] - Added DecoratedLauncher implementation to the core. This launcher Allows subclasses to only implement methods they want to override. Originally, this launcher has been implemented in Custom Tools Plugin, but there are many duplicates in other plugins => it would be useful to have it in Jenkins c...
<ide><path>ore/src/main/java/hudson/Launcher.java <ide> } <ide> } <ide> } <add> <add> /** <add> * A launcher which delegates to a provided inner launcher. <add> * Allows subclasses to only implement methods they want to override. <add> * Originally, this launcher has been imp...
Java
mit
5c29bab6706c003408a05984bd55dceccc9305ed
0
UCDGeeks/RealEstate_System
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package models; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileOutputStream; im...
src/models/HouseFileNew.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package controller; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileOutputStream...
One correction on a model and JSON Java library added to the folder.
src/models/HouseFileNew.java
One correction on a model and JSON Java library added to the folder.
<ide><path>rc/models/HouseFileNew.java <ide> * To change this template file, choose Tools | Templates <ide> * and open the template in the editor. <ide> */ <del>package controller; <add>package models; <ide> <ide> import java.io.BufferedReader; <ide> import java.io.BufferedWriter;
Java
apache-2.0
b2d1cb13d3a8badedd02321eb115ad80b92a25b1
0
gxa/gxa,gxa/gxa,gxa/gxa,gxa/gxa,gxa/gxa
/* * Copyright 2008-2010 Microarray Informatics Team, EMBL-European Bioinformatics Institute * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * *...
atlas-dao/src/main/java/uk/ac/ebi/gxa/dao/AtlasDAO.java
/* * Copyright 2008-2010 Microarray Informatics Team, EMBL-European Bioinformatics Institute * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * *...
Copied changed from release-2.0.7 branch to exclude non-curated experiments from Solr and bit indexes
atlas-dao/src/main/java/uk/ac/ebi/gxa/dao/AtlasDAO.java
Copied changed from release-2.0.7 branch to exclude non-curated experiments from Solr and bit indexes
<ide><path>tlas-dao/src/main/java/uk/ac/ebi/gxa/dao/AtlasDAO.java <ide> <ide> /** <ide> * <del> * @return All public experiments <del> */ <del> public Collection<Experiment> getPublicExperiments() { <add> * @return All public curated experiments <add> */ <add> public Collection<Experimen...
JavaScript
mit
3ce6adff2d783474eabc0aaefdb46b70a5805e9b
0
huangshuwei/vue-easytable
import { mount } from "@vue/test-utils"; import veTable from "@/ve-table"; import { later } from "../util"; describe("veTable edit", () => { const TABLE_DATA = [ { name: "John", date: "1900-05-20", hobby: "coding and coding repeat", address: "No.1 Century Ave...
tests/unit/specs/ve-table-edit.spec.js
import { mount } from "@vue/test-utils"; import veTable from "@/ve-table"; import { later } from "../util"; describe("veTable edit", () => { const TABLE_DATA = [ { name: "John", date: "1900-05-20", hobby: "coding and coding repeat", address: "No.1 Century Ave...
Update ve-table-edit.spec.js
tests/unit/specs/ve-table-edit.spec.js
Update ve-table-edit.spec.js
<ide><path>ests/unit/specs/ve-table-edit.spec.js <ide> expect(firstCell.find(".ve-table-body-td-edit-input").exists()).toBe( <ide> false, <ide> ); <add> }); <add> <add> it("full row edit 存在bug", async () => { <add> const wrapper = mount(veTable, { <add> propsData: { <...
Java
apache-2.0
4cb24085811f7d11c4ac329a9ee97087c2123d95
0
j-a-w-r/jawr-main-repo,ic3fox/jawr,davidwebster48/jawr-main-repo,davidwebster48/jawr-main-repo,ic3fox/jawr,davidwebster48/jawr-main-repo,diorcety/jawr,ic3fox/jawr-main-repo,maximmold/jawr-main-repo,diorcety/jawr,j-a-w-r/jawr-main-repo,j-a-w-r/jawr-main-repo,maximmold/jawr-main-repo,ic3fox/jawr,ic3fox/jawr-main-repo,ic3...
/** * Copyright 2007-2012 Jordi Hernández Sellés, Ibrahim Chaehoi * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
jawr-core/src/main/java/net/jawr/web/servlet/JawrServlet.java
/** * Copyright 2007-2012 Jordi Hernández Sellés, Ibrahim Chaehoi * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
log non runtime exceptions in JawrServlet, such as NoClassDefFoundError, which may be thrown if rhino, lesscss or some other jars are missing in a project
jawr-core/src/main/java/net/jawr/web/servlet/JawrServlet.java
log non runtime exceptions in JawrServlet, such as NoClassDefFoundError, which may be thrown if rhino, lesscss or some other jars are missing in a project
<ide><path>awr-core/src/main/java/net/jawr/web/servlet/JawrServlet.java <ide> LOGGER.error(fatal, "Cause:"); <ide> LOGGER.error(fatal, e.getMessage(), e); <ide> throw e; <del> } catch (RuntimeException e) { <add> } catch (Throwable e) { <ide> Marker fatal = MarkerFactory.getMarker("FATAL"); <ide> LOGGE...
JavaScript
mit
244cedaea9aafbbd842ffff5b97f57b05f674ccd
0
ClinGen/clincoded,ClinGen/clincoded,ClinGen/clincoded,ClinGen/clincoded,ClinGen/clincoded
'use strict'; var React = require('react'); var url = require('url'); var _ = require('underscore'); var moment = require('moment'); var panel = require('../libs/bootstrap/panel'); var form = require('../libs/bootstrap/form'); var globals = require('./globals'); var curator = require('./curator'); var RestMixin = requi...
src/clincoded/static/components/provisional_curation.js
'use strict'; var React = require('react'); var url = require('url'); var _ = require('underscore'); var moment = require('moment'); var panel = require('../libs/bootstrap/panel'); var form = require('../libs/bootstrap/form'); var globals = require('./globals'); var curator = require('./curator'); var RestMixin = requi...
rounding of segregation points
src/clincoded/static/components/provisional_curation.js
rounding of segregation points
<ide><path>rc/clincoded/static/components/provisional_curation.js <ide> */ <ide> <ide> // calculate segregation counted points <add> segregationPoints = +parseFloat(segregationPoints).toFixed(2); <ide> if (segregationPoints >= 0.75 && segregationPoints <= 0.99) { <ide> segregationPointsCounted =...
Java
lgpl-2.1
ba39aff73fc2402e7c20986e131e5f2007d27ca4
0
viktorbahr/jaer,SensorsINI/jaer,viktorbahr/jaer,SensorsINI/jaer,SensorsINI/jaer,viktorbahr/jaer,SensorsINI/jaer,SensorsINI/jaer,viktorbahr/jaer,SensorsINI/jaer,viktorbahr/jaer,viktorbahr/jaer,SensorsINI/jaer,viktorbahr/jaer,SensorsINI/jaer
/* * CypressFX2Biasgen.java * * Created on December 1, 2005, 2:00 PM * * To change this template, choose Tools | Options and locate the template under * the Source Creation and Management node. Right-click the template and choose * Open. You can then make changes to the template in the Source Editor. */ packag...
src/net/sf/jaer/hardwareinterface/usb/cypressfx2/CypressFX2DVS128HardwareInterface.java
/* * CypressFX2Biasgen.java * * Created on December 1, 2005, 2:00 PM * * To change this template, choose Tools | Options and locate the template under * the Source Creation and Management node. Right-click the template and choose * Open. You can then make changes to the template in the Source Editor. */ packag...
uncommented timestamp reset which was commented for debugging new dvs128 board git-svn-id: e3d3b427d532171a6bd7557d8a4952a393b554a2@1128 b7f4320f-462c-0410-a916-d9f35bb82d52
src/net/sf/jaer/hardwareinterface/usb/cypressfx2/CypressFX2DVS128HardwareInterface.java
uncommented timestamp reset which was commented for debugging new dvs128 board
<ide><path>rc/net/sf/jaer/hardwareinterface/usb/cypressfx2/CypressFX2DVS128HardwareInterface.java <ide> <ide> //System.out.println("received wrap event, index:" + eventCounter + " wrapAdd: "+ wrapAdd); <ide> NumberOfWrapEvents++; <del> ...
JavaScript
apache-2.0
ea5234290d5ba525ee08b7029377204e795c5daa
0
westlywright/ui,rancher/ui,vincent99/ui,rancher/ui,rancherio/ui,rancher/ui,rancherio/ui,westlywright/ui,westlywright/ui,vincent99/ui,rancherio/ui,vincent99/ui
import { get, observer, set } from '@ember/object'; import Route from '@ember/routing/route'; import { cancel, next, schedule } from '@ember/runloop'; import { inject as service } from '@ember/service'; import C from 'ui/utils/constants'; export default Route.extend({ access: service(), cookies: service(), la...
app/application/route.js
import { cancel, next, schedule } from '@ember/runloop'; import { inject as service } from '@ember/service'; import Route from '@ember/routing/route'; import C from 'ui/utils/constants'; import { get, set, observer } from '@ember/object'; export default Route.extend({ access: service(), cookies: service(), la...
add back in comments
app/application/route.js
add back in comments
<ide><path>pp/application/route.js <add>import { get, observer, set } from '@ember/object'; <add>import Route from '@ember/routing/route'; <ide> import { cancel, next, schedule } from '@ember/runloop'; <ide> import { inject as service } from '@ember/service'; <del>import Route from '@ember/routing/route'; <ide> import ...
Java
apache-2.0
0341548da8968f659da396ea37e75ab6d72dc9be
0
MalharJenkins/incubator-apex-core,apache/incubator-apex-core,PramodSSImmaneni/incubator-apex-core,tushargosavi/incubator-apex-core,chinmaykolhatkar/incubator-apex-core,tweise/apex-core,devtagare/incubator-apex-core,vrozov/incubator-apex-core,deepak-narkhede/apex-core,tushargosavi/apex-core,brightchen/apex-core,PramodSS...
/** * Copyright (c) 2012-2012 Malhar, Inc. * All rights reserved. */ package com.malhartech.stram; import java.io.ByteArrayOutputStream; import java.net.InetSocketAddress; import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.u...
engine/src/main/java/com/malhartech/stram/StramChildAgent.java
/** * Copyright (c) 2012-2012 Malhar, Inc. * All rights reserved. */ package com.malhartech.stram; import java.io.ByteArrayOutputStream; import java.net.InetSocketAddress; import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.u...
debug
engine/src/main/java/com/malhartech/stram/StramChildAgent.java
debug
<ide><path>ngine/src/main/java/com/malhartech/stram/StramChildAgent.java <ide> stream.close(); <ide> } <ide> catch (Exception e) { <del> throw new RuntimeException("Failed to initialize " + operator + "(" + operator.getClass() + ")", e); <add> throw new RuntimeException("Failed to serialize and ...
Java
apache-2.0
4bc10269960026df015834c88757c4a60f814ddc
0
cfieber/clouddriver,ajordens/clouddriver,cfieber/clouddriver,duftler/clouddriver,ajordens/clouddriver,cfieber/clouddriver,duftler/clouddriver,ajordens/clouddriver,spinnaker/clouddriver,duftler/clouddriver,spinnaker/clouddriver,spinnaker/clouddriver,ajordens/clouddriver,duftler/clouddriver
/* * Copyright 2017 Google, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
clouddriver-kubernetes/src/main/groovy/com/netflix/spinnaker/clouddriver/kubernetes/v2/caching/view/provider/KubernetesCacheUtils.java
/* * Copyright 2017 Google, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
fix(provider/kubernetes): v2 guard against empty cache relationships (#1932)
clouddriver-kubernetes/src/main/groovy/com/netflix/spinnaker/clouddriver/kubernetes/v2/caching/view/provider/KubernetesCacheUtils.java
fix(provider/kubernetes): v2 guard against empty cache relationships (#1932)
<ide><path>louddriver-kubernetes/src/main/groovy/com/netflix/spinnaker/clouddriver/kubernetes/v2/caching/view/provider/KubernetesCacheUtils.java <ide> import java.util.Collection; <ide> import java.util.Collections; <ide> import java.util.List; <add>import java.util.Objects; <ide> import java.util.stream.Collectors; <i...
JavaScript
mit
80410c5f89ef5e949726e06a494a4559fb61fc5b
0
maxbbn/kissy-xtemplate,kissyteam/kissy-xtemplate,kissyteam/kissy-xtemplate
/** * * @author: 橘子<daxingplay@gmail.com> * @time: 12/18/13 18:08 * @description: */ var fs = require('fs'); var path = require('path'); var iconv = require('iconv-lite'); var jsBeautify = require('js-beautify').js_beautify; var mkdirp = require('mkdirp'); var pkgInfo = require('../package.json'); function XTemp...
lib/xtemplate.js
/** * * @author: 橘子<daxingplay@gmail.com> * @time: 12/18/13 18:08 * @description: */ var fs = require('fs'); var path = require('path'); var iconv = require('iconv-lite'); var jsBeautify = require('js-beautify').js_beautify; var mkdirp = require('mkdirp'); var pkgInfo = require('../package.json'); function XTemp...
add type support and default type is xtpl
lib/xtemplate.js
add type support and default type is xtpl
<ide><path>ib/xtemplate.js <ide> cfg = cfg || {}; <ide> var defVersion = '1.4.2'; <ide> cfg.version = cfg.version || defVersion; <add> cfg.type = cfg.type === 'tpl' ? 'tpl' : 'xtpl'; <ide> if(!fs.existsSync(path.resolve(__dirname, './xtemplate/', cfg.version))){ <ide> throw new Error('version...
JavaScript
apache-2.0
14fb4e6e6bfffedf28e518bb45875634e757435d
0
fhchina/ui,ninja/ui,fhchina/ui
/*! Ninja UI jQuery Plugin vdevelopment http://ninjaui.com/ Copyright 2008-2011 Jamie Hoover Licensed per the terms of the Apache License v2.0 http://ninjaui.com/license */ /*globals CFInstall: false*/ /*jshint bitwise: true, browser: true, curly: true, eqeqeq: true, forin: true, immed: true, indent: 2, jq...
src/ninjaui.js
/*! Ninja UI jQuery Plugin vdevelopment http://ninjaui.com/ Copyright 2008-2011 Jamie Hoover Licensed per the terms of the Apache License v2.0 http://ninjaui.com/license */ /*globals CFInstall: false*/ /*jshint bitwise: true, browser: true, curly: true, eqeqeq: true, forin: true, immed: true, indent: 2, jq...
Hint bug in iOS Keeps hint hidden after touching a button the second time.
src/ninjaui.js
Hint bug in iOS
<ide><path>rc/ninjaui.js <ide> $stem.find('g').css(options.css); <ide> } <ide> $object.bind({ <del> 'deselect.ninja focus.ninja mouseenter.ninja': function () { <add> 'focus.ninja mouseenter.ninja': function () { <ide> var offset = $object.offset(); <ide> ...
JavaScript
mit
d2f17624cdce1ccc26c6d8153fd3f95ca1204cc9
0
Step7750/ScheduleStorm,Step7750/ScheduleStorm
class Generator { constructor(classes) { // chosen classes this.classes = jQuery.extend(true, {}, classes); this.convertTimes(); this.addCourseInfo(); //console.log(this.classes); // Generates the schedules this.schedGen(); } /* Sp...
js/Generator.js
class Generator { constructor(classes) { // chosen classes this.classes = jQuery.extend(true, {}, classes); this.convertTimes(); this.addCourseInfo(); console.log(this.classes); // Generates the schedules this.schedGen(); } /* Spaw...
Heavily optimized the generator algorithm Removed the needless deep copying and replaced it with just undoing actions throughout the hierarchy. On some sample data, while generating ~9000 successful non-conflicting schedules, there was a performance increase of around 5x.
js/Generator.js
Heavily optimized the generator algorithm
<ide><path>s/Generator.js <ide> this.convertTimes(); <ide> this.addCourseInfo(); <ide> <del> console.log(this.classes); <add> //console.log(this.classes); <ide> <ide> // Generates the schedules <ide> this.schedGen(); <ide> for (var combos in this.combi...
Java
agpl-3.0
f6437ad15c5a3579a885105b004e01c512936934
0
XVManage/Panel,XVManage/Panel
package de.doridian.xvmanage; import de.doridian.xvmanage.models.VMNode; import org.json.simple.JSONObject; import org.json.simple.parser.JSONParser; import javax.net.ssl.SSLSocketFactory; import java.io.*; import java.net.Socket; public class XVMAPI { private static final String API_KEY = Configuration.getString("...
src/de/doridian/xvmanage/XVMAPI.java
package de.doridian.xvmanage; import de.doridian.xvmanage.models.VMNode; import org.json.simple.JSONObject; import org.json.simple.parser.JSONParser; import javax.crypto.Cipher; import javax.crypto.CipherInputStream; import javax.crypto.CipherOutputStream; import javax.crypto.spec.IvParameterSpec; import javax.crypto...
Strip the silly encryption from the panel
src/de/doridian/xvmanage/XVMAPI.java
Strip the silly encryption from the panel
<ide><path>rc/de/doridian/xvmanage/XVMAPI.java <ide> import org.json.simple.JSONObject; <ide> import org.json.simple.parser.JSONParser; <ide> <del>import javax.crypto.Cipher; <del>import javax.crypto.CipherInputStream; <del>import javax.crypto.CipherOutputStream; <del>import javax.crypto.spec.IvParameterSpec; <del>imp...
JavaScript
agpl-3.0
3a75dfbf7e42ba5534f32d32cb8c3fa296c69f3e
0
civicrm/org.civicrm.civicase,civicrm/org.civicrm.civicase,civicrm/org.civicrm.civicase
(function(angular, $, _) { // "civicaseActivityContactFilters" is a basic skeletal directive. // Example usage: <div civicase-activity-contact-filters="apiv3ActivityParams"></div> angular.module('civicase').directive('civicaseActivityContactFilters', function() { return { restrict: 'AE', replace: ...
ang/civicase/ActivityContactFilters.js
(function(angular, $, _) { // "civicaseActivityContactFilters" is a basic skeletal directive. // Example usage: <div civicase-activity-contact-filters="apiv3ActivityParams"></div> angular.module('civicase').directive('civicaseActivityContactFilters', function() { return { restrict: 'AE', replace: ...
CRM-20083 - "Delegated" - Defer to "Assignee Contact" filter if defined
ang/civicase/ActivityContactFilters.js
CRM-20083 - "Delegated" - Defer to "Assignee Contact" filter if defined
<ide><path>ng/civicase/ActivityContactFilters.js <ide> break; <ide> <ide> case 'delegated': <del> params.assignee_contact_id = {'!=': 'user_contact_id'}; <add> if (_.isEmpty(params.assignee_contact_id)) { <add> params.assignee_contact_id = {'!=': 'user...
Java
apache-2.0
8bc4821b45d7a7cf09d1ed3f93300eb8d3b9c065
0
brk3/glimmr,brk3/glimmr
package com.bourke.glimmr.activities; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentStatePagerAdapter; import android.support.v4.app.FragmentTransact...
src/com/bourke/glimmr/activities/PhotoViewerActivity.java
package com.bourke.glimmr.activities; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentStatePagerAdapter; import android.support.v4.app.FragmentTransact...
Fix actionbar not showing photo info on first page
src/com/bourke/glimmr/activities/PhotoViewerActivity.java
Fix actionbar not showing photo info on first page
<ide><path>rc/com/bourke/glimmr/activities/PhotoViewerActivity.java <ide> } <ide> mAdapter = <ide> new PhotoViewerPagerAdapter(getSupportFragmentManager()); <add> mAdapter.onPageSelected(startIndex); <ide> mPager = (ViewPagerDisable) findViewById(R.id.pager...
JavaScript
bsd-3-clause
f0dd5f9128e49cfee77c0455c2e3e8e71f8cdc92
0
toboid/hapi,camerow/hapi,credosam/hapi,Eric013/hapi,StudyForFun/hapi,elnaz/hapi,rmoorman/hapi,youprofit/hapi,DJMcK/hapi,toboid/hapi,SimonLab/hapi,Marsup/hapi,youprofit/hapi,udhayam/hapi,rmoorman/hapi,deepakshrma/hapi,analytically/hapi,pandeysoni/hapi,ldesplat/hapi,cesarmarinhorj/hapi,aulvi/hapi,zhoujia123/hapi,jrmce/ha...
// Load modules var Request = require('request'); var Utils = require('./utils'); var Boom = require('boom'); // Declare internals var internals = {}; // Create and configure server instance exports = module.exports = internals.Proxy = function (options, route) { Utils.assert(options, 'Missing options'); ...
lib/proxy.js
// Load modules var Request = require('request'); var Utils = require('./utils'); var Boom = require('boom'); // Declare internals var internals = {}; // Create and configure server instance exports = module.exports = internals.Proxy = function (options, route) { Utils.assert(options, 'Missing options'); ...
Cleanup
lib/proxy.js
Cleanup
<ide><path>ib/proxy.js <ide> uri: uri, <ide> method: request.method, <ide> headers: {}, <del> jar: false, <del> streams2: true <add> jar: false <ide> }; <ide> <ide> if (self.settings.passThrough) { ...
Java
apache-2.0
4181df0e2529d290e92a488ce438873828b061c9
0
ThiagoGarciaAlves/intellij-community,signed/intellij-community,semonte/intellij-community,semonte/intellij-community,asedunov/intellij-community,ibinti/intellij-community,ibinti/intellij-community,ibinti/intellij-community,xfournet/intellij-community,suncycheng/intellij-community,mglukhikh/intellij-community,da1z/intel...
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
platform/lang-impl/src/com/intellij/codeInsight/lookup/impl/LookupImpl.java
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
EA-92531 - SIOOBE: LookupImpl.getCaseCorrectedLookupString
platform/lang-impl/src/com/intellij/codeInsight/lookup/impl/LookupImpl.java
EA-92531 - SIOOBE: LookupImpl.getCaseCorrectedLookupString
<ide><path>latform/lang-impl/src/com/intellij/codeInsight/lookup/impl/LookupImpl.java <ide> if (!isLower && !isUpper) continue; <ide> isAllLower = isAllLower && isLower; <ide> isAllUpper = isAllUpper && isUpper; <del> sameCase = sameCase && isLower == Character.isLowerCase(lookupString.charAt(i))...
Java
apache-2.0
c0ae86e969b40688563fdd9196ad3071122ec466
0
Nanoware/Terasology,kartikey0303/Terasology,MovingBlocks/Terasology,Malanius/Terasology,Nanoware/Terasology,Nanoware/Terasology,kartikey0303/Terasology,Malanius/Terasology,MovingBlocks/Terasology,MovingBlocks/Terasology
/* * Copyright 2014 MovingBlocks * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
engine/src/main/java/org/terasology/rendering/logic/FloatingTextComponent.java
/* * Copyright 2014 MovingBlocks * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
Add isOccluded to FloatingTextComponent
engine/src/main/java/org/terasology/rendering/logic/FloatingTextComponent.java
Add isOccluded to FloatingTextComponent
<ide><path>ngine/src/main/java/org/terasology/rendering/logic/FloatingTextComponent.java <ide> public Color textColor = Color.WHITE; <ide> public Color textShadowColor = Color.BLACK; <ide> public float scale = 1f; <add> public boolean isOccluded; <ide> }
Java
bsd-3-clause
d9be215146532c6ccb57324b08343378be26fd7a
0
flutter/flutter-intellij,flutter/flutter-intellij,flutter/flutter-intellij,flutter/flutter-intellij,flutter/flutter-intellij
/* * Copyright 2017 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ package io.flutter.run.daemon; import com.google.common.base.Charsets; import com.google.gson.*; import com.intellij.execution.process.ProcessAdapt...
src/io/flutter/run/daemon/DaemonApi.java
/* * Copyright 2017 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ package io.flutter.run.daemon; import com.google.common.base.Charsets; import com.google.gson.*; import com.intellij.execution.process.ProcessAdapt...
add more details to logging output (#2526)
src/io/flutter/run/daemon/DaemonApi.java
add more details to logging output (#2526)
<ide><path>rc/io/flutter/run/daemon/DaemonApi.java <ide> <ide> final JsonElement error = obj.get("error"); <ide> if (error != null) { <del> cmd.completeExceptionally(new IOException("unexpected response: " + obj)); <add> cmd.completeExceptionally(new IOException("error from " + cmd.method + "...
Java
apache-2.0
51735f5fe010f6797ee93510bd5c7ef0689dcb5b
0
apache/jackrabbit-oak,trekawek/jackrabbit-oak,mreutegg/jackrabbit-oak,mreutegg/jackrabbit-oak,amit-jain/jackrabbit-oak,amit-jain/jackrabbit-oak,trekawek/jackrabbit-oak,anchela/jackrabbit-oak,mreutegg/jackrabbit-oak,apache/jackrabbit-oak,mreutegg/jackrabbit-oak,anchela/jackrabbit-oak,apache/jackrabbit-oak,anchela/jackra...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/rdb/RDBDocumentStore.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
OAK-1941 - remove system-property-based switch to disable cache updates from queries git-svn-id: 67138be12999c61558c3dd34328380c8e4523e73@1641406 13f79535-47bb-0310-9956-ffa450edef68
oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/rdb/RDBDocumentStore.java
OAK-1941 - remove system-property-based switch to disable cache updates from queries
<ide><path>ak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/rdb/RDBDocumentStore.java <ide> private static boolean NOGZIP = Boolean.getBoolean("org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentStore.NOGZIP"); <ide> // Number of documents to insert at once for batch create <ide> priv...
Java
apache-2.0
13d183ab4e5deef11ffc7148eb408278c0a97a5f
0
apache/kylin,apache/incubator-kylin,apache/kylin,apache/incubator-kylin,apache/kylin,apache/incubator-kylin,apache/kylin,apache/kylin,apache/kylin,apache/kylin,apache/incubator-kylin,apache/incubator-kylin,apache/incubator-kylin
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
server-base/src/main/java/org/apache/kylin/rest/controller/CubeController.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
KYLIN-3720 add column family check when save/update cube desc
server-base/src/main/java/org/apache/kylin/rest/controller/CubeController.java
KYLIN-3720 add column family check when save/update cube desc
<ide><path>erver-base/src/main/java/org/apache/kylin/rest/controller/CubeController.java <ide> import org.apache.kylin.cube.model.CubeBuildTypeEnum; <ide> import org.apache.kylin.cube.model.CubeDesc; <ide> import org.apache.kylin.cube.model.CubeJoinedFlatTableDesc; <add>import org.apache.kylin.cube.model.HBaseColumnDes...
Java
apache-2.0
8e44577aa7cd828d8c9f3f3e06425b28aeff0bdb
0
mohanaraosv/commons-pool,mohanaraosv/commons-pool,mohanaraosv/commons-pool
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
src/java/org/apache/commons/pool2/impl/GenericObjectPool.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Fix POOL-193. Make startEvictor(long) synchronized. Also aligns it with GKOP. git-svn-id: a66ef3f0e6c00b14098e182847b4bd646263fa09@1213739 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/commons/pool2/impl/GenericObjectPool.java
Fix POOL-193. Make startEvictor(long) synchronized. Also aligns it with GKOP.
<ide><path>rc/java/org/apache/commons/pool2/impl/GenericObjectPool.java <ide> * @param delay <ide> * milliseconds between evictor runs. <ide> */ <del> protected final void startEvictor(long delay) { <add> protected final synchronized void startEvictor(long delay) { <ide> if (null...
Java
mit
60beb8a192e81339fafd0bd8711cb201c0573703
0
kevinli194/cellsociety
package cellsociety_team16; import java.io.File; import java.io.IOException; import javax.xml.parsers.ParserConfigurationException; import org.xml.sax.SAXException; import parent.Cell; import parent.CellManager; import parent.FireCellManager; import javafx.animation.KeyFrame; import javafx.animation.Timeline; impor...
src/cellsociety_team16/CellViewer.java
package cellsociety_team16; import java.io.File; import java.io.IOException; import javax.xml.parsers.ParserConfigurationException; import org.xml.sax.SAXException; import parent.Cell; import parent.CellManager; import parent.FireCellManager; import javafx.animation.KeyFrame; import javafx.animation.Timeline; import j...
Added border for grid cells
src/cellsociety_team16/CellViewer.java
Added border for grid cells
<ide><path>rc/cellsociety_team16/CellViewer.java <ide> <ide> import java.io.File; <ide> import java.io.IOException; <add> <ide> import javax.xml.parsers.ParserConfigurationException; <add> <ide> import org.xml.sax.SAXException; <add> <ide> import parent.Cell; <ide> import parent.CellManager; <ide> import parent.FireCe...
Java
mit
dcb9fa24cd2a09639e32c095c77d2b0032cc0e44
0
DruidGreeneyes/rivet-core.java,DruidGreeneyes/rivet-core.java
package rivet.core.labels; import java.util.Arrays; import java.util.stream.IntStream; import java.util.stream.Stream; import rivet.core.exceptions.SizeMismatchException; import rivet.core.util.Pair; import rivet.core.vectorpermutations.Permutations; public class RIVs { public static RIV addRIVs(final RIV rivA,...
src/rivet/core/labels/RIVs.java
package rivet.core.labels; import java.util.Arrays; import java.util.stream.IntStream; import java.util.stream.Stream; import rivet.core.exceptions.SizeMismatchException; import rivet.core.util.Pair; import rivet.core.vectorpermutations.Permutations; public class RIVs { public static RIV addRIVs(final RIV rivA,...
add private constructor to RIVs
src/rivet/core/labels/RIVs.java
add private constructor to RIVs
<ide><path>rc/rivet/core/labels/RIVs.java <ide> return rivs.reduce(zeroValue, RIV::destructiveAdd); <ide> } <ide> <add> private RIVs() { <add> } <add> <ide> }
Java
artistic-2.0
7c63d2776da85a08cdd09f4a3d81eca77b768c53
0
metamolecular/opsin
package uk.ac.cam.ch.wwmm.opsin; import nu.xom.Attribute; import nu.xom.Element; import static uk.ac.cam.ch.wwmm.opsin.XmlDeclarations.*; /**A token in a chemical name. hex, yl, ane, chloro etc. * Stores information about the XML element that will be produced for the token. * * @author ptc24 * @author dl387 * *...
opsin-core/src/main/java/uk/ac/cam/ch/wwmm/opsin/Token.java
package uk.ac.cam.ch.wwmm.opsin; import nu.xom.Attribute; import nu.xom.Element; import static uk.ac.cam.ch.wwmm.opsin.XmlDeclarations.*; /**A token in a chemical name. hex, yl, ane, chloro etc. * Stores information about the XML element that will be produced for the token. * * @author ptc24 * @author dl387 * *...
Minor efficiency tweak
opsin-core/src/main/java/uk/ac/cam/ch/wwmm/opsin/Token.java
Minor efficiency tweak
<ide><path>psin-core/src/main/java/uk/ac/cam/ch/wwmm/opsin/Token.java <ide> */ <ide> Token(Element regexTokenElement) { <ide> elem = new Element(regexTokenElement.getAttributeValue("tagname")); <del> if (regexTokenElement.getAttribute("value")!=null){ <del> elem.addAttribute(new Attribute(VALUE_ATR, regexTokenE...
Java
apache-2.0
0964adba83aea602258b95b274780cde6f56e008
0
SeleniumHQ/fluent-selenium
package org.seleniumhq.selenium.fluent; import org.junit.Test; import org.openqa.selenium.*; import org.openqa.selenium.firefox.FirefoxDriver; import java.util.List; import static com.thoughtworks.selenium.SeleneseTestBase.assertEquals; import static junit.framework.TestCase.fail; import static org.hamcrest.CoreMatc...
java/src/test/java/org/seleniumhq/selenium/fluent/StaleRecoveringTest.java
package org.seleniumhq.selenium.fluent; import org.junit.Test; import org.openqa.selenium.*; import org.openqa.selenium.firefox.FirefoxDriver; import java.util.List; import static com.thoughtworks.selenium.SeleneseTestBase.assertEquals; import static junit.framework.TestCase.fail; import static org.hamcrest.CoreMatc...
make test clearer
java/src/test/java/org/seleniumhq/selenium/fluent/StaleRecoveringTest.java
make test clearer
<ide><path>ava/src/test/java/org/seleniumhq/selenium/fluent/StaleRecoveringTest.java <ide> FirstGetAttributeIsStaleDriver driver = new FirstGetAttributeIsStaleDriver(); <ide> <ide> driver.get("http://seleniumhq.github.io/fluent-selenium/7753/index.html"); <add> assertEquals(false, driver.staleEl...
Java
apache-2.0
d25e45eecf6513694038e4a713d5db997aeab116
0
mveitas/metrics,AltitudeDigital/metrics,gorzell/metrics,bentatham/metrics,fcrepo4-archive/metrics,gorzell/metrics,rexren/metrics,randomstatistic/metrics,thelastpickle/metrics,slachiewicz/metrics,chenxianghua2014/metrics,scullxbones/metrics-scala,maciej/metrics-scala,dropwizard/metrics,slovdahl/metrics,cirrus-dev/metric...
package com.yammer.metrics.core.tests; import com.yammer.metrics.core.*; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.mockito.InOrder; import java.util.SortedMap; import java.util.TreeMap; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit;...
metrics-core/src/test/java/com/yammer/metrics/core/tests/MetricsRegistryTest.java
package com.yammer.metrics.core.tests; import com.yammer.metrics.core.*; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.mockito.InOrder; import java.util.SortedMap; import java.util.TreeMap; import java.util.concurrent.TimeUnit; import static org.hamcrest.Matchers.is; import stati...
Added a test for executor shutdown.
metrics-core/src/test/java/com/yammer/metrics/core/tests/MetricsRegistryTest.java
Added a test for executor shutdown.
<ide><path>etrics-core/src/test/java/com/yammer/metrics/core/tests/MetricsRegistryTest.java <ide> <ide> import java.util.SortedMap; <ide> import java.util.TreeMap; <add>import java.util.concurrent.ScheduledExecutorService; <ide> import java.util.concurrent.TimeUnit; <ide> <ide> import static org.hamcrest.Matchers.is;...
JavaScript
mit
54c6f8f19412de1818ceeb5b414a89c0a7be4328
0
panates/sqb-serializer-oracle
/* sqb-serializer-oracle ------------------------ (c) 2017-present Panates SQB may be freely distributed under the MIT license. For details and documentation: https://panates.github.io/sqb-serializer-oracle/ */ const reservedWords = ['comment', 'dual']; class OracleSerializer { constructor() { } // noin...
lib/serializer.js
/* sqb-serializer-oracle ------------------------ (c) 2017-present Panates SQB may be freely distributed under the MIT license. For details and documentation: https://panates.github.io/sqb-serializer-oracle/ */ const reservedWords = ['comment', 'dual']; class OracleSerializer { constructor() { } // noin...
Implement "returning" for insert queries
lib/serializer.js
Implement "returning" for insert queries
<ide><path>ib/serializer.js <ide> 'to_date(' + s + ', \'yyyy-mm-dd hh24:mi:ss\')'; <ide> } <ide> <add> //noinspection JSUnusedGlobalSymbols,JSMethodCanBeStatic <add> /** <add> * @override <add> */ <add> serializeReturning(instance, bindings, inf) { <add> let s = instance.serializeReturning(bindings...
Java
apache-2.0
42df2055de7e0bdccfa251e38227d296334344aa
0
hortonworks/cloudbreak,sequenceiq/cloudbreak,sequenceiq/cloudbreak,hortonworks/cloudbreak,hortonworks/cloudbreak,hortonworks/cloudbreak,sequenceiq/cloudbreak,hortonworks/cloudbreak,sequenceiq/cloudbreak,hortonworks/cloudbreak,sequenceiq/cloudbreak
package com.sequenceiq.periscope.domain; import javax.persistence.DiscriminatorValue; import javax.persistence.Entity; import javax.persistence.EnumType; import javax.persistence.Enumerated; import javax.persistence.Transient; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.buil...
src/main/java/com/sequenceiq/periscope/domain/MetricAlarm.java
package com.sequenceiq.periscope.domain; import javax.persistence.DiscriminatorValue; import javax.persistence.Entity; import javax.persistence.EnumType; import javax.persistence.Enumerated; import javax.persistence.Transient; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.buil...
PERI-27 enumtype string added for entity
src/main/java/com/sequenceiq/periscope/domain/MetricAlarm.java
PERI-27 enumtype string added for entity
<ide><path>rc/main/java/com/sequenceiq/periscope/domain/MetricAlarm.java <ide> <ide> @Enumerated(EnumType.STRING) <ide> private Metric metric; <add> @Enumerated(EnumType.STRING) <ide> private ComparisonOperator comparisonOperator; <ide> private double threshold; <ide> private int period;
Java
agpl-3.0
580758ded45fc929d0b73d3a0d493d79211b8cc5
0
battlecode/battlecode-server,battlecode/battlecode-server
package battlecode.world; import java.util.ArrayList; import java.util.Set; import java.util.TreeSet; import battlecode.common.GameActionException; import battlecode.common.GameActionExceptionType; import battlecode.common.GameConstants; import battlecode.common.MapLocation; import battlecode.common.MovementType; imp...
src/main/battlecode/world/NeutralsMap.java
package battlecode.world; import java.util.ArrayList; import java.util.Set; import java.util.TreeSet; import battlecode.common.GameActionException; import battlecode.common.GameActionExceptionType; import battlecode.common.GameConstants; import battlecode.common.MapLocation; import battlecode.common.MovementType; imp...
Set cow growth to zero on VOID squares Right now, there are some maps that contain VOID squares with non-zero cow growth, such as siege.xml, even though cows do not grow on VOID squares. These maps cause RobotController.senseCowGrowth() to return an array that contains nonzero entries in those squares, even though th...
src/main/battlecode/world/NeutralsMap.java
Set cow growth to zero on VOID squares
<ide><path>rc/main/battlecode/world/NeutralsMap.java <ide> for (int j = 0; j < this.mapHeight; j++) { <ide> passable[i][j] = mapTiles[i][j] != TerrainTile.VOID; <ide> pastrID[i][j] = Integer.MAX_VALUE; <add> if (!passable[i][j]) { <add> this....
Java
mit
error: pathspec 'core/src/test/java/jenkins/ResilientJsonObjectTest.java' did not match any file(s) known to git
1b3eb0b9e7a3ee35d6c40d5e4460f4bb1f17e0e9
1
maikeffi/hudson,jcsirot/jenkins,tangkun75/jenkins,FTG-003/jenkins,yonglehou/jenkins,liupugong/jenkins,jcsirot/jenkins,vijayto/jenkins,everyonce/jenkins,shahharsh/jenkins,mrooney/jenkins,Jochen-A-Fuerbacher/jenkins,Krasnyanskiy/jenkins,duzifang/my-jenkins,github-api-test-org/jenkins,vjuranek/jenkins,dennisjlee/jenkins,V...
package jenkins; import net.sf.json.JSONObject; import org.junit.Test; import org.jvnet.hudson.test.Bug; /** * @author Kohsuke Kawaguchi */ public class ResilientJsonObjectTest { public static class Foo { int a; } /** * {@link JSONObject} databinding should be able to ignore non-existent fields. ...
core/src/test/java/jenkins/ResilientJsonObjectTest.java
added a test to check for regressions in JENKINS-15105.
core/src/test/java/jenkins/ResilientJsonObjectTest.java
added a test to check for regressions in JENKINS-15105.
<ide><path>ore/src/test/java/jenkins/ResilientJsonObjectTest.java <add>package jenkins; <add> <add>import net.sf.json.JSONObject; <add>import org.junit.Test; <add>import org.jvnet.hudson.test.Bug; <add> <add>/** <add> * @author Kohsuke Kawaguchi <add> */ <add>public class ResilientJsonObjectTest { <add> public stati...
Java
agpl-3.0
cdcd03241e30d37af41e0990949696fd3f020bd7
0
cinquin/mutinack,cinquin/mutinack,cinquin/mutinack,cinquin/mutinack,cinquin/mutinack
/** * Mutinack mutation detection program. * Copyright (C) 2014-2016 Olivier Cinquin * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, version 3. * * This program is distributed i...
src/uk/org/cinquin/mutinack/ExtendedSAMRecord.java
/** * Mutinack mutation detection program. * Copyright (C) 2014-2016 Olivier Cinquin * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, version 3. * * This program is distributed i...
Improve checkMate (add synchronization to avoid multiple simultaneous retrievals from file).
src/uk/org/cinquin/mutinack/ExtendedSAMRecord.java
Improve checkMate (add synchronization to avoid multiple simultaneous retrievals from file).
<ide><path>rc/uk/org/cinquin/mutinack/ExtendedSAMRecord.java <ide> return !record.getReadNegativeStrandFlag(); <ide> } <ide> <del> private ExtendedSAMRecord checkMate() { <del> if (mate == null) { <del> if (extSAMCache != null) <del> mate = extSAMCache.get(mateName); <del> if (mate == null && !triedRetrievi...
JavaScript
bsd-2-clause
c392544553a8994eebc6b2853a54321d9481211b
0
bobbybee/libastron-unity,bobbybee/libastron-unity
var fs = require('fs'); var DCFile = []; var classLookup = {}; var structLookup = {}; var fieldLookup = []; var reverseFieldLookup = {}; var classFields = {}; var tempDC = []; var index = 0; var line = ""; var lindex = -1; var typedefs = {}; var outside = false; function searchDC(dc, name){ var i = 0; ...
CSharpDCParser.js
var fs = require('fs'); var DCFile = []; var classLookup = {}; var structLookup = {}; var fieldLookup = []; var reverseFieldLookup = {}; var classFields = {}; var tempDC = []; var index = 0; var line = ""; var lindex = -1; var typedefs = {}; var outside = false; function searchDC(dc, name){ var i = 0; ...
Adds bare names to DC lookup table
CSharpDCParser.js
Adds bare names to DC lookup table
<ide><path>SharpDCParser.js <ide> <ide> var csfieldLookup = "public static string[][] fieldLookup = new string[][]{"; <ide> var csfieldModifierLookup = "public static string[][] fieldModifierLookup = new string[][]{" <add> var csfieldNameLookup = "public static string[] fieldNameLookup = new string[]{"; <ide> ...
Java
apache-2.0
af1332531c86e4a407c85b5ab42ca570ab466288
0
opensingular/singular-core,opensingular/singular-core,opensingular/singular-core,opensingular/singular-core
package br.net.mirante.singular.flow.core; import java.io.Serializable; import java.util.function.Supplier; /** * Reresenta uma referência a ProcessDefinition que pode ser serializada de modo * que não provoque um serialização de toda a definição. Posteriormente a ser * restaurada, recarrar a instância de ProcessD...
flow/core/src/main/java/br/net/mirante/singular/flow/core/RefProcessDefinition.java
package br.net.mirante.singular.flow.core; import java.io.Serializable; /** * Reresenta uma referência a ProcessDefinition que pode ser serializada de modo * que não provoque um serialização de toda a definição. Posteriormente a ser * restaurada, recarrar a instância de ProcessDefinition sob demanda. * * @author...
[FLOW-CORE] Removido método não utilizado
flow/core/src/main/java/br/net/mirante/singular/flow/core/RefProcessDefinition.java
[FLOW-CORE] Removido método não utilizado
<ide><path>low/core/src/main/java/br/net/mirante/singular/flow/core/RefProcessDefinition.java <ide> package br.net.mirante.singular.flow.core; <ide> <ide> import java.io.Serializable; <add>import java.util.function.Supplier; <ide> <ide> /** <ide> * Reresenta uma referência a ProcessDefinition que pode ser serializad...
Java
apache-2.0
bc483ac2e257b7b955efa4a74b429502306bc6a9
0
noemus/kotlin-eclipse,noemus/kotlin-eclipse
/******************************************************************************* * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
kotlin-eclipse-ui/src/org/jetbrains/kotlin/ui/editors/outline/PsiLabelProvider.java
/******************************************************************************* * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
KT-14095 Eclipse: Outline view could show implicit types too Change-Id: I158d7d44b8f1724f7fbffd4effcd1873747e2404 Signed-off-by: Simon Scholz <86b72c53dacfdb9bb67c3d9e46af6b59fbfd212f@vogella.com>
kotlin-eclipse-ui/src/org/jetbrains/kotlin/ui/editors/outline/PsiLabelProvider.java
KT-14095 Eclipse: Outline view could show implicit types too
<ide><path>otlin-eclipse-ui/src/org/jetbrains/kotlin/ui/editors/outline/PsiLabelProvider.java <ide> import org.eclipse.jdt.ui.JavaUI; <ide> import org.eclipse.jface.viewers.LabelProvider; <ide> import org.eclipse.swt.graphics.Image; <add>import org.jetbrains.kotlin.core.model.KotlinAnalysisFileCache; <add>import org.je...
Java
epl-1.0
223b56fa9d0e11d82e3b6d5cd6e291c792843e0b
0
jcryptool/crypto,ChristophSonnberger/crypto,tassadarius/crypto,kevinott/crypto,kevinott/crypto,jcryptool/crypto,ChristophSonnberger/crypto,tassadarius/crypto
package org.jcryptool.analysis.substitution.ui.modules; import org.eclipse.osgi.util.NLS; public class Messages extends NLS { private static final String BUNDLE_NAME = "org.jcryptool.analysis.substitution.ui.modules.messages"; //$NON-NLS-1$ public static String StatisticsSelector_0; public static String Statistics...
org.jcryptool.analysis.substitution/src/org/jcryptool/analysis/substitution/ui/modules/Messages.java
package org.jcryptool.analysis.substitution.ui.modules; import org.eclipse.osgi.util.NLS; public class Messages extends NLS { private static final String BUNDLE_NAME = "org.jcryptool.analysis.substitution.ui.modules.messages"; //$NON-NLS-1$ public static String StatisticsSelector_0; public static String Sta...
again, Git found some changes that I can't see -- thank goodness only in a single file this time
org.jcryptool.analysis.substitution/src/org/jcryptool/analysis/substitution/ui/modules/Messages.java
again, Git found some changes that I can't see -- thank goodness only in a single file this time
JavaScript
unlicense
94cc1000992b675e7852918f483255935399dae1
0
twolfson/esformatter-var-each
// Load in dependencies var rocambole = require('rocambole'); var rocamboleToken = require('rocambole-token'); // Define a helper for creating a generic token exports.createToken = function (options) { return { type: options.type, // e.g. Keyword, Whitespace value: options.value, // e.g. 'var', ' ' root: o...
lib/esformatter-var-each.js
// Load in dependencies var rocambole = require('rocambole'); var rocamboleToken = require('rocambole-token'); // Define a helper for creating a generic token exports.createToken = function (options) { return { type: options.type, // e.g. Keyword, Whitespace value: options.value, // e.g. 'var', ' ' root: o...
Making progress on script
lib/esformatter-var-each.js
Making progress on script
<ide><path>ib/esformatter-var-each.js <ide> var varDeclarationParentBodyIndex = varDeclarationParentNode.body.indexOf(varDeclaration); <ide> varDeclarationParentNode.body.splice(varDeclarationParentBodyIndex, 1, declarations); <ide> <del> // // Copy the token chains for our varDeclaration onto the current declara...
Java
apache-2.0
77e41923dfe0b76bf6b2a82dc30642748a333c19
0
naver/yobi,brainagenet/yobi,ChangsungKim/TestRepository01,ihoneymon/yobi,bloodybear/yona,brainagenet/yobi,yona-projects/yona,Limseunghwan/oss,doortts/fork-yobi,doortts/forked-for-history,ahb0327/yobi,ahb0327/yobi,oolso/yobi,bloodybear/yona,Limseunghwan/oss,doortts/forked-for-history,violetag/demo,ahb0327/yobi,yona-proj...
package utils; import java.util.Date; import org.joda.time.*; import org.joda.time.format.DateTimeFormat; import org.joda.time.format.DateTimeFormatter; public class JodaDateUtil { public static Date today() { return LocalDate.now().toDate(); } public static Date now() { return DateTime....
app/utils/JodaDateUtil.java
package utils; import java.util.Date; import org.joda.time.*; import org.joda.time.format.DateTimeFormat; import org.joda.time.format.DateTimeFormatter; public class JodaDateUtil { public static Date today() { return LocalDate.now().toDate(); } public static Date now() { return DateTime....
fix always show 'Just Now' in board
app/utils/JodaDateUtil.java
fix always show 'Just Now' in board
<ide><path>pp/utils/JodaDateUtil.java <ide> } <ide> <ide> public static Duration ago(DateTime time) { <del> return new Duration(DateTime.now(), time); <add> return new Duration(time, DateTime.now()); <ide> } <ide> <ide> public static Duration ago(Date time) { <del> return new ...
Java
apache-2.0
c6c85b3e1561c58d4f6fc8d89b5d49c88f259acc
0
cefolger/needsmoredojo,cefolger/needsmoredojo
package com.chrisfolger.needsmoredojo.core.amd.importing; import com.chrisfolger.needsmoredojo.core.amd.CompletionCallback; import com.chrisfolger.needsmoredojo.core.amd.define.DefineResolver; import com.chrisfolger.needsmoredojo.core.amd.define.DefineStatement; import com.chrisfolger.needsmoredojo.core.amd.naming.Nam...
src/com/chrisfolger/needsmoredojo/core/amd/importing/ImportCreator.java
package com.chrisfolger.needsmoredojo.core.amd.importing; import com.chrisfolger.needsmoredojo.core.amd.CompletionCallback; import com.chrisfolger.needsmoredojo.core.amd.define.DefineResolver; import com.chrisfolger.needsmoredojo.core.amd.define.DefineStatement; import com.chrisfolger.needsmoredojo.core.amd.naming.Nam...
fix npe when importing a define with mismatched number of literals and parameters. fixes #142
src/com/chrisfolger/needsmoredojo/core/amd/importing/ImportCreator.java
fix npe when importing a define with mismatched number of literals and parameters. fixes #142
<ide><path>rc/com/chrisfolger/needsmoredojo/core/amd/importing/ImportCreator.java <ide> JSUtil.addStatementBeforeElement(imports, imports.getLastChild(), String.format("'%s'", module), ""); <ide> } <ide> <del> JSUtil.addStatementBeforeElement(parameters, parameters.getLastChild()...
Java
mit
2c32e86ccd758f52cf4d762b8e04e0d36b5f6b9c
0
maxalthoff/intro-to-java-exercises
/* Write a program that displays a clock and sets the time with the input from three text fields. */ import javafx.application.Application; import javafx.stage.Stage; import javafx.scene.Scene; import javafx.scene.control.Label; import javafx.scene.control.TextField; import javafx.scene.layout.HBox; import javafx....
16/E16_07/E16_07.java
/* Write a program that displays a clock and sets the time with the input from three text fields. */ import javafx.application.Application; import javafx.stage.Stage; import javafx.scene.Scene; import javafx.scene.control.Label; import javafx.scene.control.TextField; import javafx.scene.layout.HBox; import javafx....
Center clockPane and controlPane in window and set the stage to not resizable
16/E16_07/E16_07.java
Center clockPane and controlPane in window and set the stage to not resizable
<ide><path>6/E16_07/E16_07.java <ide> @Override <ide> public void start(Stage primaryStage) { <ide> ClockPane clockPane = new ClockPane(); <add> clockPane.setMaxWidth(clockPane.getW()); <add> clockPane.setMaxHeight(clockPane.getH()); <ide> <ide> Label lbHour = new Label("Hour"); <ide> Label lbMin...
Java
mit
a854ed54b4675d2ad75f66f829fb38793183cc47
0
ancho85/edX-CTec001x-AndroidChat
package edu.galileo.android.androidchat; import com.firebase.client.AuthData; import com.firebase.client.Firebase; import java.util.Map; /** * Created by carlos.gomez on 07/06/2016. * login with google account carlos85honig@gmail.com at console.firebase.google.com * project is edx-ctec001x-androidchat */ public ...
app/src/main/java/edu/galileo/android/androidchat/FirebaseHelper.java
package edu.galileo.android.androidchat; import com.firebase.client.AuthData; import com.firebase.client.Firebase; import java.util.Map; /** * Created by carlos.gomez on 07/06/2016. * login with google account carlos85honig@gmail.com at console.firebase.google.com * project is edx-ctec001x-androidchat */ public ...
métodos para obtener referencia de usuario y en base a eso los contactos asociados
app/src/main/java/edu/galileo/android/androidchat/FirebaseHelper.java
métodos para obtener referencia de usuario y en base a eso los contactos asociados
<ide><path>pp/src/main/java/edu/galileo/android/androidchat/FirebaseHelper.java <ide> } <ide> return email; <ide> } <add> <add> public Firebase getUserReference(String email){ <add> Firebase userReference = null; <add> if (email != null){ <add> String emailKey = email.rep...
Java
apache-2.0
e162d059b6adb0a05098c491ab0a0e88d65611bf
0
google/truth,cgruber/truth,google/truth,google/truth,cgruber/truth
/* * Copyright (c) 2014 Google, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
core/src/main/java/com/google/common/truth/GuavaOptionalSubject.java
/* * Copyright (c) 2014 Google, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Add a note about Truth8 to GuavaOptionalSubject. RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=182789881
core/src/main/java/com/google/common/truth/GuavaOptionalSubject.java
Add a note about Truth8 to GuavaOptionalSubject.
<ide><path>ore/src/main/java/com/google/common/truth/GuavaOptionalSubject.java <ide> <ide> /** <ide> * Propositions for Guava {@link Optional} subjects. <add> * <add> * <p>If you are looking a {@code java.util.Optional} subject, please read <add> * <a href="http://google.github.io/truth/faq#java8">faq#java8</a> <ide>...
JavaScript
mit
01b620d040d9a73d4f0c021b5994ec4ad5abf50e
0
jourdanrodrigues/controk-frontend-web,jourdanrodrigues/controk-frontend-web
describe("The user", function() { it("should be able to open the list of clients", function() { browser.get(""); element(by.css(".navigation-link")).click(); // Open the modal element(by.css("a[ui-sref=clients]")).click(); // Click on the "clients" option expect(element.all(by.css("...
tests/clients-spec.js
describe("The user", function() { it("should be able to open the list of clients", function() { browser.get(""); element(by.css(".navigation-link")).click(); // Open the modal element(by.css("a[ui-sref=clients]")).click(); // Click on the "clients" option expect(element.all(by.css("...
Added test for create view.
tests/clients-spec.js
Added test for create view.
<ide><path>ests/clients-spec.js <ide> })).toBe(0); <ide> }); <ide> it("should be able to open the details of a client", function() { <del> browser.get(""); <add> browser.get("#/clients"); <ide> <del> element(by.css(".navigation-link")).click(); <del> element(by.css("a[ui-sre...
Java
apache-2.0
962d23c00c1306691244b776e466a6fc1f906b4f
0
MovingBlocks/Terasology,Malanius/Terasology,Nanoware/Terasology,Malanius/Terasology,Nanoware/Terasology,kartikey0303/Terasology,MovingBlocks/Terasology,MovingBlocks/Terasology,kartikey0303/Terasology,Nanoware/Terasology
/* * Copyright 2017 MovingBlocks * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
engine-tests/src/test/java/org/terasology/world/chunks/localChunkProvider/LocalChunkProviderTest.java
/* * Copyright 2017 MovingBlocks * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
Refactor tests
engine-tests/src/test/java/org/terasology/world/chunks/localChunkProvider/LocalChunkProviderTest.java
Refactor tests
<ide><path>ngine-tests/src/test/java/org/terasology/world/chunks/localChunkProvider/LocalChunkProviderTest.java <ide> @Test <ide> public void testCompleteUpdateGeneratesStoredEntities() throws Exception { <ide> final Chunk chunk = mockChunkAt(0, 0, 0); <del> final EntityStore entityStore = new En...
Java
mit
ba0ffd4c3682eb4f50a87a74440ea29253e28bb4
0
magx2/jSupla
package pl.grzeslowski.jsupla.server.netty; import io.netty.channel.ChannelHandler; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.SimpleChannelInboundHandler; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import pl.grzeslowski.jsupla.proto.structs.TSuplaDataPacket; import pl.grzeslo...
src/main/java/pl/grzeslowski/jsupla/server/netty/SuplaHandler.java
package pl.grzeslowski.jsupla.server.netty; import io.netty.channel.ChannelHandler; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.SimpleChannelInboundHandler; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import pl.grzeslowski.jsupla.proto.structs.TSuplaDataPacket; import pl.grzeslo...
Additional method for sending data packet
src/main/java/pl/grzeslowski/jsupla/server/netty/SuplaHandler.java
Additional method for sending data packet
<ide><path>rc/main/java/pl/grzeslowski/jsupla/server/netty/SuplaHandler.java <ide> @Override <ide> public void channelRead0(ChannelHandlerContext ctx, TSuplaDataPacket msg) throws Exception { <ide> logger.trace("Got {}", msg); <del> dispatcher.dispatch(msg).ifPresent(ctx::writeAndFlush); <add> ...
Java
apache-2.0
7a99532fe8b1cece9c308f1cb5fa28963837e577
0
mduerig/jackrabbit-oak,mduerig/jackrabbit-oak,mduerig/jackrabbit-oak,mduerig/jackrabbit-oak,mduerig/jackrabbit-oak
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
oak-segment-next/src/main/java/org/apache/jackrabbit/oak/segment/file/FileStore.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
OAK-3348: Cross gc sessions might introduce references to pre-compacted segments Updated Javadoc git-svn-id: 67138be12999c61558c3dd34328380c8e4523e73@1741252 13f79535-47bb-0310-9956-ffa450edef68
oak-segment-next/src/main/java/org/apache/jackrabbit/oak/segment/file/FileStore.java
OAK-3348: Cross gc sessions might introduce references to pre-compacted segments Updated Javadoc
<ide><path>ak-segment-next/src/main/java/org/apache/jackrabbit/oak/segment/file/FileStore.java <ide> } <ide> <ide> /** <del> * Runs garbage collection on the segment level, which could write new <del> * generations of tar files. It checks which segments are still reachable, <del> * and throws away ...
Java
apache-2.0
e2ed79ac9381896c28e33e96110dbbfaa80af60e
0
surya-janani/sakai,Fudan-University/sakai,buckett/sakai-gitflow,Fudan-University/sakai,clhedrick/sakai,whumph/sakai,rodriguezdevera/sakai,surya-janani/sakai,tl-its-umich-edu/sakai,frasese/sakai,pushyamig/sakai,liubo404/sakai,whumph/sakai,rodriguezdevera/sakai,Fudan-University/sakai,introp-software/sakai,introp-software...
/********************************************************************************** * $URL: https://source.sakaiproject.org/svn/search/trunk/search-impl/impl/src/java/org/sakaiproject/search/component/Messages.java $ * $Id: Messages.java 59685 2009-04-03 23:36:24Z arwhyte@umich.edu $ ********************************...
search/search-impl/impl/src/java/org/sakaiproject/search/entitybroker/SearchEntityProvider.java
/********************************************************************************** * $URL: https://source.sakaiproject.org/svn/search/trunk/search-impl/impl/src/java/org/sakaiproject/search/component/Messages.java $ * $Id: Messages.java 59685 2009-04-03 23:36:24Z arwhyte@umich.edu $ ********************************...
SRCH-117 Split the code in SearchEntityProvider and add documentation, patch from Colin Hebert git-svn-id: b4f6c67d3bb67018ac9204555d8d121f55b59527@124128 66ffb92e-73f9-0310-93c1-f5514f145a0a
search/search-impl/impl/src/java/org/sakaiproject/search/entitybroker/SearchEntityProvider.java
SRCH-117 Split the code in SearchEntityProvider and add documentation, patch from Colin Hebert
<ide><path>earch/search-impl/impl/src/java/org/sakaiproject/search/entitybroker/SearchEntityProvider.java <ide> <ide> package org.sakaiproject.search.entitybroker; <ide> <del>import java.util.List; <add>import org.sakaiproject.entitybroker.EntityReference; <add>import org.sakaiproject.entitybroker.EntityView; <add>im...
Java
apache-2.0
b7388d78071794dd3d6af26ae2d4e64813d13209
0
davidsusu/command-history-manager
package hu.webarticum.chm; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; import java.util.List; /** * The most simple history implementation which can store only a single command. */ public class SingleCommandHistory implements History { private Command command = nul...
command-history-manager/src/hu/webarticum/chm/SingleCommandHistory.java
package hu.webarticum.chm; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; import java.util.List; /** * The most simple history implementation which can store only a single command. */ public class SingleCommandHistory implements History { private Command command = nu...
Fix typo
command-history-manager/src/hu/webarticum/chm/SingleCommandHistory.java
Fix typo
<ide><path>ommand-history-manager/src/hu/webarticum/chm/SingleCommandHistory.java <ide> import java.util.List; <ide> <ide> /** <del> * The most simple history implementation which can store only a single command. <add> * The most simple history implementation which can store only a single command. <ide> */ <ide> <i...
Java
apache-2.0
8042cc870db31e33593b489b907bd50dbc18e823
0
qtproject/qtqa-gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,qtproject/qtqa-gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,qtproject/qtqa-gerrit,GerritCodeReview/gerrit,qtproject/qtqa-gerrit,qtproject/qtqa-gerrit,qtproject/qtqa-gerrit,GerritCodeReview/gerrit,GerritCodeReview/ger...
// Copyright (C) 2013 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
java/com/google/gerrit/pgm/init/BaseInit.java
// Copyright (C) 2013 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
BaseInit: Remove SchemaFactory Change-Id: Ie6303b85cf0d3286293f48b6489781bfd1ccf6aa
java/com/google/gerrit/pgm/init/BaseInit.java
BaseInit: Remove SchemaFactory
<ide><path>ava/com/google/gerrit/pgm/init/BaseInit.java <ide> import com.google.gerrit.pgm.init.index.elasticsearch.ElasticIndexModuleOnInit; <ide> import com.google.gerrit.pgm.init.index.lucene.LuceneIndexModuleOnInit; <ide> import com.google.gerrit.pgm.util.SiteProgram; <del>import com.google.gerrit.reviewdb.server.R...
Java
mit
d14f6277138edc60584547091dfbda413de16ca8
0
EasyPost/easypost-java
/** * EasyPostResource.java * This file is a part of EasyPost API SDK. * (c) 2022 EasyPost * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ package com.easypost.net; import com.easypost.EasyPost; import com.easypost.exception.EasyPost...
src/main/java/com/easypost/net/EasyPostResource.java
/** * EasyPostResource.java * This file is a part of EasyPost API SDK. * (c) 2022 EasyPost * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ package com.easypost.net; import com.easypost.EasyPost; import com.easypost.exception.EasyPost...
add Java version to the User-Agent in requests (#83)
src/main/java/com/easypost/net/EasyPostResource.java
add Java version to the User-Agent in requests (#83)
<ide><path>rc/main/java/com/easypost/net/EasyPostResource.java <ide> static Map<String, String> getHeaders(String apiKey) { <ide> Map<String, String> headers = new HashMap<String, String>(); <ide> headers.put("Accept-Charset", CHARSET); <del> headers.put("User-Agent", String.format("EasyPost/...
JavaScript
agpl-3.0
be4fb56732f000c07958a467fe9d4570b31a593e
0
ansuz/dnssb,ansuz/dnssb
var Pull = require("pull-stream"); var KVSet = require("kvset"); var Pad = require("pad-ipv6"); var Query = module.exports = {}; function compareRecordsBySerial(a, b) { return b.data.serial - a.data.serial; } function compareRecords(a, b) { return a.name > b.name ? 1 : a.name < b.name ? -1 : a.t...
lib/query.js
var Pull = require("pull-stream"); var KVSet = require("kvset"); var Pad = require("pad-ipv6"); var Query = module.exports = {}; function compareRecordsBySerial(a, b) { return b.data.serial - a.data.serial; } function compareRecords(a, b) { return a.name > b.name ? 1 : a.name < b.name ? -1 : a.t...
Serve only records with data
lib/query.js
Serve only records with data
<ide><path>ib/query.js <ide> var set = new KVSet(); <ide> return Pull.drain(function (record) { <ide> if (record.branch) set.remove(record.branch); <del> set.add(record.id, record); <add> if (record.data) set.add(record.id, record); <ide> }, function (err) { <ide> if (err) retu...
Java
apache-2.0
90e33b2700001f6f760663f9f15f1b2264f3a75d
0
jamesdbloom/mockserver,jamesdbloom/mockserver,jamesdbloom/mockserver,jamesdbloom/mockserver,jamesdbloom/mockserver
package org.mockserver.maven; import org.junit.After; import org.junit.Before; import org.junit.Ignore; import org.junit.Test; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockserver.client.proxy.ProxyClient; import org.mockserver.client.server.MockServerClient; import org.mockserver.mockserver....
mockserver-maven-plugin/src/test/java/org/mockserver/maven/InstanceHolderTest.java
package org.mockserver.maven; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockserver.client.proxy.ProxyClient; import org.mockserver.client.server.MockServerClient; import org.mockserver.mockserver.MockServer; import org.mo...
ignoring tests that are unreliable on build machine
mockserver-maven-plugin/src/test/java/org/mockserver/maven/InstanceHolderTest.java
ignoring tests that are unreliable on build machine
<ide><path>ockserver-maven-plugin/src/test/java/org/mockserver/maven/InstanceHolderTest.java <ide> <ide> import org.junit.After; <ide> import org.junit.Before; <add>import org.junit.Ignore; <ide> import org.junit.Test; <ide> import org.mockito.InjectMocks; <ide> import org.mockito.Mock; <ide> } <ide> <ide> @T...
Java
apache-2.0
eeea0e34ca8e5ca2666fc9787099765018dbeed9
0
ishan1604/Smack,unisontech/Smack,andrey42/Smack,magnetsystems/message-smack,Flowdalic/Smack,deeringc/Smack,igorexax3mal/Smack,kkroid/OnechatSmack,esl/Smack,annovanvliet/Smack,cjpx00008/Smack,ishan1604/Smack,lovely3x/Smack,Tibo-lg/Smack,vito-c/Smack,lovely3x/Smack,andrey42/Smack,deeringc/Smack,dpr-odoo/Smack,u20024804/S...
/** * * Copyright the original author or authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
smack-extensions/src/main/java/org/jivesoftware/smackx/bytestreams/socks5/Socks5BytestreamManager.java
/** * * Copyright the original author or authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
Add '::1' to the loopbackAddresses
smack-extensions/src/main/java/org/jivesoftware/smackx/bytestreams/socks5/Socks5BytestreamManager.java
Add '::1' to the loopbackAddresses
<ide><path>mack-extensions/src/main/java/org/jivesoftware/smackx/bytestreams/socks5/Socks5BytestreamManager.java <ide> List<StreamHost> streamHosts = new ArrayList<StreamHost>(); <ide> outerloop: for (String address : addresses) { <ide> // Prevent loopback addresses from appearing as streamh...
Java
apache-2.0
c6439710299ec3332245fc73755dc022b85af884
0
maxmind/minfraud-api-java,maxmind/minfraud-api-java
package com.maxmind.minfraud.response; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; /** * This class contains minFraud response data related to the credit card. */ public final class CreditCard { private final Issuer issuer; private final String ...
src/main/java/com/maxmind/minfraud/response/CreditCard.java
package com.maxmind.minfraud.response; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; /** * This class contains minFraud response data related to the credit card. */ public final class CreditCard { pr...
The response.CreditCard class does not use the JsonIgnore annotation
src/main/java/com/maxmind/minfraud/response/CreditCard.java
The response.CreditCard class does not use the JsonIgnore annotation
<ide><path>rc/main/java/com/maxmind/minfraud/response/CreditCard.java <ide> package com.maxmind.minfraud.response; <ide> <ide> import com.fasterxml.jackson.annotation.JsonCreator; <del>import com.fasterxml.jackson.annotation.JsonIgnore; <ide> import com.fasterxml.jackson.annotation.JsonProperty; <ide> <ide> /**
Java
apache-2.0
9fc25bd19eab385156be07cb81a4db03bf9a26a2
0
atomix/copycat,atomix/copycat
/* * Copyright 2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
client/src/main/java/io/atomix/copycat/client/session/ClientSessionManager.java
/* * Copyright 2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
Implement external timeouts for keep-alives.
client/src/main/java/io/atomix/copycat/client/session/ClientSessionManager.java
Implement external timeouts for keep-alives.
<ide><path>lient/src/main/java/io/atomix/copycat/client/session/ClientSessionManager.java <ide> .withEventIndex(state.getCompleteIndex()) <ide> .build(); <ide> <add> scheduleKeepAlive(); <add> <ide> state.getLogger().debug("{} - Sending {}", sessionId, request); <ide> connection.<KeepAliveReques...
Java
apache-2.0
b6cd6e76674461c081aaaa7080d09b88d3ee420b
0
Distrotech/intellij-community,samthor/intellij-community,petteyg/intellij-community,clumsy/intellij-community,nicolargo/intellij-community,allotria/intellij-community,alphafoobar/intellij-community,SerCeMan/intellij-community,fitermay/intellij-community,petteyg/intellij-community,semonte/intellij-community,muntasirsyed...
package com.jetbrains.python.console; import com.intellij.execution.ui.RunContentDescriptor; import com.intellij.openapi.project.Project; import com.intellij.openapi.ui.SimpleToolWindowPanel; import com.intellij.openapi.wm.ToolWindow; import com.intellij.openapi.wm.ToolWindowManager; import com.intellij.openapi.wm.ex....
python/src/com/jetbrains/python/console/PythonConsoleToolWindow.java
package com.jetbrains.python.console; import com.intellij.execution.ui.RunContentDescriptor; import com.intellij.openapi.project.Project; import com.intellij.openapi.ui.SimpleToolWindowPanel; import com.intellij.openapi.wm.ToolWindow; import com.intellij.openapi.wm.ToolWindowManager; import com.intellij.openapi.wm.ex....
Don't show tool window id label for Python console.
python/src/com/jetbrains/python/console/PythonConsoleToolWindow.java
Don't show tool window id label for Python console.
<ide><path>ython/src/com/jetbrains/python/console/PythonConsoleToolWindow.java <ide> import com.intellij.openapi.wm.ToolWindowManager; <ide> import com.intellij.openapi.wm.ex.ToolWindowManagerEx; <ide> import com.intellij.openapi.wm.ex.ToolWindowManagerListener; <add>import com.intellij.openapi.wm.impl.content.ToolWind...
Java
mit
c1bcf5132507b7de2c31e7e43bc19a8cb94542ed
0
qilei/mybatis-pagination,qilei/mybatis-pagination
package org.mybatis.pagination.service; import java.util.List; import javax.annotation.Resource; import com.google.common.collect.Lists; import org.junit.Test; import org.junit.runner.RunWith; import org.mybatis.pagination.domain.*; import org.mybatis.pagination.dto.PageMyBatis; import org.mybatis.pagination.dto.data...
src/test/java/org/mybatis/pagination/service/MapperTest.java
package org.mybatis.pagination.service; import java.util.List; import javax.annotation.Resource; import com.google.common.collect.Lists; import org.junit.Test; import org.junit.runner.RunWith; import org.mybatis.pagination.domain.*; import org.mybatis.pagination.dto.PageMyBatis; import org.mybatis.pagination.dto.data...
测试git remote
src/test/java/org/mybatis/pagination/service/MapperTest.java
测试git remote
<ide><path>rc/test/java/org/mybatis/pagination/service/MapperTest.java <ide> public void testPaginationMoreWhere() throws Exception { <ide> List<SearchField> searchFields = Lists.newArrayList(); <ide> // searchFields.add(new SearchField("name", false, false, "11")); <del> <ide> PagingCriteria...
Java
apache-2.0
370459e53584ca594296c27ee87b13c9e6280eec
0
sandeep-n/incubator-apex-malhar,chinmaykolhatkar/incubator-apex-malhar,patilvikram/apex-malhar,vrozov/incubator-apex-malhar,chandnisingh/apex-malhar,vrozov/incubator-apex-malhar,yogidevendra/incubator-apex-malhar,chinmaykolhatkar/apex-malhar,prasannapramod/apex-malhar,vrozov/incubator-apex-malhar,siyuanh/incubator-apex...
/* * Copyright (c) 2012 Malhar, Inc. * All Rights Reserved. */ package com.malhartech.lib.math; import com.malhartech.annotation.InputPortFieldAnnotation; import com.malhartech.annotation.OutputPortFieldAnnotation; import com.malhartech.api.DefaultInputPort; import com.malhartech.api.DefaultOutputPort; import com...
library/src/main/java/com/malhartech/lib/math/MarginKeyVal.java
/* * Copyright (c) 2012 Malhar, Inc. * All Rights Reserved. */ package com.malhartech.lib.math; import com.malhartech.annotation.InputPortFieldAnnotation; import com.malhartech.annotation.OutputPortFieldAnnotation; import com.malhartech.api.DefaultInputPort; import com.malhartech.api.DefaultOutputPort; import com...
use apache MutableDouble.
library/src/main/java/com/malhartech/lib/math/MarginKeyVal.java
use apache MutableDouble.
<ide><path>ibrary/src/main/java/com/malhartech/lib/math/MarginKeyVal.java <ide> import com.malhartech.api.StreamCodec; <ide> import com.malhartech.lib.util.BaseNumberKeyValueOperator; <ide> import com.malhartech.lib.util.KeyValPair; <del>import com.malhartech.lib.util.MutableDouble; <ide> import java.util.HashMap; <ide...
JavaScript
mit
7545095cf0160784a18b4d083e7bc0b2edd4616a
0
mui/mochaui,vagner2015/mochaui,vagner2015/mochaui,vagner2015/mochaui,mui/mochaui,mui/mochaui
/* ----------------------------------------------------------------- In this file: 1. Define windows var myWindow = function(){ new MochaUI.Window({ id: 'mywindow', title: 'My Window', loadMethod: 'xhr', contentURL: 'pages/lipsum.html', width: 340, height: 150 }); } 2. Buil...
mocha-ui/scripts/mocha-init.js
/* ----------------------------------------------------------------- In this file: 1. Define windows var myWindow = function(){ new MochaUI.Window({ id: 'mywindow', title: 'My Window', loadMethod: 'xhr', contentURL: 'pages/lipsum.html', width: 340, height: 150 }); } 2. Buil...
Work on a collapsible file tree.
mocha-ui/scripts/mocha-init.js
Work on a collapsible file tree.
<ide><path>ocha-ui/scripts/mocha-init.js <ide> initializeWindows(); <ide> <ide> <del> $$('li.folder').each(function(folder){ <del> var elements = folder.getChildren('ul'); <add> $$('li.folder').each(function(folder){ <add> var elements = folder.getChildren('ul'); <ide> var image = new Element('img...
Java
apache-2.0
error: pathspec 'src/com/valkryst/VTerminal/builder/component/ScreenBuilder.java' did not match any file(s) known to git
d2c5ab14f5d0c7f392f01b0b1c8c553efc452f42
1
Valkryst/VTerminal
package com.valkryst.VTerminal.builder.component; import com.valkryst.VRadio.Radio; import com.valkryst.VTerminal.component.Component; import com.valkryst.VTerminal.component.Layer; import com.valkryst.VTerminal.component.Screen; import com.valkryst.VTerminal.misc.JSONFunctions; import lombok.Getter; import lombok.Non...
src/com/valkryst/VTerminal/builder/component/ScreenBuilder.java
Initial commit.
src/com/valkryst/VTerminal/builder/component/ScreenBuilder.java
Initial commit.
<ide><path>rc/com/valkryst/VTerminal/builder/component/ScreenBuilder.java <add>package com.valkryst.VTerminal.builder.component; <add> <add>import com.valkryst.VRadio.Radio; <add>import com.valkryst.VTerminal.component.Component; <add>import com.valkryst.VTerminal.component.Layer; <add>import com.valkryst.VTerminal.com...
JavaScript
apache-2.0
458f94efa4616873efc9ff81d5c39a5ce0f37572
0
shopgate/theme-gmd
import { css } from 'glamor'; export default css({ ' h1, h2, h3, h4, h5, h6, p, ul, ol': { margin: '1rem 0', }, ' h1, h2, h3, h4, h5, h6': { fontWeight: 600, }, ' h1': { fontSize: '1.5rem', }, ' h2': { fontSize: '1.25rem', }, ' h3': { fontSize: '1.1rem', }, ' h4, h5, h6': { ...
widgets/Html/style.js
import { css } from 'glamor'; export default css({ ' img': { display: 'initial', }, // Clearfix for floated widget content ':after': { clear: 'both', content: '.', display: 'block', visibility: 'hidden', height: 0, }, }).toString();
PWA-499 - basic elements typography fixes for CMS pages
widgets/Html/style.js
PWA-499 - basic elements typography fixes for CMS pages
<ide><path>idgets/Html/style.js <ide> import { css } from 'glamor'; <ide> <ide> export default css({ <add> ' h1, h2, h3, h4, h5, h6, p, ul, ol': { <add> margin: '1rem 0', <add> }, <add> ' h1, h2, h3, h4, h5, h6': { <add> fontWeight: 600, <add> }, <add> ' h1': { <add> fontSize: '1.5rem', <add> }, <add> ...
Java
apache-2.0
0ba6f4c6eb843e6f698c62ba7be1fe1d69cb375e
0
DwayneJengSage/BridgePF,DwayneJengSage/BridgePF,DwayneJengSage/BridgePF,Sage-Bionetworks/BridgePF,alxdarksage/BridgePF,alxdarksage/BridgePF,Sage-Bionetworks/BridgePF,alxdarksage/BridgePF,Sage-Bionetworks/BridgePF
package org.sagebionetworks.bridge.validators; import java.util.List; import java.util.Set; import java.util.regex.Pattern; import java.util.regex.PatternSyntaxException; import org.apache.commons.lang3.StringUtils; import org.sagebionetworks.bridge.models.surveys.Constraints; import org.sagebionetworks.bridge.models...
app/org/sagebionetworks/bridge/validators/SurveyValidator.java
package org.sagebionetworks.bridge.validators; import java.util.List; import java.util.Set; import java.util.regex.Pattern; import java.util.regex.PatternSyntaxException; import org.apache.commons.lang3.StringUtils; import org.sagebionetworks.bridge.models.surveys.Constraints; import org.sagebionetworks.bridge.models...
Small change to prevent an NPE where there's an error earlier in the validation, such that you don't get all the validation messages back from the server.
app/org/sagebionetworks/bridge/validators/SurveyValidator.java
Small change to prevent an NPE where there's an error earlier in the validation, such that you don't get all the validation messages back from the server.
<ide><path>pp/org/sagebionetworks/bridge/validators/SurveyValidator.java <ide> if (StringUtils.isBlank(survey.getGuid())) { <ide> errors.reject("missing a GUID"); <ide> } <del> validateRules(errors, survey.getQuestions()); <del> <ide> for (int i=0; i < survey.getQuesti...
Java
apache-2.0
3765a143332e3989589dc5a789d4cfc4225c9266
0
allenprogram/guava,yanyongshan/guava,Kevin2030/guava,DavesMan/guava,kingland/guava,mosoft521/guava,dpursehouse/guava,DucQuang1/guava,tli2/guava,norru/guava,KengoTODA/guava-libraries,manolama/guava,kgislsompo/guava-libraries,mohanaraosv/guava,weihungliu/guava,janus-project/guava.janusproject.io,GabrielNicolasAvellaneda/...
/* * Copyright (C) 2011 The Guava Authors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
guava/src/com/google/common/hash/HashFunction.java
/* * Copyright (C) 2011 The Guava Authors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
Remove reference to UTF_16LE equivalence. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=42919674
guava/src/com/google/common/hash/HashFunction.java
Remove reference to UTF_16LE equivalence. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=42919674
<ide><path>uava/src/com/google/common/hash/HashFunction.java <ide> * Shortcut for {@code newHasher().putString(input).hash()}. The implementation <i>might</i> <ide> * perform better than its longhand equivalent, but should not perform worse. Note that no <ide> * character encoding is performed; the low byte an...
JavaScript
mit
d1ca75a9c9720c058ec0893b21711c30bfce8965
0
marko-js/marko,marko-js/marko
'use strict'; var ok = require('assert').ok; var path = require('path'); var taglibLookup = require('./taglib-lookup'); var charProps = require('char-props'); var deresolve = require('./util/deresolve'); var UniqueVars = require('./util/UniqueVars'); var PosInfo = require('./util/PosInfo'); var CompileError = require(...
compiler/CompileContext.js
'use strict'; var ok = require('assert').ok; var path = require('path'); var taglibLookup = require('./taglib-lookup'); var charProps = require('char-props'); var deresolve = require('./util/deresolve'); var UniqueVars = require('./util/UniqueVars'); var PosInfo = require('./util/PosInfo'); var CompileError = require(...
Marko v3: Wrap returned static variable name in an Identifier node
compiler/CompileContext.js
Marko v3: Wrap returned static variable name in an Identifier node
<ide><path>ompiler/CompileContext.js <ide> addStaticVar(name, init) { <ide> var actualVarName = this._uniqueVars.addVar(name, init); <ide> this._staticVars[actualVarName] = init; <del> return actualVarName; <add> return this.builder.identifier(actualVarName); <ide> } <ide> <ide> ...
Java
apache-2.0
78f6655d0fd3520f848584d12b56918a9d4ff5d6
0
inferred/FreeBuilder
/* * Copyright 2014 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
src/test/java/org/inferred/freebuilder/processor/OptionalPropertyTest.java
/* * Copyright 2014 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
Fix typos in OptionalPropertyTest
src/test/java/org/inferred/freebuilder/processor/OptionalPropertyTest.java
Fix typos in OptionalPropertyTest
<ide><path>rc/test/java/org/inferred/freebuilder/processor/OptionalPropertyTest.java <ide> public class OptionalPropertyTest { <ide> <ide> @SuppressWarnings("unchecked") <del> @Parameters(name = "Optional<{0}>, {1}, {2}") <add> @Parameters(name = "{0}<{1}>, {2}, {3}") <ide> public static Iterable<Object[]> param...
Java
apache-2.0
443110d626190898d04f0baab7dfa25e5d80745f
0
caojieliang/crud-jdbc
package com.landian.crud.jdbc.dao; import com.landian.crud.core.dao.ProxyDao; import com.landian.crud.core.dao.SQLPageUtils; import com.landian.crud.core.result.SingleValue; import org.apache.commons.collections.CollectionUtils; import org.apache.commons.collections.MapUtils; import org.springframework.beans.factory.a...
src/main/java/com/landian/crud/jdbc/dao/ProxyDaoJdbc.java
package com.landian.crud.jdbc.dao; import com.landian.crud.core.dao.ProxyDao; import com.landian.crud.core.dao.SQLPageUtils; import com.landian.crud.core.result.SingleValue; import org.apache.commons.collections.CollectionUtils; import org.apache.commons.collections.MapUtils; import org.springframework.beans.factory.a...
replace HashHap as Map
src/main/java/com/landian/crud/jdbc/dao/ProxyDaoJdbc.java
replace HashHap as Map
<ide><path>rc/main/java/com/landian/crud/jdbc/dao/ProxyDaoJdbc.java <ide> } <ide> <ide> @Override <del> public List<HashMap<String, Object>> doFind(String sql) { <add> public List<Map<String, Object>> doFind(String sql) { <ide> List<Map<String, Object>> dataMapList = jdbcTemplate.queryForList(sql...
Java
mit
85c30f04d61104e2760362439ef127f106afa26d
0
Fundynamic/dune2themaker4j,Fundynamic/dune2themaker4j
package com.fundynamic.d2tm; import com.fundynamic.d2tm.game.state.PlayingState; import com.fundynamic.d2tm.game.terrain.impl.DuneTerrainFactory; import com.fundynamic.d2tm.graphics.Shroud; import com.fundynamic.d2tm.graphics.Theme; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Image; import org.new...
src/main/java/com/fundynamic/d2tm/Game.java
package com.fundynamic.d2tm; import com.fundynamic.d2tm.game.state.PlayingState; import com.fundynamic.d2tm.game.terrain.impl.DuneTerrainFactory; import com.fundynamic.d2tm.graphics.Shroud; import com.fundynamic.d2tm.graphics.Theme; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Image; import org.new...
Fix choppy scrolling by allowing high framerates
src/main/java/com/fundynamic/d2tm/Game.java
Fix choppy scrolling by allowing high framerates
<ide><path>rc/main/java/com/fundynamic/d2tm/Game.java <ide> private static final int TILE_WIDTH = 32; <ide> private static final int TILE_HEIGHT = 32; <ide> <del> private static final int MIN_DELTA_BETWEEN_FRAMES = 10; <del> <ide> public Game(String title) { <ide> super(title); <ide> } <ide>...
JavaScript
mit
8650f4c896fddf873d182bb12beca60f7a13093d
0
codefordenver/fresh-food-connect,codefordenver/fresh-food-connect
var path = require('path'); var webpack = require('webpack'); var ExtractTextPlugin = require('extract-text-webpack-plugin'); var HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = { devtool: 'source-map', entry: { app: './lib/index.js' }, output: { filename: '[name].min.js', path...
webpack.config.production.js
var path = require('path'); var webpack = require('webpack'); var ExtractTextPlugin = require('extract-text-webpack-plugin'); var HtmlWebpackPlugin = require('html-webpack-plugin'); module.exports = { devtool: 'source-map', entry: { app: './lib/index.js' }, output: { filename: '[name].min.js', path...
Fix ability to build prod static files
webpack.config.production.js
Fix ability to build prod static files
<ide><path>ebpack.config.production.js <ide> ], <ide> module: { <ide> loaders: [ <add> { <add> test: /\.scss$/, <add> loader: 'style!css!sass' <add> }, <add> {test: /\.png$/, loader: "url-loader?mimetype=image/png"}, <ide> { test: /\.css$/, loader: ExtractTextPlugin.extract('s...
Java
apache-2.0
c94144ca14c7cb45c473f1d8a56a19bdfe05b7cc
0
web-education/mod-gridfs-persistor,web-education/mod-gridfs-persistor
/* * Copyright © WebServices pour l'Éducation, 2014 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
src/main/java/fr/wseduc/gridfs/GridFSPersistor.java
/* * Copyright © WebServices pour l'Éducation, 2014 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
Support replica set
src/main/java/fr/wseduc/gridfs/GridFSPersistor.java
Support replica set
<ide><path>rc/main/java/fr/wseduc/gridfs/GridFSPersistor.java <ide> import java.io.IOException; <ide> import java.io.UnsupportedEncodingException; <ide> import java.net.UnknownHostException; <add>import java.util.ArrayList; <ide> import java.util.List; <ide> import java.util.UUID; <ide> <add>import com.mongodb.*; <ide...
JavaScript
mit
755c5688c317bf865a30ddc925d8756ecd1c90ec
0
tleunen/react-mdl,tleunen/react-mdl
module.exports = { externals: { react: { root: 'React', commonjs2: 'react', commonjs: 'react', amd: 'react' }, 'react-dom': { root: 'ReactDOM', commonjs2: 'react-dom', commonjs: 'react-dom', amd: ...
webpack.config.js
module.exports = { externals: { react: 'React', 'react-dom': 'ReactDOM' }, devtool: 'sourcemap', module: { loaders: [ { test: /\.js$/, loader: 'babel-loader', exclude: /(node_modules)/ } ] } };
Fixed UMD output Expanded upon webpack externals config to differentiate between different output targets: * Import `react` and `react-dom` when using `require` * Import `React` and `ReactDOM` when using globals SEE: Dependency names wrong when using React MDL from script #298 SEE: ReactMDL.js bundle: "react" or "react...
webpack.config.js
Fixed UMD output Expanded upon webpack externals config to differentiate between different output targets: * Import `react` and `react-dom` when using `require` * Import `React` and `ReactDOM` when using globals SEE: Dependency names wrong when using React MDL from script #298 SEE: ReactMDL.js bundle: "react" or "react...
<ide><path>ebpack.config.js <ide> module.exports = { <ide> externals: { <del> react: 'React', <del> 'react-dom': 'ReactDOM' <add> react: { <add> root: 'React', <add> commonjs2: 'react', <add> commonjs: 'react', <add> amd: 'react' <add> }, <add>...
Java
apache-2.0
349477ed31b8d4993dca757981419feec341d014
0
TomRoss/activemq-artemis,jbertram/activemq-artemis,clebertsuconic/activemq-artemis,tabish121/activemq-artemis,rgodfrey/activemq-artemis,orpiske/activemq-artemis,clebertsuconic/activemq-artemis,kjniemi/activemq-artemis,apache/activemq-artemis,tabish121/activemq-artemis,apache/activemq-artemis,iweiss/activemq-artemis,iwe...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may n...
artemis-server/src/main/java/org/apache/activemq/artemis/core/management/impl/QueueControlImpl.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may n...
[ARTEMIS-2022] Ajust checkstyle
artemis-server/src/main/java/org/apache/activemq/artemis/core/management/impl/QueueControlImpl.java
[ARTEMIS-2022] Ajust checkstyle
<ide><path>rtemis-server/src/main/java/org/apache/activemq/artemis/core/management/impl/QueueControlImpl.java <ide> while (iterator.hasNext()) { <ide> MessageReference ref = iterator.next(); <ide> String messageProperty = ref.getMessage().getStringProperty(propertySear...
JavaScript
mit
012c1c1b38c2f224ffd32136bc443f25a353e692
0
hilongjw/vue-recyclerview
/*! * Vue-RecyclerView.js v0.3.7 * (c) 2017 Awe <hilongjw@gmail.com> * Released under the MIT License. */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.RecyclerView=e()}(this,function(){"use strict";function t(t){if(!t)return...
dist/vue-recyclerview.js
/*! * Vue-RecyclerView.js v0.3.6 * (c) 2017 Awe <hilongjw@gmail.com> * Released under the MIT License. */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.RecyclerView=e()}(this,function(){"use strict";function t(t){if(!t)return...
fix: reuse vm free
dist/vue-recyclerview.js
fix: reuse vm free
<ide><path>ist/vue-recyclerview.js <ide> /*! <del> * Vue-RecyclerView.js v0.3.6 <add> * Vue-RecyclerView.js v0.3.7 <ide> * (c) 2017 Awe <hilongjw@gmail.com> <ide> * Released under the MIT License. <ide> */ <del>!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof ...
Java
apache-2.0
222070a7c7c14eab0dfa1d1a343ebf5858bba6df
0
meringlab/stringdb-psicquic
/** * Copyright 2014 University of Zürich, SIB, and others. * <p> * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * wi...
src/main/java/org/string_db/DbFacade.java
/** * Copyright 2014 University of Zürich, SIB, and others. * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with t...
bugfix: use the official score_types column
src/main/java/org/string_db/DbFacade.java
bugfix: use the official score_types column
<ide><path>rc/main/java/org/string_db/DbFacade.java <ide> /** <ide> * Copyright 2014 University of Zürich, SIB, and others. <del> * <add> * <p> <ide> * Licensed to the Apache Software Foundation (ASF) under one <ide> * or more contributor license agreements. The ASF licenses this file <ide> * to you under the Apach...
JavaScript
mit
dea02a4a3222aae342403308989e7fdd8407ab99
0
m1ch3lp3r3z/symfony-tasks-manager-demo,m1ch3lp3r3z/symfony-tasks-manager-demo,m1ch3lp3r3z/symfony-tasks-manager-demo
define(function(require) { 'use strict'; var _ = require('underscore'), MainLayout = require('views/layout'); require('collections/task'); require('backbone.marionette'); // Define and initializes self only once var self; return Backbone.Marionette.AppRouter.extend({ ...
web/assets/js/src/routers/main.js
define(function(require) { 'use strict'; var _ = require('underscore'), MainLayout = require('views/layout'); require('collections/task'); require('backbone.marionette'); // Define and initializes self only once var self; return Backbone.Marionette.AppRouter.extend({ ...
Redirects to tasks view by default
web/assets/js/src/routers/main.js
Redirects to tasks view by default
<ide><path>eb/assets/js/src/routers/main.js <ide> }, <ide> <ide> showHome: function() { <del> if (this.currentView == null || !(this.currentView instanceof MainLayout)) { <del> this.currentView = new MainLayout(); <del> } <add> Backbone.history.navigate('...
Java
agpl-3.0
429e943a363d76c6a8953d2905c5ab33dee8f6bc
0
bisq-network/exchange,bisq-network/exchange,bitsquare/bitsquare,bitsquare/bitsquare
package bisq.apitest.method.payment; import bisq.core.api.model.PaymentAccountForm; import bisq.core.locale.FiatCurrency; import bisq.core.locale.Res; import bisq.core.locale.TradeCurrency; import bisq.core.payment.PaymentAccount; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson...
apitest/src/test/java/bisq/apitest/method/payment/AbstractPaymentAccountTest.java
package bisq.apitest.method.payment; import bisq.core.api.model.PaymentAccountForm; import bisq.core.locale.FiatCurrency; import bisq.core.locale.Res; import bisq.core.locale.TradeCurrency; import bisq.core.payment.PaymentAccount; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson...
Add TODO commment above placeholder for future swift test Resolves https://github.com/bisq-network/bisq/pull/5685#discussion_r710005619.
apitest/src/test/java/bisq/apitest/method/payment/AbstractPaymentAccountTest.java
Add TODO commment above placeholder for future swift test
<ide><path>pitest/src/test/java/bisq/apitest/method/payment/AbstractPaymentAccountTest.java <ide> Object.class); <ide> assertNotNull(emptyForm); <ide> <add> // TODO remove 'false' condition to enable creation of SWIFT accounts in future PR. <ide> if (false && paymentMethodId.equa...
Java
apache-2.0
d7aad455f4e7f12098ef53c08f6ff596201ca4ea
0
Kurento/kurento-java,EugenioFidel/kurento-java,EugenioFidel/kurento-java,Kurento/kurento-java,EugenioFidel/kurento-java,Kurento/kurento-java,EugenioFidel/kurento-java,Kurento/kurento-java
/* * (C) Copyright 2015 Kurento (http://kurento.org/) * * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser General Public License * (LGPL) version 2.1 which accompanies this distribution, and is available at * http://www.gnu.org/licenses/lgpl-...
kurento-integration-tests/kurento-test/src/main/java/org/kurento/test/services/KmsService.java
/* * (C) Copyright 2015 Kurento (http://kurento.org/) * * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser General Public License * (LGPL) version 2.1 which accompanies this distribution, and is available at * http://www.gnu.org/licenses/lgpl-...
[KmsService]Set stun port When kmsDnat && seleniumDnat && RELAY == seleniumCandidateType && SRFLX == kmsCandidateType Change-Id: I5938a5551e5180f083dfe01584e135785520ffe0
kurento-integration-tests/kurento-test/src/main/java/org/kurento/test/services/KmsService.java
[KmsService]Set stun port
<ide><path>urento-integration-tests/kurento-test/src/main/java/org/kurento/test/services/KmsService.java <ide> && SRFLX.toString().toUpperCase().equals(kmsCandidateType)) { <ide> // Change kmsStunIp by turn values <ide> kmsStunIp = getProperty(TEST_ICE_SERVER_URL_PROPERTY).split(":")[1]; <add> ...
Java
mit
1ef5390e0e33f5ecd3b09f1664c374a2d838ff32
0
nh13/picard,annkupi/picard,alecw/picard,broadinstitute/picard,nh13/picard,alecw/picard,annkupi/picard,alecw/picard,broadinstitute/picard,broadinstitute/picard,broadinstitute/picard,nh13/picard,nh13/picard,broadinstitute/picard,alecw/picard,annkupi/picard,annkupi/picard
package net.sf.picard.sam; import net.sf.picard.cmdline.CommandLineProgram; import net.sf.picard.cmdline.Option; import net.sf.picard.cmdline.StandardOptionDefinitions; import net.sf.picard.cmdline.Usage; import net.sf.picard.io.IoUtil; import net.sf.picard.util.Log; import net.sf.samtools.SAMFileReader; import net.sf...
src/java/net/sf/picard/sam/DownsampleSam.java
package net.sf.picard.sam; import net.sf.picard.cmdline.CommandLineProgram; import net.sf.picard.cmdline.Option; import net.sf.picard.cmdline.StandardOptionDefinitions; import net.sf.picard.cmdline.Usage; import net.sf.picard.io.IoUtil; import net.sf.picard.util.Log; import net.sf.samtools.SAMFileReader; import net.sf...
Improve option doc.
src/java/net/sf/picard/sam/DownsampleSam.java
Improve option doc.
<ide><path>rc/java/net/sf/picard/sam/DownsampleSam.java <ide> @Option(shortName=StandardOptionDefinitions.OUTPUT_SHORT_NAME, doc="The output, downsampled, SAM or BAM file to write.") <ide> public File OUTPUT; <ide> <del> @Option(shortName="R", doc="Random seed to use if reproducibilty is desired.") <add> ...
Java
lgpl-2.1
98b2b79f98cbfb63479e3ee22627019baf60f1fe
0
alienth/opentsdb,OpenTSDB/opentsdb,MadDogTechnology/opentsdb,OpenTSDB/opentsdb,OpenTSDB/opentsdb,MadDogTechnology/opentsdb,alienth/opentsdb,MadDogTechnology/opentsdb
// This file is part of OpenTSDB. // Copyright (C) 2013 The OpenTSDB Authors. // // This program is free software: you can redistribute it and/or modify it // under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 2.1 of the License, or (at your // opti...
src/tsd/UniqueIdRpc.java
// This file is part of OpenTSDB. // Copyright (C) 2013 The OpenTSDB Authors. // // This program is free software: you can redistribute it and/or modify it // under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 2.1 of the License, or (at your // opti...
Fix #642 by sorting the tags properly on the bytes, NOT the string values. Sheesh. Thanks @wuxuehong214 Signed-off-by: Chris Larsen <83037b211e1d109d6858769a113e269c3139ffd3@yahoo-inc.com>
src/tsd/UniqueIdRpc.java
Fix #642 by sorting the tags properly on the bytes, NOT the string values. Sheesh. Thanks @wuxuehong214
<ide><path>rc/tsd/UniqueIdRpc.java <ide> import java.util.TreeMap; <ide> <ide> import org.hbase.async.Bytes; <add>import org.hbase.async.Bytes.ByteMap; <ide> import org.hbase.async.PutRequest; <ide> import org.jboss.netty.handler.codec.http.HttpMethod; <ide> import org.jboss.netty.handler.codec.http.HttpResponseStatus...
Java
lgpl-2.1
39680c9e258cd0b26bf59bdf62dafc2b7385714b
0
samskivert/samskivert,samskivert/samskivert
// // $Id: DispatcherServlet.java,v 1.2 2001/10/31 09:45:23 mdb Exp $ // // samskivert library - useful routines for java programs // Copyright (C) 2001 Michael Bayne // // This library is free software; you can redistribute it and/or modify it // under the terms of the GNU Lesser General Public License as published /...
projects/samskivert/src/java/com/samskivert/velocity/DispatcherServlet.java
// // $Id: DispatcherServlet.java,v 1.1 2001/10/31 09:44:22 mdb Exp $ // // samskivert library - useful routines for java programs // Copyright (C) 2001 Michael Bayne // // This library is free software; you can redistribute it and/or modify it // under the terms of the GNU Lesser General Public License as published /...
Needed a FriendlyException import. git-svn-id: 64ebf368729f38804935acb7146e017e0f909c6b@398 6335cc39-0255-0410-8fd6-9bcaacd3b74c
projects/samskivert/src/java/com/samskivert/velocity/DispatcherServlet.java
Needed a FriendlyException import.
<ide><path>rojects/samskivert/src/java/com/samskivert/velocity/DispatcherServlet.java <ide> // <del>// $Id: DispatcherServlet.java,v 1.1 2001/10/31 09:44:22 mdb Exp $ <add>// $Id: DispatcherServlet.java,v 1.2 2001/10/31 09:45:23 mdb Exp $ <ide> // <ide> // samskivert library - useful routines for java programs <ide> //...
Java
mit
7081309e4b5d5a69e39c5b5d179fd7cdfe53f77a
0
CS2103AUG2016-W14-C1/main
package seedu.manager.logic.commands; import java.util.Set; import seedu.manager.model.activity.AMDate; /** * Finds and lists all persons in address book whose name contains any of the argument keywords. * Keyword matching is case sensitive. */ public class SearchCommand extends Command { public static final ...
src/main/java/seedu/manager/logic/commands/SearchCommand.java
package seedu.manager.logic.commands; import java.util.Set; import seedu.manager.model.activity.AMDate; /** * Finds and lists all persons in address book whose name contains any of the argument keywords. * Keyword matching is case sensitive. */ public class SearchCommand extends Command { public static final ...
Added search by status
src/main/java/seedu/manager/logic/commands/SearchCommand.java
Added search by status
<ide><path>rc/main/java/seedu/manager/logic/commands/SearchCommand.java <ide> private final Set<String> keywords; <ide> private AMDate dateTime; <ide> private AMDate endDateTime; <add> private String status; <ide> <ide> public SearchCommand(Set<String> keywords) { <ide> this.keywords = keywo...
Java
mit
ae30be551fcd511f12a6f192b4ea67a40c766f18
0
jifalops/wsnlocalize
package com.jifalops.wsnlocalize.file; import android.os.Build; import android.os.Handler; import android.os.HandlerThread; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOEx...
app/src/main/java/com/jifalops/wsnlocalize/file/TextReaderWriter.java
package com.jifalops.wsnlocalize.file; import android.os.Build; import android.os.Handler; import android.os.HandlerThread; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOEx...
Flush writer after write
app/src/main/java/com/jifalops/wsnlocalize/file/TextReaderWriter.java
Flush writer after write
<ide><path>pp/src/main/java/com/jifalops/wsnlocalize/file/TextReaderWriter.java <ide> w.newLine(); <ide> ++count; <ide> } <add> w.flush(); <ide> } catch (FileNotFoundException e) { <ide> // ignored...
Java
bsd-3-clause
7215e5edb00ec15f1fa1f0e57b8db994418e18f4
0
NCIP/cananolab,NCIP/cananolab,NCIP/cananolab
package gov.nih.nci.cananolab.restful.view.edit; import gov.nih.nci.cananolab.domain.common.Keyword; import gov.nih.nci.cananolab.domain.common.PointOfContact; import gov.nih.nci.cananolab.dto.common.AccessibilityBean; import gov.nih.nci.cananolab.dto.common.DataReviewStatusBean; import gov.nih.nci.cananolab.dto...
software/cananolab-webapp/src/gov/nih/nci/cananolab/restful/view/edit/SampleEditGeneralBean.java
package gov.nih.nci.cananolab.restful.view.edit; import gov.nih.nci.cananolab.domain.common.Keyword; import gov.nih.nci.cananolab.domain.common.PointOfContact; import gov.nih.nci.cananolab.dto.common.AccessibilityBean; import gov.nih.nci.cananolab.dto.common.DataReviewStatusBean; import gov.nih.nci.cananolab.dto...
Added theAccess
software/cananolab-webapp/src/gov/nih/nci/cananolab/restful/view/edit/SampleEditGeneralBean.java
Added theAccess
<ide><path>oftware/cananolab-webapp/src/gov/nih/nci/cananolab/restful/view/edit/SampleEditGeneralBean.java <ide> List<String> keywords = new ArrayList<String>(); <ide> Map<String, List<SimpleAccessBean>> accessToSample; <ide> <add> List<AccessibilityBean> groupAccesses;// = new ArrayList<AccessibilityBean>(); <add>...
Java
apache-2.0
801eb60caf59f2af13fcc7edceb00787840716f6
0
peterholc/avro,eonezhang/avro,wojtkiewicz/avro,cloudera/avro,Romain-Geissler-1A/avro,eonezhang/avro,ecatmur/avro,RallySoftware/avro,eonezhang/avro,Yelp/avro,relateiq/avro,st0nx/avro,pwendell/Avro,st0nx/avro,relateiq/avro,jmattbeal/avro,apache/avro,ntent-ad/avro,DrAA/avro,cloudera/avro,bitbouncer/avro,Romain-Geissler-1A...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
lang/java/src/test/java/org/apache/avro/TestSchema.java
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
AVRO-206. Improved checks for schema parsing. Contributed by Pat Hunt. git-svn-id: 4501c95bbfd3a21325bd627231304976a200aade@898971 13f79535-47bb-0310-9956-ffa450edef68
lang/java/src/test/java/org/apache/avro/TestSchema.java
AVRO-206. Improved checks for schema parsing. Contributed by Pat Hunt.
<ide><path>ang/java/src/test/java/org/apache/avro/TestSchema.java <ide> import java.nio.ByteBuffer; <ide> import java.util.HashMap; <ide> <add>import org.apache.avro.Schema.Type; <ide> import org.apache.avro.generic.GenericArray; <ide> import org.apache.avro.generic.GenericData; <ide> import org.apache.avro.generic.Ge...
Java
bsd-3-clause
fe620703d5f91e472dec6c26940d46ea8a6377ac
0
NCIP/cacore-sdk,NCIP/cacore-sdk,NCIP/cacore-sdk,NCIP/cacore-sdk,NCIP/cacore-sdk,NCIP/cacore-sdk,NCIP/cacore-sdk
package gov.nih.nci.codegen.util; import gov.nih.nci.codegen.GenerationException; import gov.nih.nci.codegen.validator.ValidatorAttribute; import gov.nih.nci.codegen.validator.ValidatorClass; import gov.nih.nci.codegen.validator.ValidatorModel; import gov.nih.nci.ncicb.xmiinout.domain.UMLAssociation; import gov...
sdk-toolkit/software/modules/codegen/src/gov/nih/nci/codegen/util/TransformerUtils.java
package gov.nih.nci.codegen.util; import gov.nih.nci.codegen.GenerationException; import gov.nih.nci.codegen.validator.ValidatorAttribute; import gov.nih.nci.codegen.validator.ValidatorClass; import gov.nih.nci.codegen.validator.ValidatorModel; import gov.nih.nci.ncicb.xmiinout.domain.UMLAssociation; import gov...
JAXB implementation - Added getJaxbXmlRootElementAnnotation() method SVN-Revision: 634
sdk-toolkit/software/modules/codegen/src/gov/nih/nci/codegen/util/TransformerUtils.java
JAXB implementation - Added getJaxbXmlRootElementAnnotation() method
<ide><path>dk-toolkit/software/modules/codegen/src/gov/nih/nci/codegen/util/TransformerUtils.java <ide> } <ide> <ide> /** <del> * Determines whether the input class is a superclass <add> * Determines whether the input class is missing a table mapping <ide> * @param klass <ide> * @return <ide> */ <ide> <ide...
Java
mit
118aff257518655dc40f5aa234b7fdd28671519c
0
spoluyan/book2speech
package pw.spn.book2speech.service; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.nio.file.Files; import java.nio.file.Path; import java.util.ArrayList; import java.util.List; import java.util.concurrent.atomic.AtomicInteger; import java.util.stream.IntStream; import com.ama...
src/main/java/pw/spn/book2speech/service/IvonaAPIClient.java
package pw.spn.book2speech.service; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.nio.file.Files; import java.nio.file.Path; import java.util.ArrayList; import java.util.List; import java.util.concurrent.atomic.AtomicInteger; import java.util.stream.IntStream; import com.ama...
Change text limit calculation
src/main/java/pw/spn/book2speech/service/IvonaAPIClient.java
Change text limit calculation
<ide><path>rc/main/java/pw/spn/book2speech/service/IvonaAPIClient.java <ide> import com.ivona.services.tts.model.Parameters; <ide> import com.ivona.services.tts.model.Voice; <ide> <del>import pw.spn.book2speech.model.Rate; <ide> import pw.spn.book2speech.model.TransformationOptions; <ide> import pw.spn.book2speech.ser...
Java
bsd-3-clause
828f118f6cf6988b3ae5684cb7981d246fb0155b
0
cmorty/avrora,cmorty/avrora,cmorty/avrora
/** * Copyright (c) 2004-2005, Regents of the University of California * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright ...
src/avrora/sim/mcu/Microcontroller.java
/** * Copyright (c) 2004-2005, Regents of the University of California * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright ...
Suppoort pushing levels to pins
src/avrora/sim/mcu/Microcontroller.java
Suppoort pushing levels to pins
<ide><path>rc/avrora/sim/mcu/Microcontroller.java <ide> * @param o the <code>Output</code> instance to connect to <ide> */ <ide> public void connectOutput(Output o); <add> <add> /** <add> * The <code>setInput()</code> method sets the current level of the pin. This can be...
Java
lgpl-2.1
4d3a7b2592c70a4b5f95ecdcc9dd97244d47c3ed
0
despc/jcommune,Vitalij-Voronkoff/jcommune,CocoJumbo/jcommune,Relvl/jcommune,a-nigredo/jcommune,vps2/jcommune,jtalks-org/jcommune,0x0000-dot-ru/jcommune,illerax/jcommune,CocoJumbo/jcommune,0x0000-dot-ru/jcommune,mihnayan/jcommune,NCNecros/jcommune,mihnayan/jcommune,Noctrunal/jcommune,oatkachenko/jcommune,illerax/jcommun...
/** * Copyright (C) 2011 JTalks.org Team * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * This library ...
jcommune-view/jcommune-web-controller/src/test/java/org/jtalks/jcommune/web/exception/PrettyLogExceptionResolverTest.java
/** * Copyright (C) 2011 JTalks.org Team * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * This library ...
#JC-1212 Fixed unit test (to use MockHttpServletRequest)
jcommune-view/jcommune-web-controller/src/test/java/org/jtalks/jcommune/web/exception/PrettyLogExceptionResolverTest.java
#JC-1212 Fixed unit test (to use MockHttpServletRequest)
<ide><path>commune-view/jcommune-web-controller/src/test/java/org/jtalks/jcommune/web/exception/PrettyLogExceptionResolverTest.java <ide> <ide> import org.apache.commons.logging.Log; <ide> import org.jtalks.jcommune.service.exceptions.NotFoundException; <add>import org.springframework.mock.web.MockHttpServletRequest; ...